Wireshark-bugs: [Wireshark-bugs] [Bug 6809] Hang loading pcap file

Date: Fri, 10 Feb 2012 23:14:57 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6809

Guy Harris <guy@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
           Platform|x86                         |All
         Resolution|                            |FIXED
         OS/Version|Windows 7                   |All

--- Comment #2 from Guy Harris <guy@xxxxxxxxxxxx> 2012-02-10 23:14:50 PST ---
A loop was doing

    guint16 i, count;

    for (i = 1; i <= count; i++)
        ...

which, if count = 65535, will never terminate (as a guint16 is always <=
65535).  I fixed that, and some other such loops with 16-bit counters, in rev
40967, and will schedule that for  the 1.6.x branch.

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