diff options
author | 2015-08-27 01:02:35 +0000 | |
---|---|---|
committer | 2015-08-27 01:02:35 +0000 | |
commit | 798f02ae498065660419d3caef594a6e481e173b (patch) | |
tree | f2045d662a816bb0a71312e4904021138da30768 /lib/libc/stdlib/seed48.c | |
parent | Simple size for free(). These are a pleasure to convert when the (diff) | |
download | wireguard-openbsd-798f02ae498065660419d3caef594a6e481e173b.tar.xz wireguard-openbsd-798f02ae498065660419d3caef594a6e481e173b.zip |
Add a boundary check for safety and use snprintf() to construct the IP
address strings instead of strl{cpy,cat}(). Also make the function
return a valid string even in failure case.
input deraadt
ok deraadt
Diffstat (limited to 'lib/libc/stdlib/seed48.c')
0 files changed, 0 insertions, 0 deletions