Commit a019eef2 authored by Thomas Freitag's avatar Thomas Freitag Committed by Albert Astals Cid
Browse files

Fix crash in 1162.pdf.SIGSEGV.28e.182

parent ad7c6ac8
......@@ -10,6 +10,7 @@
// Copyright 2010 Carlos Garcia Campos <carlosgc@gnome.org>
// Copyright 2011 Daiki Ueno <ueno@unixuser.org>
// Copyright 2011 Tomas Hoger <thoger@redhat.com>
// Copyright 2012 Thomas Freitag <Thomas.Freitag@alfa.de>
//
//========================================================================
......@@ -222,6 +223,9 @@ int DCTStream::getChars(int nChars, Guchar *buffer) {
}
int DCTStream::lookChar() {
if (current == NULL) {
return EOF;
}
return *current;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment