[gs-commits] mupdf 1.16.1.77 Add fz_var() to variable that might be al
[email protected] (Sebastian Rasmussen) Thu, 3 Oct 2019 18:04:28 +0000 (UTC)
| Newsgroups | gmane.comp.printing.ghostscript.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit db2e01d2b218b4f86837410deb171a972888b09a Author: Sebastian Rasmussen <[email protected]> Date: Thu Oct 3 17:57:48 2019 +0200 Add fz_var() to variable that might be altered inside fz_try(). diff --git a/source/pdf/pdf-signature.c b/source/pdf/pdf-signature.c index 2c0669e..c6839b8 100644 --- a/source/pdf/pdf-signature.c +++ b/source/pdf/pdf-signature.c @@ -16,6 +16,7 @@ void pdf_write_digest(fz_context *ctx, fz_output *out, pdf_obj *byte_range, int fz_var(stm); fz_var(in); fz_var(brange); + fz_var(digest); if (hexdigest_length < 4) fz_throw(ctx, FZ_ERROR_GENERIC, "Bad parameters to pdf_write_digest"); http://git.ghostscript.com/?p=mupdf.git;a=commit;h=db2e01d2b218b4f86837410deb171a972888b09a -- MuPDF library Artifex Software, Inc.