summaryrefslogtreecommitdiff
path: root/pdf/pdf_form.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-07-04 17:29:04 +0100
committerRobin Watts <robin.watts@artifex.com>2012-07-05 17:05:16 +0100
commitfdda884c097d52e687ddbbe1fdafb375caf45165 (patch)
tree5682a7987deae08b97f8a0741bcbced8677116aa /pdf/pdf_form.c
parentee382eb9e03bd609bc0da95a77e7b7232d7e56d5 (diff)
downloadmupdf-fdda884c097d52e687ddbbe1fdafb375caf45165.tar.xz
Cope with illegal alpha values (out of range)
normal_457.pdf specifies an alpha value of 1.005, which causes overflows when calculating values. Simply clamp values into the 0..1 range.
Diffstat (limited to 'pdf/pdf_form.c')
0 files changed, 0 insertions, 0 deletions