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 317014 Details for
Bug 462639
CVE-2008-2237 OpenOffice.org WMF integer 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]
upstream's patch (original horrific patch format)
winwmf.patch (text/plain), 1.17 KB, created by
Caolan McNamara
on 2008-09-17 21:58:36 UTC
(
hide
)
Description:
upstream's patch (original horrific patch format)
Filename:
MIME Type:
Creator:
Caolan McNamara
Created:
2008-09-17 21:58:36 UTC
Size:
1.17 KB
patch
obsolete
>Index: winwmf.cxx >=================================================================== >RCS file: /cvs/util/svtools/source/filter.vcl/wmf/winwmf.cxx,v >retrieving revision 1.36 >diff -r1.36 winwmf.cxx >818a819,828 >> // nRecSize has been checked previously to be greater than 3 >> sal_uInt64 nMetaRecSize = static_cast< sal_uInt64 >( nRecSize - 2 ) * 2; >> sal_uInt64 nMetaRecEndPos = pWMF->Tell() + nMetaRecSize; >> >> // taking care that nRecSize does not exceed the maximal stream position >> if ( nMetaRecEndPos > nEndPos ) >> { >> pWMF->SetError( SVSTREAM_FILEFORMAT_ERROR ); >> break; >> } >841c851,857 >< if ( nEscLen ) >--- >> >> if ( ( static_cast< sal_uInt64 >( nEscLen ) + pWMF->Tell() ) > nMetaRecEndPos ) >> { >> pWMF->SetError( SVSTREAM_FILEFORMAT_ERROR ); >> break; >> } >> if ( nEscLen > 0 ) >866c882 >< if (nStringLen < STRING_MAXLEN) >--- >> if ( ( static_cast< sal_uInt64 >( nStringLen ) * sizeof( sal_Unicode ) ) < ( nEscLen - aMemoryStream.Tell() ) ) >871a888,889 >> if ( ( static_cast< sal_uInt64 >( nDXCount ) * sizeof( sal_Int32 ) ) >= ( nEscLen - aMemoryStream.Tell() ) ) >> nDXCount = 0; >
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 462639
: 317014 |
317041