summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authorjsing <>2021-09-23 15:49:48 +0000
committerjsing <>2021-09-23 15:49:48 +0000
commitbb080a758b26689122e28d80215b720e5058a6ec (patch)
tree668d7fc9b9f7b69884289a083e0fe9bde29cac9b /src/lib/libc
parentedfd994450b5e0617f6ab9d30f8e083f90bc3f86 (diff)
downloadopenbsd-bb080a758b26689122e28d80215b720e5058a6ec.tar.gz
openbsd-bb080a758b26689122e28d80215b720e5058a6ec.tar.bz2
openbsd-bb080a758b26689122e28d80215b720e5058a6ec.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/lib/libc')
0 files changed, 0 insertions, 0 deletions