diff options
-rw-r--r-- | lib/libatm/ioctl_subr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libatm/ioctl_subr.c b/lib/libatm/ioctl_subr.c index 08968d3..bc600f2 100644 --- a/lib/libatm/ioctl_subr.c +++ b/lib/libatm/ioctl_subr.c @@ -109,6 +109,7 @@ mem_retry: errno = ENOMEM; return(-1); } + bzero(buf, buf_len); /* * Set the buffer address and length in the request @@ -331,6 +332,7 @@ verify_nif_name(name) errno = ENOMEM; return(-1); } + bzero(nif_info, sizeof(struct air_netif_rsp)); /* * Set up the request |