summaryrefslogtreecommitdiffstats
path: root/opensuse/tdelibs/bnc557126.diff
blob: 0782537b90f0ffd47f7ca9f25d607649e5e940a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
------------------------------------------------------------------------
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 {