Skip to content
Commit 20223855 authored by Matt Caswell's avatar Matt Caswell
Browse files

Fix dsa_pub_encode



The return value from ASN1_STRING_new() was not being checked which could
lead to a NULL deref in the event of a malloc failure. Also fixed a mem
leak in the error path.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(cherry picked from commit 0c7ca403)
parent 563fc239
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