From 77a7ce709f9ddbac48386d87daa8f61871f21bcf Mon Sep 17 00:00:00 2001 From: Antonio Huete Jimenez Date: Sun, 3 Jan 2010 14:36:51 +0100 Subject: [PATCH] gdtoa - Fix a memory corruption issue You have to rebuild and reinstall libc after this change. http://www.securityfocus.com/bid/35510 Taken-from: NetBSD Reported-by: Johannes Hofmann --- contrib/gdtoa/gdtoaimp.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/contrib/gdtoa/gdtoaimp.h b/contrib/gdtoa/gdtoaimp.h index 4ee6686..51bf8c6 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 { -- 1.6.4