diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-09-25 12:05:34 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-10-24 15:16:37 +0100 |
commit | 531e5939f47aae5c126f947a06327d2dfc2f4afc (patch) | |
tree | c58d1053dad400b0394f22b3a8744eb826d195c7 /source | |
parent | 41c8f19eb3e9cc422b77755882c0a1bfeeb85530 (diff) | |
download | mupdf-531e5939f47aae5c126f947a06327d2dfc2f4afc.tar.xz |
Avoid security warning.
Diffstat (limited to 'source')
-rw-r--r-- | source/pdf/pdf-op-run.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/pdf/pdf-op-run.c b/source/pdf/pdf-op-run.c index 5db9c20e..528d0847 100644 --- a/source/pdf/pdf-op-run.c +++ b/source/pdf/pdf-op-run.c @@ -1367,7 +1367,7 @@ pdf_run_xobject(fz_context *ctx, pdf_run_processor *proc, pdf_xobject *xobj, pdf { /* Postpone the problem */ if (errmess[0]) - fz_warn(ctx, errmess); + fz_warn(ctx, "%s", errmess); strcpy(errmess, fz_caught_message(ctx)); } } @@ -1381,7 +1381,7 @@ pdf_run_xobject(fz_context *ctx, pdf_run_processor *proc, pdf_xobject *xobj, pdf { /* Postpone the problem */ if (errmess[0]) - fz_warn(ctx, errmess); + fz_warn(ctx, "%s", errmess); strcpy(errmess, fz_caught_message(ctx)); } } |