summaryrefslogtreecommitdiff
path: root/src/usr.sbin
diff options
context:
space:
mode:
authorderaadt <>2021-09-26 14:07:40 +0000
committerderaadt <>2021-09-26 14:07:40 +0000
commit71ee60208e7da700113aed24c8957fec0f0095f1 (patch)
tree9549f82f9aa908ae07cf2612c948834b81361f30 /src/usr.sbin
parent579643e8e2c726a7d57fe62581d5fcf83031e14b (diff)
downloadopenbsd-71ee60208e7da700113aed24c8957fec0f0095f1.tar.gz
openbsd-71ee60208e7da700113aed24c8957fec0f0095f1.tar.bz2
openbsd-71ee60208e7da700113aed24c8957fec0f0095f1.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/usr.sbin')
0 files changed, 0 insertions, 0 deletions