Wireshark-bugs: [Wireshark-bugs] [Bug 1001] free() invalid pointer in dissect_802_3 at packet-ie
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1001
------- Comment #12 from gentoo-a7x@xxxxxxxxxxxxxxx 2006-07-28 11:21 GMT -------
(In reply to comment #8)
> Something to note: The definition of ENDTRY has a line calling
> except_free(except_ch.except_obj.except_dyndata). According to the gdb
> backtrace, that value being passed is 0x0. Yet except_free() is reporting
> that the pointer it was passed is 0xbfb53db8. I wonder if I should just chalk
> this up to another case of gdb strangeness...
I inserted the following line at epan/dissectors/packet-ieee8023.c line 71:
fprintf(stderr, "(%s line %i) except_ch.except_obj.except_dyndata is %p\n",
__FILE__, __LINE__, except_ch.except_obj.except_dyndata);
and got the following output:
(packet-ieee8023.c line 71) except_ch.except_obj.except_dyndata is 0xbf852f88
(except.c line 372) ptr is 0xbf852f88
*** glibc detected *** free(): invalid pointer: 0xbf852f88 ***
Aborted (core dumped)
The gdb backtrace showed 0x0, so it looks like the mismatch is a gdb problem.
--
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.