Fix a possible integer overflow in long_c2i
authorMatt Caswell <matt@openssl.org>
Mon, 27 Mar 2017 15:11:11 +0000 (16:11 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 4 Apr 2017 09:16:47 +0000 (11:16 +0200)
commit8b6277538350008a19f8015895972a5edf13da11
tree4a0a7a21f90840afd25d3acdfddd9a3ef63f7c35
parent6fb4f30611e8e5a5598234463f644cb950de760d
Fix a possible integer overflow in long_c2i

Credit to OSS-Fuzz for finding this.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3120)
crypto/asn1/x_long.c