Wireshark-dev: [Wireshark-dev] FW: [Wireshark-commits] rev 52730: /trunk/epan/dissectors/ /trun
From: Anders Broman <[email protected]>
Date: Mon, 21 Oct 2013 13:24:23 +0000
Hi,
>Anders, this may be related to your recent TVB optimizations, since I don't  think it happened before that? Did you change the behaviour of >tvb_find_line_end  or its callees at all?

Not intentionally ;-) 
I just expanded some code inside the function and used tvb_pbrk_guint8_within_tvb() to avoid a repeated call to check_offset_length()

But I may have missed something...
Regards
Anders

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of [email protected]
Sent: den 21 oktober 2013 15:07
To: [email protected]
Subject: [Wireshark-commits] rev 52730: /trunk/epan/dissectors/ /trunk/epan/dissectors/: packet-cdp.c

http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=52730

User: eapache
Date: 2013/10/21 01:07 PM

Log:
 Don't go into a loop if we find a zero-length line. Fixes
 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9312
 
 Anders, this may be related to your recent TVB optimizations, since I don't  think it happened before that? Did you change the behaviour of tvb_find_line_end  or its callees at all?

Directory: /trunk/epan/dissectors/
  Changes    Path            Action
  +1 -0      packet-cdp.c    Modified

___________________________________________________________________________
Sent via:    Wireshark-commits mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-commits
Unsubscribe: https://wireshark.org/mailman/options/wireshark-commits
             mailto:[email protected]?subject=unsubscribe