Wireshark mailing list archives

Re: [Wireshark-commits] rev 45175: /trunk/epan/ /trunk/epan/: prefs.c


From: Guy Harris <guy () alum mit edu>
Date: Thu, 27 Sep 2012 11:38:22 -0700


On Sep 27, 2012, at 9:23 AM, gerald () wireshark org wrote:

http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=45175

User: gerald
Date: 2012/09/27 09:23 AM

Log:
Don't pass a null pointer to strcmp.

Is it ever possible that *pref->varp.string is null but value is non-null?  If so, presumably that case should be 
treated as "unequal", just like the case where neither is null and strcmp() returns a non-zero value.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: