diff options
author | bonniegong <46280630+bonniegong@users.noreply.github.com> | 2021-04-12 10:43:13 +0800 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-05-14 10:13:53 +1000 |
commit | c65abf2213117eb5348a46fbc18f706aca052e85 (patch) | |
tree | 77e082d5863f0ece9df26197890a0a63f28ff95a /Configure | |
parent | c4005c8b84f35196a4c455f2e8a5aecfa88372e5 (diff) | |
download | openssl-new-c65abf2213117eb5348a46fbc18f706aca052e85.tar.gz |
check i2d_ASN1_TYPE return value
add a length check to the return value of function i2d_ASN1_TYPE. Return an error instead of trying to malloc a negative number.
CLA: trivial
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14828)
Diffstat (limited to 'Configure')
0 files changed, 0 insertions, 0 deletions