1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-30 08:19:09 +00:00

bzero() allocations.

This commit is contained in:
Matthew N. Dodd 2002-09-30 09:18:54 +00:00
parent 492e1546ef
commit 5178083080
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104199

View File

@ -109,6 +109,7 @@ do_info_ioctl(req, buf_len)
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