https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5051
--- Comment #1 from Bill Meier <wmeier@xxxxxxxxxxx> 2010-07-26 15:41:48 EDT ---
After a quick look:
I agree that body of the loops are not executed when offset == 0 and there's
data remaining.
However: The patch you propose will execute the body of each loop even if
there's no "length_remaining".
That doesn't seem right.
How about something like:
while(length_remaining > 0) {
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.