Wireshark-commits: [Wireshark-commits] rev 42032: /trunk/epan/ /trunk/epan/: tvbuff.c
Date: Thu, 12 Apr 2012 05:36:26 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=42032

User: etxrab
Date: 2012/04/11 10:36 PM

Log:
 From Martin Kaiser: CID 525 is about tvb_new_octet_aligned(). datalen can be negative or 0 when ep_alloc0(datalen) is called. If this happens, it's because of a dissector not checking the bit_offset, I think a DISSECTOR_ASSERT() is ok for fixing this. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7068

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