1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-15 07:47:40 +00:00

Fix overflow in exponent estimation in strtod.c.

Found by OSS-Fuzz.
This commit is contained in:
Calvin Rose
2020-04-21 18:32:59 -05:00
parent 23b811243f
commit c876e63010
2 changed files with 6 additions and 3 deletions

View File

@@ -241,4 +241,7 @@ neldb\0\0\0\xD8\x05printG\x01\0\xDE\xDE\xDE'\x03\0marshal_tes/\x02
(assert (nil? (first @"")) "in vs get 1")
(assert (nil? (last @"")) "in vs get 1")
# For undefined behavior sanitizer
0xf&1fffFFFF
(end-suite)