summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/seed48.c
diff options
context:
space:
mode:
authoryasuoka <yasuoka@openbsd.org>2015-08-27 01:02:35 +0000
committeryasuoka <yasuoka@openbsd.org>2015-08-27 01:02:35 +0000
commit798f02ae498065660419d3caef594a6e481e173b (patch)
treef2045d662a816bb0a71312e4904021138da30768 /lib/libc/stdlib/seed48.c
parentSimple size for free(). These are a pleasure to convert when the (diff)
downloadwireguard-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