Wireshark-commits: [Wireshark-commits] rev 27946: /trunk/epan/ /trunk/epan/: tvbuff.c

Date: Fri, 03 Apr 2009 17:04:46 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=27946

User: guy
Date: 2009/04/03 10:04 AM

Log:
 Don't support a length of -1 meaning "to the end of the tvbuff" in
 tvb_memcpy(); I changed the one tvb_memcpy() call that was explicitly
 depending on that not to do so.  This is a small step towards getting
 rid of the "-1 means to end of tvbuff" convention, support for which
 requires us to do a bunch of extra checks where, for example, a protocol
 has a 32-bit unsigned length field; it also gets rid of a warning about
 comparing an unsigned value with a signed value.

Directory: /trunk/epan/
  Changes    Path          Action
  +12 -1     tvbuff.c      Modified