Wireshark-commits: [Wireshark-commits] rev 36503: /trunk/ /trunk/: tap-icmpstat.c
Date: Wed, 06 Apr 2011 22:51:29 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=36503

User: sfisher
Date: 2011/04/06 03:51 PM

Log:
 Fix Coverity 1181: REVERSE_INULL & improve code:
 
  - Use g_try_malloc0() instead of g_malloc0() since the latter will
    fail and abort the program.  Leave the NULL return check.
  - Don't dereference pointer before checking that it's valid.

Directory: /trunk/
  Changes    Path              Action
  +4 -2      tap-icmpstat.c    Modified