git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe882a5
)
Fix an uninitialized variable, Coverity ID 481
author
Volker Lendecke
<vl@samba.org>
Thu, 6 Mar 2008 10:42:48 +0000
(11:42 +0100)
committer
Volker Lendecke
<vl@samba.org>
Thu, 6 Mar 2008 10:47:31 +0000
(11:47 +0100)
source/libaddns/dnssock.c
patch
|
blob
|
history
diff --git
a/source/libaddns/dnssock.c
b/source/libaddns/dnssock.c
index 72bbf60d45c6c03dd0ab4e5df7783eb6a2a897e8..7c8bd418e5765e5dc97ccd3e85a1c0dfb8aca1f9 100644
(file)
--- a/
source/libaddns/dnssock.c
+++ b/
source/libaddns/dnssock.c
@@
-118,6
+118,7
@@
static DNS_ERROR dns_udp_open( const char *nameserver,
the receiver (in this example case "123.456.789.1")
and the specified port number. */
+ ZERO_STRUCT(RecvAddr);
RecvAddr.sin_family = AF_INET;
RecvAddr.sin_port = htons( DNS_UDP_PORT );
RecvAddr.sin_addr.s_addr = ulAddress;