summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-05-03 12:21:41 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-05-03 12:33:08 +0200
commit96a6ac42f41fd451c3040552584df3fe65156baf (patch)
tree40338c4ebd3da83892cd0c4bf6ad62ed7e97121c /source
parentaed7cd7e87a387aa5ef4603436b30d60d0547bd1 (diff)
downloadmupdf-96a6ac42f41fd451c3040552584df3fe65156baf.tar.xz
Fix uninitialized pointer when viewing broken images in muimg.c
Diffstat (limited to 'source')
-rw-r--r--source/cbz/muimg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cbz/muimg.c b/source/cbz/muimg.c
index ff2cc3ff..8ef4855b 100644
--- a/source/cbz/muimg.c
+++ b/source/cbz/muimg.c
@@ -79,7 +79,7 @@ img_load_page(fz_context *ctx, fz_document *doc_, int number)
img_document *doc = (img_document*)doc_;
fz_pixmap *pixmap = NULL;
fz_image *image = NULL;
- img_page *page;
+ img_page *page = NULL;
if (number < 0 || number >= doc->page_count)
return NULL;