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 602669 Details for
Bug 846095
CVE-2012-3456 Calligra: DOC file rendering buffer overflow
[?]
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]
CVE-2012-3456 calligra buffer overflow patch
CVE-2012-3456-calligra.patch (text/plain), 1.02 KB, created by
Kurt Seifried
on 2012-08-07 08:01:57 UTC
(
hide
)
Description:
CVE-2012-3456 calligra buffer overflow patch
Filename:
MIME Type:
Creator:
Kurt Seifried
Created:
2012-08-07 08:01:57 UTC
Size:
1.02 KB
patch
obsolete
>commit 8652ab672eaaa145dfb3782f5011de58aa4cc046 >Author: Thorsten Zachmann <t.zachmann@zagge.de> >Date: Sat Aug 4 06:42:14 2012 +0200 > > Make sure not to write behind the allocated memory > > Validate the input data to not write behind the allocated memory. This fixes a > buffer overflow found by Charlie Miller. > >diff --git a/filters/words/msword-odf/wv2/src/styles.cpp b/filters/words/msword-odf/wv2/src/styles.cpp >index 02a82a0..78ac31d 100644 >--- a/filters/words/msword-odf/wv2/src/styles.cpp >+++ b/filters/words/msword-odf/wv2/src/styles.cpp >@@ -248,6 +248,11 @@ throw(InvalidFormatException) > #ifdef WV2_DEBUG_STYLESHEET > wvlog << "cbUPX: " << cbUPX << endl; > #endif >+ // do not overflow the allocated buffer grupx >+ if (offset + cbUPX > grupxLen) { >+ wvlog << "====> Error: grupx would overflow!" << endl; >+ return false; >+ } > for ( U16 j = 0; j < cbUPX; ++j ) { > grupx[ offset + j ] = stream->readU8(); // read the whole UPX > #ifdef WV2_DEBUG_STYLESHEET >
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 846095
: 602669