<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 08/27/2014 10:09 AM, Lukas Slebodnik
wrote:<br>
</div>
<blockquote cite="mid:20140827080920.GB18203@mail.corp.redhat.com"
type="cite">
<pre wrap="">ehlo,
warning reported by coverity
patch is attached
LS
</pre>
</blockquote>
As I understand the code there is no way that 0 could be passed as
second argument to the realloc call, right? Because that would lead
to freeing same memory twice.<br>
<br>
Would it be more defensive approach to test for zero argument
explicitly? What do you think Lukas?<br>
<br>
Thanks!<br>
<br>
<blockquote cite="mid:20140827080920.GB18203@mail.corp.redhat.com"
type="cite">
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
sssd-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sssd-devel@lists.fedorahosted.org">sssd-devel@lists.fedorahosted.org</a>
<a class="moz-txt-link-freetext" href="https://lists.fedorahosted.org/mailman/listinfo/sssd-devel">https://lists.fedorahosted.org/mailman/listinfo/sssd-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>