diff options
author | Robin Watts <robin.watts@artifex.com> | 2015-01-06 18:19:40 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2015-02-10 20:29:18 +0000 |
commit | 65ada9d7fc252f3dad9b2d3a4a9e571d16358cbd (patch) | |
tree | fbed4d01a134291110ed6095f08d5500370fb4c0 /source/fitz/stext-search.c | |
parent | da04ae926d5ba78fd87f4d5da4c1c889b511c74b (diff) | |
download | mupdf-65ada9d7fc252f3dad9b2d3a4a9e571d16358cbd.tar.xz |
Attempting to render a JPEG with xres and yres set to 1 fails.
We end up trying to scale the JPEG up 72 times and fail a malloc.
A better plan is to make the image handler disbelieve any xres or
yres values less than 72dpi. We take care to still preserve aspect
ratios etc.
Diffstat (limited to 'source/fitz/stext-search.c')
0 files changed, 0 insertions, 0 deletions