Wireshark-commits: [Wireshark-commits] rev 49697: /trunk/wiretap/ /trunk/wiretap/: netmon.c

Date: Sun, 02 Jun 2013 18:09:13 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=49697

User: guy
Date: 2013/06/02 11:09 AM

Log:
 Initialize the frame_table_size field of the private data to 0 and the
 frame_table field to NULL before trying to allocate the frame table, so
 that if we fail before we allocate the frame table, the attempt to free
 the private data doesn't crash due to the frame_table field containing a
 bogus pointer.

Directory: /trunk/wiretap/
  Changes    Path          Action
  +9 -0      netmon.c      Modified