[Repository Listing] / [Wireshark]
Wireshark development

We've moved to Git

On January 28, 2014 we migrated from Subversion to Git. Please go to our code review site for current development activity.

Revision 49673

Jump to revision: Previous Next
Author: guy
Date: Sat Jun 1 06:48:37 2013 UTC (3 years, 1 month ago)
Log Message:
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.

Changed paths

Path Action
trunk/epan/filesystem.c trunk/epan/filesystem.c modified Revision Log
Diff to Previous
trunk/wiretap/netmon.c trunk/wiretap/netmon.c modified Rev…

webmaster [at] wireshark.org
Tango Icons © Tango Desktop Project. Subversion  TortoiseSVN  ViewVC