From 7215b1f69aad2f12a8bc1e3647eaf0425d45f63b Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 6 Mar 2008 11:42:48 +0100 Subject: Fix an uninitialized variable, Coverity ID 481 (This used to be commit 9e4f576abfdd5605f4db9bb87c22ec68c94ff850) --- source3/libaddns/dnssock.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/libaddns') diff --git a/source3/libaddns/dnssock.c b/source3/libaddns/dnssock.c index 72bbf60d45c..7c8bd418e57 100644 --- a/source3/libaddns/dnssock.c +++ b/source3/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; -- cgit