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 9999] Buildbot crash output: randpkt-2014-04-17-16318.pcap

Date: Tue, 22 Apr 2014 20:28:51 +0000

Comment # 7 on bug 9999 from
I can hit the same assertion as the buildbot after turning off optimization in
epan (vi epan/Makefile, remove "-O" and "-D_FORTIFY_SOURCE" or whatever).

The difference between master and master-1.10 is because tvb_length_remaining()
no longer returns -1 if the offset is out of bounds in master thanks tor52571:

~~~
If the offset is out of bounds, have tvb_length_remaining() and
tvb_reported_length_remaining() return 0 instead of -1.  This should provide a
better long-term fix for bugs/problems such as seen in
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9263.  In the long-run, if
we like this behavior, we can change the return value to a guint as well. 
Let's let it simmer for awhile first ...
~~~

Now...  What to do about this is another question.  For a bit later (I'm out of
time for now).


You are receiving this mail because:
  • You are watching all bug changes.