Wireshark-bugs: [Wireshark-bugs] [Bug 2675] segmentation fault loading trace containing NCP pack

Date: Thu, 24 Jul 2008 22:19:07 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2675





--- Comment #16 from Bill Meier <wmeier@xxxxxxxxxxx>  2008-07-24 22:19:06 PDT ---
(In reply to comment #14)
> 
> The attached patch modifies get_string() to return an ep_allocated buffer
> instead of depending on the caller to provide a preallocated buffer. It also
> removes the nw_uni_t data type, since it's no longer needed.
> 

I've tested the patch using the capture file provided by Thomas.

The capture no longer segfaults (on Linux) while reading the file.

Unfortunately, if I force a redisplay (such as by changing a protocol
preference), I eventually get another segfault. I suspect that the segfault is
not related to the original one but I ran out of time tonight to dig further.


Hopefully it'll be OK to attach the trace so others can dig further.

In any case I expect to be able to work on this on the weekend.


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