mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-30 08:19:09 +00:00
bzero() allocations.
This commit is contained in:
parent
492e1546ef
commit
5178083080
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104199
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user