summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-09-20 17:04:50 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-09-21 08:08:24 +0200
commitab2da32b380e068bb131bca6f28c62c0bb9c9fdb (patch)
tree05750becff3db502e1b73c067f3615af0eef8736 /sc/source
parentb9b7d4ee4ded28f59997ce7f30488e049af917a1 (diff)
lokdocview: guard against int overflow
If a too large rectangle is parsed, the width or the height may be larger than std::numeric_limits<int>::max(), in that case just set width/height to that max value, instead of allowing an overflow. Change-Id: Ic01319b01a3f9286501c346ea765868be57466a1 (cherry picked from commit 28447258fb6d9b8246f2a96d1a86945ef255d110)
Diffstat (limited to 'sc/source')
0 files changed, 0 insertions, 0 deletions