Fix access zero memory if SSL_DEBUG is enabled
authorPaul Yang <yang.yang@baishancloud.com>
Mon, 26 Nov 2018 08:57:55 +0000 (16:57 +0800)
committerPaul Yang <yang.yang@baishancloud.com>
Tue, 27 Nov 2018 03:26:02 +0000 (11:26 +0800)
commit5a4481f0e0bbf836c7f41805e84617784cb6b1db
treeb3b5cb9c3b8b867759799f836b65c56f44bc24b4
parentf19d20b60fcdfde802f96afa3796f20d0da25eab
Fix access zero memory if SSL_DEBUG is enabled

If compile OpenSSL with SSL_DEBUG macro, some test cases will cause the
process crashed in the debug code.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7707)
ssl/statem/statem_clnt.c
ssl/statem/statem_lib.c