Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15
podofo
0025-Related-to-CVE-2018-5308.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0025-Related-to-CVE-2018-5308.patch of Package podofo
Subject: Related to CVE-2018-5308: Add in-parameter validity check Url: https://sourceforge.net/p/podofo/code/1876/ --- a/podofo/trunk/src/base/PdfOutputStream.cpp +++ b/podofo/trunk/src/base/PdfOutputStream.cpp @@ -85,6 +85,11 @@ PdfMemoryOutputStream::PdfMemoryOutputStream( char* pBuffer, pdf_long lLen ) : m_lLen( 0 ), m_bOwnBuffer( false ) { + if( !pBuffer ) + { + PODOFO_RAISE_ERROR( ePdfError_InvalidHandle ); + } + m_lSize = lLen; m_pBuffer = pBuffer; }
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