diff options
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/net/res_send.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/net/res_send.c b/lib/libc/net/res_send.c index 15f2a13..9cf47ac 100644 --- a/lib/libc/net/res_send.c +++ b/lib/libc/net/res_send.c @@ -665,6 +665,7 @@ read_len: pfd.fd = s; pfd.events = POLLIN; if (use_poll == 1) { + bzero(&sa, sizeof(sa)); sigemptyset(&sa.sa_mask); sa.sa_flags = 0; sa.sa_handler = SIG_IGN; |