diff options
author | mdodd <mdodd@FreeBSD.org> | 2002-09-30 09:18:54 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2002-09-30 09:18:54 +0000 |
commit | 8d50af2b05bf4baa3dc6346b0a7800cff155def2 (patch) | |
tree | 38b7514d7312dcc6cc01bab139214bb2f78ad2f7 | |
parent | a06b999e8487dcf7abcf965d6911b5d885dec6a2 (diff) | |
download | FreeBSD-src-8d50af2b05bf4baa3dc6346b0a7800cff155def2.zip FreeBSD-src-8d50af2b05bf4baa3dc6346b0a7800cff155def2.tar.gz |
bzero() allocations.
-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 |