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 6378] AFP dissector: Buildbot crash output: fuzz-2011-09-2

Date: Sun, 2 Oct 2011 01:16:29 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6378

--- Comment #9 from Guy Harris <guy@xxxxxxxxxxxx> 2011-10-02 01:16:25 PDT ---
I'm inferring from the dissector code that the protocol does run-length
encoding of a sequence of nulls.  Given that, and given that the run length can
be Really Big, the right way to fix this is probably to run-length encode a
sequence of nulls in the protocol tree, i.e. instead of expanding the sequence
with one protocol tree entry per null, just show an "N null{s}" item.

I've checked that in as revision 39210, along with some other sanity checks.

There should also be checks, before subtracting values from "count", that
what's being subtracted is <= "count", so I'm not closing the bug yet.

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