<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
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.<br>
<br>
<div class="moz-cite-prefix">On 2/5/2013 1:41 PM, Brian Wilkins
wrote:<br>
</div>
<blockquote
cite="mid:CAO_Eq30GcGO5SThdUAprq8=F5Vq7ohVN2O2g3k_Hv_ScwkLjMQ@mail.gmail.com"
type="cite">
<p>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.</p>
<div class="gmail_quote">On Feb 5, 2013 1:10 PM, "Arthur Mesh"
<<a moz-do-not-send="true" href="mailto:arthurmesh@gmail.com">arthurmesh@gmail.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
On Tue, Feb 05, 2013 at 12:57:47PM -0500, Brian Wilkins wrote:<br>
> No matter..this is the right way to check if a pointer is
null in C.<br>
> <a moz-do-not-send="true"
href="http://stackoverflow.com/questions/7970617/how-can-i-check-if-char-variable-points-to-empty-string"
target="_blank">http://stackoverflow.com/questions/7970617/how-can-i-check-if-char-variable-points-to-empty-string</a><br>
<br>
Yes, but you can't check for a value of an uninitialized
variable.<br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
stunnel-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:stunnel-users@stunnel.org">stunnel-users@stunnel.org</a>
<a class="moz-txt-link-freetext" href="https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users">https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users</a>
</pre>
</blockquote>
<br>
</body>
</html>