diff options
author | Robin Watts <robin.watts@artifex.com> | 2015-02-25 19:02:44 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2015-02-25 19:03:59 +0000 |
commit | 63c811b5ff2a50c5b1739526cc9e3112d3cda151 (patch) | |
tree | 3b63eb617a4faa59fb4bebb0264f108f8dff9c3b | |
parent | 76dff1dc896a57c9daa96df3177884f59f8cee6c (diff) | |
download | mupdf-63c811b5ff2a50c5b1739526cc9e3112d3cda151.tar.xz |
Bug 695851: Fix SEGV in mutool info.
Add missing initialisation of glo.ctx required due to API
change.
-rw-r--r-- | source/tools/pdfinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/tools/pdfinfo.c b/source/tools/pdfinfo.c index 41989982..660c015e 100644 --- a/source/tools/pdfinfo.c +++ b/source/tools/pdfinfo.c @@ -982,6 +982,7 @@ pdfinfo_info(fz_context *ctx, fz_output *out, char *filename, char *password, in globals glo = { 0 }; glo.out = out; + glo.ctx = ctx; state = NO_FILE_OPENED; while (argidx < argc) |