Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 199233 Details for
Bug 279187
<=kde-base/kdelibs-4.2.4 Remote code execution (CVE-2009-{1687,1698})
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch from upstream svn
kdelibs-4.2.4-CVE-2009-1687.patch (text/plain), 750 bytes, created by
Robert Förster
on 2009-07-26 16:12:40 UTC
(
hide
)
Description:
patch from upstream svn
Filename:
MIME Type:
Creator:
Robert Förster
Created:
2009-07-26 16:12:40 UTC
Size:
750 bytes
patch
obsolete
>--- branches/KDE/4.3/kdelibs/kjs/collector.cpp 2009/07/26 03:35:55 1002472 >+++ branches/KDE/4.3/kdelibs/kjs/collector.cpp 2009/07/26 03:35:57 1002473 >@@ -31,6 +31,7 @@ > #include "value.h" > > #include <setjmp.h> >+#include <limits.h> > #include <algorithm> > > #if PLATFORM(DARWIN) >@@ -109,6 +110,9 @@ > > void append(CollectorBlock* block) { > if (m_used == m_capacity) { >+ static const size_t maxNumBlocks = ULONG_MAX / sizeof(CollectorBlock*) / GROWTH_FACTOR; >+ if (m_capacity > maxNumBlocks) >+ CRASH(); > m_capacity = max(MIN_ARRAY_SIZE, m_capacity * GROWTH_FACTOR); > m_data = static_cast<CollectorBlock **>(fastRealloc(m_data, m_capacity * sizeof(CollectorBlock *))); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 279187
: 199233 |
199234