Wireshark-commits: [Wireshark-commits] rev 24555: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Tue, 04 Mar 2008 20:11:54 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=24555

User: morriss
Date: 2008/03/04 08:11 PM

Log:
 Fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2331 : Replace match_strval() with val_to_str() returning "Unknown" if no match was found.  This prevents us from passing a NULL pointer (which should replace a %s in the format string) which was causing g_vsnprintf() to core (at least on Solaris and, apparently, Windows).

Directory: /trunk/epan/dissectors/
  Changes    Path                Action
  +15 -16    packet-roofnet.c    Modified