From 83575ba3114e3216a214ade61897f316249e2135 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 6 Aug 2015 22:12:54 +1000 Subject: [PATCH] Allow FE overflow for safe usage of strtod in corrupt json --- src/ckpool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ckpool.c b/src/ckpool.c index 52ca62dd..0cd63928 100644 --- a/src/ckpool.c +++ b/src/ckpool.c @@ -1449,7 +1449,7 @@ int main(int argc, char **argv) ckpool_t ckp; /* Make significant floating point errors fatal to avoid subtle bugs being missed */ - feenableexcept(FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW ); + feenableexcept(FE_DIVBYZERO | FE_INVALID); json_set_alloc_funcs(json_ckalloc, free); global_ckp = &ckp;