Add extra NULL check after ssl3_setup_read_buffer()
authortb <tb@openbsd.org>
Fri, 21 Oct 2022 15:48:14 +0000 (15:48 +0000)
committertb <tb@openbsd.org>
Fri, 21 Oct 2022 15:48:14 +0000 (15:48 +0000)
commitdfea2de7acb538bc135eaa1def3f738d1644d053
tree68d90f8af20b9987e8b25304c75d37a67beacdab
parent3fb2197480c345a19f2098d1b787c28b9c717dcb
Add extra NULL check after ssl3_setup_read_buffer()

While ssl3_setup_read_buffer() success alone is enough to imply that
the read bufer is non-NULL, several static analyzers fail to recognize
that and throw fits about possible NULL accesses.

CID 331010

Fix from and ok jsing
lib/libssl/ssl_pkt.c