diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-15 07:34:01 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-15 07:34:01 +0000 |
commit | 86d1fc88637223edb248df7e5d327e8d1a427afb (patch) | |
tree | d7e7eaa47d04854f04305c2bb0b0e2205f94b2a5 /util.c | |
parent | a42784000e102df0909e8a307c0b0b8ba2938304 (diff) | |
download | bundler-86d1fc88637223edb248df7e5d327e8d1a427afb.tar.gz |
suppress integer overflow warnings
* util.c: annotate as NO_SANITIZE
* bignum.c: avoid (size_t)--
* marshal.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1541,6 +1541,7 @@ cmp(Bigint *a, Bigint *b) return 0; } +NO_SANITIZE("unsigned-integer-overflow", static Bigint * diff(Bigint *a, Bigint *b)); static Bigint * diff(Bigint *a, Bigint *b) { @@ -2020,6 +2021,7 @@ hexnan(double *rvp, const char **sp) #endif /*No_Hex_NaN*/ #endif /* INFNAN_CHECK */ +NO_SANITIZE("unsigned-integer-overflow", double ruby_strtod(const char *s00, char **se)); double ruby_strtod(const char *s00, char **se) { |