summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.c b/util.c
index ea68110527..7c83b50b8b 100644
--- a/util.c
+++ b/util.c
@@ -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)
{