Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-12-SP5:GA
podofo.35912
r1954-Fix-CVE-2018-20751-null-pointer-dereferen...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r1954-Fix-CVE-2018-20751-null-pointer-dereference-in-crop_page-of-tools-podofocrop.patch of Package podofo.35912
------------------------------------------------------------------------ r1954 | mabri | 2018-11-26 23:16:19 +0100 (lun 26 de nov de 2018) | 2 líneas Fix issue #33 (null-pointer dereference in crop_page() of tools/podofocrop/podofocrop.cpp) Index: tools/podofocrop/podofocrop.cpp =================================================================== --- tools/podofocrop/podofocrop.cpp (revisión: 1953) +++ tools/podofocrop/podofocrop.cpp (revisión: 1954) @@ -61,6 +61,11 @@ rCropBox.GetHeight()); */ rCropBox.ToVariant( var ); + if (!pPage) + { + PODOFO_RAISE_ERROR_INFO( ePdfError_InvalidHandle, + "crop_page: No page pointer given" ); + } pPage->GetObject()->GetDictionary().AddKey( PdfName("MediaBox"), var ); } ------------------------------------------------------------------------
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