summaryrefslogtreecommitdiff
path: root/src/lib/libc/include/DETAILS
diff options
context:
space:
mode:
authorderaadt <>2021-09-26 14:07:40 +0000
committerderaadt <>2021-09-26 14:07:40 +0000
commit35f8ef07a93e59616eb96dc41d4f8e6a21a6319b (patch)
tree9549f82f9aa908ae07cf2612c948834b81361f30 /src/lib/libc/include/DETAILS
parent3627e057ddf00759d5985e80a8bb317a1b071a4a (diff)
downloadopenbsd-35f8ef07a93e59616eb96dc41d4f8e6a21a6319b.tar.gz
openbsd-35f8ef07a93e59616eb96dc41d4f8e6a21a6319b.tar.bz2
openbsd-35f8ef07a93e59616eb96dc41d4f8e6a21a6319b.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@ this is 6.9 errata 017
Diffstat (limited to 'src/lib/libc/include/DETAILS')
0 files changed, 0 insertions, 0 deletions