summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_annotiteration.cpp
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-01-11 16:39:20 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-01-11 21:57:03 +0000
commit5e3121beff936df1b0af3749447eeda1666d5d76 (patch)
tree90fdf7f63b5880c4f0e5f12c38e05be65467f2e3 /fpdfsdk/cpdfsdk_annotiteration.cpp
parent96f482c9cd3c99425fd3422251903b1218253c66 (diff)
downloadpdfium-5e3121beff936df1b0af3749447eeda1666d5d76.tar.xz
Make tiff_read return actual length read
The return value is used to determine whether TIFFReadFile fails. If we return just the length, libtiff will try reading uninitilized values afterwards, on corrupted files. BUG=679230, 670928 Change-Id: I579adc9d8a00e8cafab45dbdb728f1cb702da051 Reviewed-on: https://pdfium-review.googlesource.com/2172 Commit-Queue: Nicolás Peña <npm@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_annotiteration.cpp')
0 files changed, 0 insertions, 0 deletions