From 96a6ac42f41fd451c3040552584df3fe65156baf Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 3 May 2018 12:21:41 +0200 Subject: Fix uninitialized pointer when viewing broken images in muimg.c --- source/cbz/muimg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') 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; -- cgit v1.2.3