Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
podofo.34526
r1870-Fix-parameter-tested-for-NULL-in-PdfMemor...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r1870-Fix-parameter-tested-for-NULL-in-PdfMemoryOutputStream-Write.patch of Package podofo.34526
------------------------------------------------------------------------ r1870 | mc-zyx | 2018-01-21 14:48:30 +0100 (dom, 21 ene 2018) | 4 lines Correct in-parameter test in PdfMemoryOutputStream::Write() This could eventually cause NULL pointer being passed into memcpy() function. Index: src/base/PdfOutputStream.cpp =================================================================== --- src/base/PdfOutputStream.cpp (revision 1869) +++ src/base/PdfOutputStream.cpp (revision 1870) @@ -98,7 +98,7 @@ pdf_long PdfMemoryOutputStream::Write( const char* pBuffer, pdf_long lLen ) { - if( !m_pBuffer ) + if( !pBuffer ) { PODOFO_RAISE_ERROR( ePdfError_InvalidHandle ); } ------------------------------------------------------------------------
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor