From c3fc81f80749115b6faed20465baf248225461fe Mon Sep 17 00:00:00 2001 From: Antonio Huete Jimenez Date: Thu, 7 Jan 2010 00:12:59 +0100 Subject: [PATCH] gdtoa - Allocate more entries on freelist to better handle large fields. http://www.securityfocus.com/bid/35510 Taken-from: NetBSD Reported-by: Johannes Hofmann --- contrib/gdtoa/gdtoaimp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/gdtoa/gdtoaimp.h b/contrib/gdtoa/gdtoaimp.h index 4ee668664d..8db7eff466 100644 --- a/contrib/gdtoa/gdtoaimp.h +++ b/contrib/gdtoa/gdtoaimp.h @@ -480,7 +480,7 @@ extern pthread_mutex_t __gdtoa_locks[2]; _pthread_mutex_unlock(&__gdtoa_locks[n]); \ } while(0) -#define Kmax 15 +#define Kmax (sizeof(size_t) << 3) struct Bigint { -- 2.11.4.GIT