summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/sys/t_fork.c
diff options
context:
space:
mode:
authorjsing <>2021-09-23 15:49:48 +0000
committerjsing <>2021-09-23 15:49:48 +0000
commitd0a893e8e1ffc5aeba0c0a26575d32e25cbf2e17 (patch)
tree668d7fc9b9f7b69884289a083e0fe9bde29cac9b /src/regress/lib/libc/sys/t_fork.c
parent4c2a2608d06b8777bd986d4274ee56714a9844d4 (diff)
downloadopenbsd-d0a893e8e1ffc5aeba0c0a26575d32e25cbf2e17.tar.gz
openbsd-d0a893e8e1ffc5aeba0c0a26575d32e25cbf2e17.tar.bz2
openbsd-d0a893e8e1ffc5aeba0c0a26575d32e25cbf2e17.zip
Avoid a potential overread in x509_constraints_parse_mailbox()
The length checks need to be >= rather than > in order to ensure the string remains NUL terminated. While here consistently check wi before using it so we have the same idiom throughout this function. Issue reported by GoldBinocle on GitHub. ok deraadt@ tb@
Diffstat (limited to 'src/regress/lib/libc/sys/t_fork.c')
0 files changed, 0 insertions, 0 deletions