diff options
author | David Mitchell <davem@iabyn.com> | 2014-12-20 16:40:52 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2014-12-31 11:28:51 +0000 |
commit | 53e2bfb7c6a2e8a3171dabe7dbdc24eba77e4bf0 (patch) | |
tree | 0581d4da5f1bccbd72d0632eaa006e972800445d /asan_ignore | |
parent | 382a7a77501a1e25895d78eca9cb6838c6d7e6a3 (diff) | |
download | perl-53e2bfb7c6a2e8a3171dabe7dbdc24eba77e4bf0.tar.gz |
fix -IV_MIN negations
Doing uv = -iv is undefined behaviour if iv happens to be IV_MIN.
This occurs in several places in the perl sources.
Found by -fsanitize=undefined.
Here's a typical message:
sv.c:2864:7: runtime error: negation of -9223372036854775808 cannot be represented in type 'IV' (aka 'long'); cast to an unsigned type to negate this value to itself
Diffstat (limited to 'asan_ignore')
0 files changed, 0 insertions, 0 deletions