Wireshark-bugs: [Wireshark-bugs] [Bug 5326] New: column:set(text) Lua API: text string will be r
Date: Thu, 21 Oct 2010 23:31:11 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5326

           Summary: column:set(text) Lua API: text string will be
                    reclaimed by GC
           Product: Wireshark
           Version: 1.4.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: cridlig@xxxxxxxxx


Created an attachment (id=5355)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=5355)
patch column-utils.c

Build Information:
Version 1.2.11

Copyright 1998-2010 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.22.0, (32-bit) with GLib 2.26.0, with libpcap 1.1.1, with
libz 1.2.3.4, with POSIX capabilities (Linux), with libpcre 8.2, with SMI
0.4.8,
with c-ares 1.7.3, with Lua 5.1, with GnuTLS 2.8.6, with Gcrypt 1.4.5, with MIT
Kerberos, with GeoIP, with PortAudio V19-devel (built Aug  3 2010 05:16:18),
without AirPcap.

Running on Linux 2.6.35-22-generic, with libpcap version 1.1.1, GnuTLS 2.8.6,
Gcrypt 1.4.5.

Built using gcc 4.4.5.

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

Check the man page and http://www.wireshark.org for more information.
--
The Lua text string passed to column:set(text) by a dissector will eventually
be reclaimed. This causes the column to display incorrect characters.

The bug was first noticed on version 1.4.1, but also occurs on 1.2 and 1.5

Review attached SVN patch for a possible solution.

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