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 5051] Patch to packet_bacapp.c

Date: Mon, 26 Jul 2010 12:41:49 -0700 (PDT)
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.