Wireshark-bugs: [Wireshark-bugs] [Bug 6510] Harden buffer_assure_space to avoid integer overflow
Date: Fri, 28 Oct 2011 01:48:43 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6510

--- Comment #2 from Huzaifa Sidhpurwala <huzaifas@xxxxxxxxxx> 2011-10-28 01:48:40 PDT ---
This is a second line of defence, against anyone forgetting to check the size
of the packets.

If you see r39508 (this is a possible buffer-overflow issue i found). Here the
packet_size was checked for maximum, but not for zero, which caused a buffer
overflow.

Having a second line of defence in buffer_assure_space, prevents such common
errors.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.