Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 1965] New: playing around with lua dissector

Date: Wed, 31 Oct 2007 13:24:04 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1965

           Summary: playing around with lua dissector
           Product: Wireshark
           Version: 0.99.6
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: david.maciejak@xxxxxxxxx


Build Information:
wireshark 0.99.6

Copyright 1998-2007 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.0, with GLib 2.14.1, with libpcap 0.9.5, with libz
1.2.3.3, with libpcre 7.2, without Net-SNMP, with ADNS, without Lua, with
GnuTLS
1.6.3, with Gcrypt 1.2.4, with MIT Kerberos, with PortAudio <= V18, without
AirPcap.

Running on Linux 2.6.22-14-generic, with libpcap version 0.9.5.

Built using gcc 4.1.3 20070831 (prerelease) (Ubuntu 4.1.2-16ubuntu1).

--
Seems that I have trouble using this language, but I dont think it s only due
to me :)

in epan/wslua/wslua_tvb.c

there is a copy/paste issue in WSLUA_METHOD ByteArray_append(lua_State* L)
-> need to replace prepend() to append()

the WSLUA_METHOD ByteArray_set_size(lua_State* L) does not zeroed the bytes
added as it is said in the doc

Regards,
david


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