Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0
podofo
0023-Correct-in-parameter-test-in-PdfMemoryOutp...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0023-Correct-in-parameter-test-in-PdfMemoryOutputStream-Write.patch of Package podofo
Subject: Correct in-parameter test in PdfMemoryOutputStream::Write Url: https://sourceforge.net/p/podofo/code/1870/ This could eventually cause NULL pointer being passed into memcpy() function. --- a/podofo/trunk/src/base/PdfOutputStream.cpp +++ b/podofo/trunk/src/base/PdfOutputStream.cpp @@ -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