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:29:23 +0000 (11:29 +0200)
commit8ac6a53100bd6730a8824968ec25dccc727c29c9
tree6e0458d6abccc5131e6d0e3ab19fe1188350603b
parent37332ecc010276b899810aa3ac26885bd9dcb57c
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/3088)
crypto/asn1/x_long.c