git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2b2a93
)
Fix Coverity ID 567
author
Volker Lendecke
<vl@samba.org>
Sun, 16 Mar 2008 19:23:44 +0000
(12:23 -0700)
committer
Jeremy Allison
<jra@samba.org>
Sun, 16 Mar 2008 19:23:44 +0000
(12:23 -0700)
Jeremy, please push it if you like it and mark the bug as fixed on the Coverity
site.
Thanks,
Volker
source/lib/util_sock.c
patch
|
blob
|
history
diff --git
a/source/lib/util_sock.c
b/source/lib/util_sock.c
index 2a659438720eead69f56bc9fedef0725b65079b3..65625138ba38789cb73f7da521fa91ff183b921b 100644
(file)
--- 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;
}