diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2012-07-19 00:41:04 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-07-23 18:07:03 +0200 |
commit | e61ff8e87edaee5c3b1a85b7d08bd2c7ed2ecb38 (patch) | |
tree | ef4f89d969df170160b43b5af4d6d8a88d9b7f8d /pdf/pdf_colorspace.c | |
parent | 4b7929c79941d2835bac62e7a80d14e297db6c12 (diff) | |
download | mupdf-e61ff8e87edaee5c3b1a85b7d08bd2c7ed2ecb38.tar.xz |
Provide number of inputs/outpus when loading pdf functions
This will allow the loading of pdf functions to validate that a pdf
function has the correct number of inputs/outputs. Additionally it
will allow for handling pdf functions with incorrect number of
inputs/outputs.
Diffstat (limited to 'pdf/pdf_colorspace.c')
-rw-r--r-- | pdf/pdf_colorspace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdf/pdf_colorspace.c b/pdf/pdf_colorspace.c index 13323ce3..7a3835dd 100644 --- a/pdf/pdf_colorspace.c +++ b/pdf/pdf_colorspace.c @@ -119,7 +119,7 @@ load_separation(pdf_document *xref, pdf_obj *array) fz_try(ctx) { - tint = pdf_load_function(xref, tintobj); + tint = pdf_load_function(xref, tintobj, n, base->n); /* RJW: fz_drop_colorspace(ctx, base); * "cannot load tint function (%d %d R)", pdf_to_num(tintobj), pdf_to_gen(tintobj) */ |