Wireshark-bugs: [Wireshark-bugs] [Bug 2453] New: segmentation fault with wslua script

Date: Sat, 12 Apr 2008 01:06:55 -0700 (PDT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2453

           Summary: segmentation fault with wslua script
           Product: Wireshark
           Version: 1.0.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Critical
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: nm127@xxxxxxxxxxx


Created an attachment (id=1676)
 --> (http://bugs.wireshark.org/bugzilla/attachment.cgi?id=1676)
a wslua dissector

Build Information:
Version 1.0.0

Copyright 1998-2008 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.12.9, with GLib 2.16.1, with libpcap 0.9.8, with libz
1.2.3.3, with POSIX capabilities (Linux), with libpcre 7.6, without SMI, with
ADNS, with Lua 5.1, with GnuTLS 2.2.2, with Gcrypt 1.4.0, with MIT Kerberos,
with PortAudio V19-devel (built Oct 25 2007), without AirPcap.

Running on Linux 2.6.23, with libpcap version 0.9.8.

Built using gcc 4.2.3 (Debian 4.2.3-3).

Wireshark is Open Source Software released under the GNU General Public
License.

Check the man page and http://www.wireshark.org for more information.
--
With a wslua dissector Wireshark crashes with segmentation fault.

How to reproduce:
1. Save the attached test_dissector.lua
2. Save the attached test.pcap
3. Enable wslua by commenting out the "disable_lua ..." line in init.lua
4. Add the 'dofile("/path/to/test_dissector.lua")' line at the end of the
init.lua script
5. Start Wireshark with "wireshark test.pcap"

Current result:
Wireshark chrashes most of the time with segmentation fault.

Expected result:
Wireshark starts; loads and displays the test.pcap


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.