Add a length check before NUL-terminating target. From Jonas Termansen.
authortb <tb@openbsd.org>
Sat, 23 Oct 2021 08:13:48 +0000 (08:13 +0000)
committertb <tb@openbsd.org>
Sat, 23 Oct 2021 08:13:48 +0000 (08:13 +0000)
commit3b269dc8e50b40cf1975d35094377edefa8a41b1
tree74683e1a606e43a0233ae9b1ef12524ee21d9c28
parent18631d238e17cbab753053e191bc71df71874ad6
Add a length check before NUL-terminating target.  From Jonas Termansen.

ok jsing
usr.bin/openssl/certhash.c