Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 45175: /trunk/epan/ /trunk/epan/: pr

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 27 Sep 2012 11:38:22 -0700
On Sep 27, 2012, at 9:23 AM, gerald@xxxxxxxxxxxxx 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.