samba-cvs.cvs
[Top] [All Lists]

svn commit: samba r14328 - in trunk/source/client: .

Subject: svn commit: samba r14328 - in trunk/source/client: .
From:
Date: Mon, 13 Mar 2006 17:10:59 +0000 GMT
Author: sfrench
Date: 2006-03-13 17:10:58 +0000 (Mon, 13 Mar 2006)
New Revision: 14328

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14328

Log:
Missing one coverity fix in trunk (clitar was missing a free in an error path
of getting the longname).


Modified:
   trunk/source/client/clitar.c


Changeset:
Modified: trunk/source/client/clitar.c
===================================================================
--- trunk/source/client/clitar.c        2006-03-13 16:32:44 UTC (rev 14327)
+++ trunk/source/client/clitar.c        2006-03-13 17:10:58 UTC (rev 14328)
@@ -1079,6 +1079,7 @@
        while (left > 0) {
                if (next_block(tarbuf, &buffer_p, tbufsiz) <= 0) {
                        DEBUG(0, ("Empty file, short tar file, or read error: 
%s\n", strerror(errno)));
+                       SAFE_FREE(longname);
                        return(NULL);
                }
 

<Prev in Thread] Current Thread [Next in Thread>
  • svn commit: samba r14328 - in trunk/source/client: ., sfrench <=