ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

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