Wireshark-bugs: [Wireshark-bugs] [Bug 1513] Wrong length for tvb_memcpy in packet-bthci_acl.c

Date: Tue, 10 Apr 2007 15:03:37 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1513





------- Comment #4 from jeff.morriss@xxxxxxxxxxx  2007-04-10 15:03 GMT -------
(In reply to comment #3)
> What if the capture size was limited? Could then tvb_length_remaining() be
> smaller then l2cap_length+4?
> Valgrind warned about the other way around, so this code should take both
> situations into account.

What's wrong with copying 10 bytes into a 100 byte buffer?


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.