summaryrefslogtreecommitdiff
path: root/source/xps/xps-doc.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-08-28 21:41:07 +0800
committerSebastian Rasmussen <sebras@gmail.com>2018-08-28 22:48:13 +0800
commitf85a9d6a08ebba9e319abdc05eadc3e443b878f1 (patch)
tree7087c4b55ad03b7ca4c357638cf6c2df34992929 /source/xps/xps-doc.c
parentd958fdda891752563fc3b7b36448061f1809e683 (diff)
downloadmupdf-f85a9d6a08ebba9e319abdc05eadc3e443b878f1.tar.xz
Bug 699683: Skip painting too large images when using interpolation.
When painting images using interpolation 16.16 fixpoint arithmetics is used. This limits the width/height of any image that can be painted to 32767. There was no size check, so large images caused overflow and subsequent out of bounds accesses which triggered MSAN. This c Thanks to oss-fuzz for reporting.
Diffstat (limited to 'source/xps/xps-doc.c')
0 files changed, 0 insertions, 0 deletions