You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
616 B
22 lines
616 B
13 years ago
|
------------------------------------------------------------------------
|
||
|
r1052100 | mueller | 2009-11-20 19:35:00 +0000 (Fri, 20 Nov 2009) | 2 lines
|
||
|
Changed paths:
|
||
|
M /branches/KDE/4.3/kdelibs/kjs/dtoa.cpp
|
||
|
|
||
|
fix array overrun (CVE-2009-0689)
|
||
|
|
||
|
------------------------------------------------------------------------
|
||
|
Index: dtoa.cpp
|
||
|
===================================================================
|
||
|
--- kjs/dtoa.cpp (revision 1052099)
|
||
|
+++ kjs/dtoa.cpp (revision 1052100)
|
||
|
@@ -457,7 +457,7 @@
|
||
|
#define FREE_DTOA_LOCK(n) /*nothing*/
|
||
|
#endif
|
||
|
|
||
|
-#define Kmax 15
|
||
|
+#define Kmax (sizeof(size_t) << 3)
|
||
|
|
||
|
struct
|
||
|
Bigint {
|