]> granicus.if.org Git - openssl/commit
Add sanity check to ssl_get_prev_session
authorMatt Caswell <matt@openssl.org>
Tue, 28 Apr 2015 14:28:23 +0000 (15:28 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 30 Apr 2015 22:12:39 +0000 (23:12 +0100)
commitcb0f400b0cea2d2943f99b1e89c04ff6ed748cd5
treefd42bbb109132bccf101826d57c6e574f7dc9e90
parentc427570e5098e120cbcb66e799f85c317aac7b91
Add sanity check to ssl_get_prev_session

Sanity check the |len| parameter to ensure it is positive. Thanks to Kevin
Wojtysiak (Int3 Solutions) and Paramjot Oberoi (Int3 Solutions) for
reporting this issue.

Reviewed-by: Andy Polyakov <appro@openssl.org>
ssl/ssl_sess.c