[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-253-g2fd2542

Jeremy Allison jra at samba.org
Sun Mar 16 19:24:17 GMT 2008


The branch, v3-2-test has been updated
       via  2fd25423700cb60f20a8b8d6613279cb06fb518d (commit)
      from  c2b2a9303d9c84ba4e059f13de9ccc401d08bd59 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 2fd25423700cb60f20a8b8d6613279cb06fb518d
Author: Volker Lendecke <vl at samba.org>
Date:   Sun Mar 16 12:23:44 2008 -0700

    Fix Coverity ID 567
    
    Jeremy, please push it if you like it and mark the bug as fixed on the Coverity
    site.
    
    Thanks,
    
    Volker

-----------------------------------------------------------------------

Summary of changes:
 source/lib/util_sock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/lib/util_sock.c b/source/lib/util_sock.c
index 2a65943..6562513 100644
--- a/source/lib/util_sock.c
+++ b/source/lib/util_sock.c
@@ -63,7 +63,7 @@ bool is_ipaddress(const char *str)
 					sizeof(addr)));
 			sp = addr;
 		}
-		ret = inet_pton(AF_INET6, addr, &dest6);
+		ret = inet_pton(AF_INET6, sp, &dest6);
 		if (ret > 0) {
 			return true;
 		}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list