[poppler] fofi/FoFiType1C.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Fri May 25 17:39:12 UTC 2018
fofi/FoFiType1C.cc | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 97caec070090d112d4fb5b63dc433a34e214c7e5
Author: Albert Astals Cid <aacid at kde.org>
Date: Fri May 25 19:38:19 2018 +0200
FoFiType1C::readTopDict: Return early if parsing fails
fixes oss-fuzz/8456
diff --git a/fofi/FoFiType1C.cc b/fofi/FoFiType1C.cc
index b14561ff..37694869 100644
--- a/fofi/FoFiType1C.cc
+++ b/fofi/FoFiType1C.cc
@@ -2126,6 +2126,9 @@ void FoFiType1C::readTopDict() {
topDict.fdSelectOffset = 0;
getIndexVal(&topDictIdx, 0, &topDictPtr, &parsedOk);
+ if (!parsedOk) {
+ return;
+ }
pos = topDictPtr.pos;
nOps = 0;
while (pos < topDictPtr.pos + topDictPtr.len) {
More information about the poppler
mailing list