summaryrefslogtreecommitdiff
path: root/security/krb5-17/files/patch-lib-krb5-os-dnsglue.c
blob: 756d0428913387f366c33891e3bb1f8c99f44b26 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- lib/krb5/os/dnsglue.c.orig	Sat Sep 16 22:57:46 2006
+++ lib/krb5/os/dnsglue.c	Sat Sep 16 22:58:25 2006
@@ -100,6 +100,7 @@
 #endif
 
 #if USE_RES_NINIT
+    memset(&statbuf, 0, sizeof statbuf);
     ret = res_ninit(&statbuf);
 #else
     ret = res_init();