You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
905 B
18 lines
905 B
7 years ago
|
Description: CVE-2017-7380 and CVE-2017-7381 and CVE-2017-7382 and CVE-2017-7383
|
||
|
Acked-By: Mattia Rizzolo <mattia@debian.org>
|
||
|
Last-Update: 2017-05-17
|
||
|
Origin: https://sourceforge.net/p/podofo/code/1848
|
||
|
Bug-Debian: https://bugs.debian.org/859329
|
||
|
|
||
|
--- a/src/doc/PdfPage.cpp
|
||
|
+++ b/src/doc/PdfPage.cpp
|
||
|
@@ -647,7 +647,7 @@
|
||
|
// OC 15.08.2010 BugFix: Ghostscript creates here sometimes an indirect reference to a directory
|
||
|
// PdfObject* pType = m_pResources->GetDictionary().GetKey( rType );
|
||
|
PdfObject* pType = m_pResources->GetIndirectKey( rType );
|
||
|
- if( pType->IsDictionary() && pType->GetDictionary().HasKey( rKey ) )
|
||
|
+ if( pType && pType->IsDictionary() && pType->GetDictionary().HasKey( rKey ) )
|
||
|
{
|
||
|
const PdfReference & ref = pType->GetDictionary().GetKey( rKey )->GetReference();
|
||
|
return this->GetObject()->GetOwner()->GetObject( ref );
|