diff options
author | 2013-03-12 15:07:12 +0000 | |
---|---|---|
committer | 2013-03-12 15:07:12 +0000 | |
commit | 0bc28667d0d1fccd3ae9e90402b3533107fc30a8 (patch) | |
tree | e29262251347c62edd7891de32b31a1760674c67 /lib/libc | |
parent | Add check that mkstemp() fails with EINVAL if the string has fewer than (diff) | |
download | wireguard-openbsd-0bc28667d0d1fccd3ae9e90402b3533107fc30a8.tar.xz wireguard-openbsd-0bc28667d0d1fccd3ae9e90402b3533107fc30a8.zip |
Require that the template include at least 6 trailing Xs to match
POSIX mkstemp/mkdtemp. Check before the call to mkstemp/mkdtemp
so we can give a better error message than "invalid argument".
OK deraadt@ jmc@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions