diff options
author | Albert Astals Cid <aacid@kde.org> | 2008-09-28 19:24:43 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2008-09-28 19:24:43 +0200 |
commit | aa7ef03af49f74ed558dcbab8ad4c594bb2b7d53 (patch) | |
tree | e10aa2e8e6f3de94009e044ad21fa4cd22176a8d | |
parent | 957d7acb66635e9748c6bc7a31cdbbcbb8da9011 (diff) |
If libjpeg tells us to abort, let's abort :D
Fixes part of bug 17811
-rw-r--r-- | poppler/DCTStream.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/poppler/DCTStream.cc b/poppler/DCTStream.cc index a9ce8e4b..2b4f9c11 100644 --- a/poppler/DCTStream.cc +++ b/poppler/DCTStream.cc @@ -19,6 +19,7 @@ static boolean str_fill_input_buffer(j_decompress_ptr cinfo) { int c; struct str_src_mgr * src = (struct str_src_mgr *)cinfo->src; + if (src->abort) return FALSE; if (src->index == 0) { c = 0xFF; src->index++; |