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/x509/dd27a0e334c93b8a208a0328d50a09043acbd102 | |
parent | sha/asm/sha512-armv8.pl: add NEON version of SHA256. (diff) | |
download | openssl-e80f3b6af295133107ac709329eee16ccf9af61c.tar.xz openssl-e80f3b6af295133107ac709329eee16ccf9af61c.zip |
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/x509/dd27a0e334c93b8a208a0328d50a09043acbd102')
0 files changed, 0 insertions, 0 deletions