summaryrefslogtreecommitdiff
path: root/source/tools/pdfshow.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2014-01-17 17:43:05 +0000
committerRobin Watts <robin.watts@artifex.com>2014-01-17 17:43:34 +0000
commit63869ca1b53eb485dc0c8b5e53679825826ec076 (patch)
treeac7973e323b149e3bcba419c669dd8c3829ce12d /source/tools/pdfshow.c
parentef3d3c01d57aed1204f1b77a93d5106ac8223ea8 (diff)
downloadmupdf-63869ca1b53eb485dc0c8b5e53679825826ec076.tar.xz
Avoid overflows in floating point causing illegal accesses
If the scale is too large, the calculation to determine the required size of a pixmap can overflow. This can lead to negative width/heights being passed in, which confuses the subsampling code, leading to SEGVs.
Diffstat (limited to 'source/tools/pdfshow.c')
0 files changed, 0 insertions, 0 deletions