summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/bzero.c
diff options
context:
space:
mode:
authortb <>2026-05-09 14:16:37 +0000
committertb <>2026-05-09 14:16:37 +0000
commitc6489249a3c1cf02630823f8d56d7b0e1c77d25e (patch)
tree7bfb635154eb819567b53406cf4a4145d9d8986f /src/lib/libc/string/bzero.c
parenteb7b0089a32bfe0cc25aea8748f4b35f315d31a7 (diff)
downloadopenbsd-c6489249a3c1cf02630823f8d56d7b0e1c77d25e.tar.gz
openbsd-c6489249a3c1cf02630823f8d56d7b0e1c77d25e.tar.bz2
openbsd-c6489249a3c1cf02630823f8d56d7b0e1c77d25e.zip
openssl s_client: avoid two out of bounds writes
A NUL termination after an unchecked BIO_read() call in XMSS mode could lead to a write one byte before the start of sbuf or one past its end. Add an error check to avoid the former and read one byte less to avoid the latter. Found by Frank Denis
Diffstat (limited to 'src/lib/libc/string/bzero.c')
0 files changed, 0 insertions, 0 deletions