[stunnel-users] fix resource leaks and potential null
Bing H Bang
bingb at tcsaa.com
Tue Feb 5 20:00:48 CET 2013
Doesn't matter if the variable is used before being assigned a value or
not. A variable of this import should always be given a default value at
the time of declaration. End of story. Arguing about whether its use is
before or after it is assigned a value is just silly.
On 2/5/2013 1:41 PM, Brian Wilkins wrote:
> It's a variable that points to null, this is a valid check to see if
> the pointer is null. Coverity is showing a false positive.
> On Feb 5, 2013 1:10 PM, "Arthur Mesh" <arthurmesh at gmail.com
> <mailto:arthurmesh at gmail.com>> wrote:
> On Tue, Feb 05, 2013 at 12:57:47PM -0500, Brian Wilkins wrote:
> > No matter..this is the right way to check if a pointer is null in C.
> Yes, but you can't check for a value of an uninitialized variable.
> stunnel-users mailing list
> stunnel-users at stunnel.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the stunnel-users