summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/regcomp.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2014-10-17 20:19:15 +0000
committermillert <millert@openbsd.org>2014-10-17 20:19:15 +0000
commitbd0fe39ddc63c8b85e07176bee0efd40096a0816 (patch)
tree546dbec1b82c21c9c23a1212ac5ddd8cd862acb3 /lib/libc/regex/regcomp.c
parentUse strlcpy() instead of strncpy() when making a copy of pw_gecos. (diff)
downloadwireguard-openbsd-bd0fe39ddc63c8b85e07176bee0efd40096a0816.tar.xz
wireguard-openbsd-bd0fe39ddc63c8b85e07176bee0efd40096a0816.zip
Instead of doing strvis() of gecos string on output, do it when
storing them in struct person since they are only used for output. Uses reallocarray() for overflow detection. OK deraadt@
Diffstat (limited to 'lib/libc/regex/regcomp.c')
0 files changed, 0 insertions, 0 deletions