Wireshark-commits: [Wireshark-commits] rev 28850: /trunk/wiretap/ /trunk/wiretap/: pcapng.c

Date: Fri, 26 Jun 2009 15:08:13 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=28850

User: tuexen
Date: 2009/06/26 08:08 AM

Log:
 * Allocate enough memory for reading a packet.
 * Initialize pseudoheader.
 * Add some input validation / protection code.
 * Fix some return values.
 * Clean up some whitespaces.
 
 This fixes Bug 3565. Thanks to Tyson Key how reported
 the issue and provided capture files for debugging.
 
 This fix is scheduled for inclusion in Wireshark 1.2.1
 and higher.

Directory: /trunk/wiretap/
  Changes    Path          Action
  +48 -22    pcapng.c      Modified