Avoid the call to OPENSSL_malloc with a negative value (then casted to unsigned)
authorDavide Galassi <davide.galassi@gmail.com>
Fri, 2 Dec 2016 16:10:37 +0000 (17:10 +0100)
committerRich Salz <rsalz@openssl.org>
Sat, 10 Dec 2016 21:49:33 +0000 (16:49 -0500)
commita08ae8fee9539ed1432f4169cea46f6e27990dd5
treed02b20937bd3b5c748177f25b5fcddc25fe15915
parenta3a4bb74cf4129b87739033d74623db5a5ec2ece
Avoid the call to OPENSSL_malloc with a negative value (then casted to unsigned)

CLA: trivial
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2021)
(cherry picked from commit 210fe4edee6514e4c1f0677adc9112c4459da02b)
crypto/dso/dso_lib.c