mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 02:22:43 +00:00
Whack this code with the Blessed Wand of Stack Protection.
MFC After: 1 week
This commit is contained in:
parent
5455cc1ae9
commit
e936510703
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81312
@ -95,7 +95,7 @@ ray_getval(char *iface, struct ray_param_req *rreq)
|
||||
|
||||
bzero((char *)&ifr, sizeof(ifr));
|
||||
|
||||
strcpy(ifr.ifr_name, iface);
|
||||
strlcpy(ifr.ifr_name, iface, IFNAMSIZ);
|
||||
ifr.ifr_data = (caddr_t)rreq;
|
||||
|
||||
s = socket(AF_INET, SOCK_DGRAM, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user