http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=45455
User: guy
Date: 2012/10/10 12:50 PM
Log:
Based on patch from Bill Parker, check for ws_fopen() failing.
The rest of the code already checks for namelist being null, so it's OK
to call build_tree_view() - and it may be necessary to do so, as the
code below might assume that's worked.
However, we should not call fclose() on namelist if it's null; the C89
standard, at least, does *not* assert that fclose(NULL) is a no-op.
Clean up indentation a little bit.
Last part of fix for bug 7824.
Directory: /trunk/plugins/asn1/
Changes Path Action
+10 -6 packet-asn1.c Modified