Wireshark-bugs: [Wireshark-bugs] [Bug 6201] Buildbot crash output: fuzz-2011-08-03-24593.pcap

Date: Thu, 4 Aug 2011 08:38:37 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6201

--- Comment #2 from Chris Maynard <christopher.maynard@xxxxxxxxx> 2011-08-04 08:38:36 PDT ---
This bug is due to an infinite loop in the opensafety dissector in
opensafety_package_dissector().  Relevant code snippets:

opensafety_package_dissector() {

    while ( frameOffset < length )
    {
            if ( ... )
            else if ( ... )
            else if ( ... )
            else if ( ... )
            else
            {
                if ( b_frame2First )
                {
                } else
                    continue;              <= Line 1334
            }

        frameOffset += frameLength;
    }
}

So basically at line 1334, code execution jumps back to the while test, but
frameOffset hasn't been incremented and from this point on never is, so the
while loop executes forever since the condition is always true.

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