ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 5374] New: Crash with "Gtk-ERROR **: Byte index 6 is off t

Date: Fri, 5 Nov 2010 16:36:10 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5374

           Summary: Crash with "Gtk-ERROR **: Byte index 6 is off the end
                    of the line"
           Product: Wireshark
           Version: SVN
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Blocker
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: format_c@xxxxxxxxx


Created an attachment (id=5433)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=5433)
Patch that fixes overflowing highlighting of data

Build Information:
wireshark 1.5.0 (SVN Rev 34792 from /trunk)

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 (32-bit) with GTK+ 2.12.12, with GLib 2.16.6, with libpcap 0.9.8, with
libz 1.2.3.3, without POSIX capabilities, without libpcre, without SMI, without
c-ares, without ADNS, without Lua, without Python, with GnuTLS 2.4.2, with
Gcrypt 1.4.1, without Kerberos, without GeoIP, without PortAudio, without
AirPcap.

Running on Linux 2.6.34.1, with libpcap version 0.9.8, with libz 1.2.3.3,
GnuTLS
2.4.2, Gcrypt 1.4.1.

Built using gcc 4.3.2.

--
I've seen several bugs that end up in the same error. Those bugs are mostly
caused by lazy subdissectors calculating the length of the actual data. The
function that ties to highlight those bytes in the data frame have not a
sufficiant check of the actual length available.

This bug addresses the stability of those callbacks regardless the lazyness of
current or future subdissectors.

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