diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2016-11-11 21:41:50 +0100 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2016-11-12 14:07:31 +0100 |
commit | e80f3b6af295133107ac709329eee16ccf9af61c (patch) | |
tree | 2722bd4e846f71e7b8a1c21727239c860b2c8c62 /fuzz/corpora/asn1/8f34e1680371f1abd5c6ae2ef51dc97c2ce9193d | |
parent | 866e505e0d663158b0fe63a7fb7455eebacc6470 (diff) | |
download | openssl-new-e80f3b6af295133107ac709329eee16ccf9af61c.tar.gz |
Cast to an unsigned type before negating
llvm's ubsan reported:
runtime error: negation of -9223372036854775808 cannot be represented in
type 'int64_t' (aka 'long'); cast to an unsigned type to negate this
value to itself
Found using libfuzzer
Reviewed-by: Rich Salz <rsalz@openssl.org>
GH: #1908
Diffstat (limited to 'fuzz/corpora/asn1/8f34e1680371f1abd5c6ae2ef51dc97c2ce9193d')
0 files changed, 0 insertions, 0 deletions