Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 308679 Details for
Bug 450518
CVE-2008-2152 OpenOffice.org overflow possible on allocation
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
oo2 patch from caolan
workspace.mhu18.patch (text/plain), 805 bytes, created by
Mark J. Cox
on 2008-06-09 11:54:25 UTC
(
hide
)
Description:
oo2 patch from caolan
Filename:
MIME Type:
Creator:
Mark J. Cox
Created:
2008-06-09 11:54:25 UTC
Size:
805 bytes
patch
obsolete
>Index: porting/sal/rtl/source/alloc_global.c >diff -u porting/sal/rtl/source/alloc_global.c:1.3 porting/sal/rtl/source/alloc_global.c:1.3.288.1 >--- porting/sal/rtl/source/alloc_global.c:1.3 Tue May 9 00:24:51 2006 >+++ porting/sal/rtl/source/alloc_global.c Mon May 19 00:59:10 2008 >@@ -217,9 +217,15 @@ > int index = (size - 1) >> RTL_MEMALIGN_SHIFT; > OSL_ASSERT(RTL_MEMALIGN >= sizeof(sal_Size)); > >+ if (n >= SAL_MAX_SIZE - (RTL_MEMALIGN + RTL_MEMALIGN - 1)) >+ { >+ /* requested size too large for roundup alignment */ >+ return 0; >+ } >+ > try_alloc: > if (index < RTL_MEMORY_CACHED_LIMIT >> RTL_MEMALIGN_SHIFT) >- addr = (char*)rtl_cache_alloc(g_alloc_table[index]); >+ addr = (char*)rtl_cache_alloc (g_alloc_table[index]); > else > addr = (char*)rtl_arena_alloc (gp_alloc_arena, &size); >
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 450518
: 308679 |
308680