[poppler] 2 commits - poppler/Stream.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Thu Nov 21 15:00:11 PST 2013
poppler/Stream.cc | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 770a7ac9833a3c4f4f0399093272d4d0bdc7923b
Merge: e7a0f2b 9ae29c7
Author: Albert Astals Cid <aacid at kde.org>
Date: Thu Nov 21 23:58:29 2013 +0100
Merge remote-tracking branch 'origin/poppler-0.24'
commit 9ae29c7a07d0f372dbfc4aca17bbb646126aedb5
Author: Thomas Freitag <Thomas.Freitag at alfa.de>
Date: Thu Nov 21 23:53:53 2013 +0100
Don't end loop if reading from GooFile fails
Bug #71835
diff --git a/poppler/Stream.cc b/poppler/Stream.cc
index 41cb8c1..8ef061a 100644
--- a/poppler/Stream.cc
+++ b/poppler/Stream.cc
@@ -819,6 +819,9 @@ GBool FileStream::fillBuf() {
n = fileStreamBufSize;
}
n = file->read(buf, n, offset);
+ if (n == -1) {
+ return gFalse;
+ }
offset += n;
bufEnd = buf + n;
if (bufPtr >= bufEnd) {
More information about the poppler
mailing list