Commit ec8f246e authored by Matt Caswell's avatar Matt Caswell
Browse files

Fix a double free in tls1_setup_key_block



If p2 == NULL then p1 can get freed twice and a crash could occur.

Issue reported by Shi Lei (Qihoo 360 Inc)

Reviewed-by: default avatarViktor Dukhovni <viktor@openssl.org>
parent b1d7eaac
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment