Wireshark-commits: [Wireshark-commits] rev 49673: /trunk/ /trunk/epan/: filesystem.c /trunk/wiretap
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=49673
User: guy
Date: 2013/05/31 11:48 PM
Log:
When allocating the frame table for a NetMon file, use g_try_malloc(),
and fail with ENOMEM if that fails (and the frame table is not empty -
g_try_malloc() will return NULL if you ask it to allocate zero bytes).
Have an error message for ENOMEM on an open that attempts to tell the
user what the problem is without making their head explode.
Directory: /trunk/epan/
Changes Path Action
+43 -0 filesystem.c Modified
Directory: /trunk/wiretap/
Changes Path Action
+5 -1 netmon.c Modified