summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib
diff options
context:
space:
mode:
authorderaadt <>2021-09-26 14:07:09 +0000
committerderaadt <>2021-09-26 14:07:09 +0000
commit72c91ffe59378f4b690c1fd772fcbec9722bf30d (patch)
tree9a5c4bb124b8307001aa26f467fdb657d3f47c6e /src/lib/libc/stdlib
parenta0edaa1df7ef2c86291fda512c1ac0b4bee8b545 (diff)
downloadopenbsd-72c91ffe59378f4b690c1fd772fcbec9722bf30d.tar.gz
openbsd-72c91ffe59378f4b690c1fd772fcbec9722bf30d.tar.bz2
openbsd-72c91ffe59378f4b690c1fd772fcbec9722bf30d.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.8 errata 031
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions