summaryrefslogtreecommitdiff
path: root/public/fpdf_progressive.h
diff options
context:
space:
mode:
authordan sinclair <dsinclair@chromium.org>2017-03-06 13:35:42 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-03-06 18:55:09 +0000
commitf6d0146200beec76f3d8676e22562d1acbc83d91 (patch)
tree7cc00e97ec5c616c5d54471bd0660e9212f950df /public/fpdf_progressive.h
parentf04b42a9beedb1287977794211d05d92903559db (diff)
downloadpdfium-f6d0146200beec76f3d8676e22562d1acbc83d91.tar.xz
Check size before writtingchromium/3033
Before writting to the stream buffer make sure that we won't walk off the end of the allocated size. In this specific case the dest_size of the buffer is 0, so we're basically just looping over to free the temp results. BUG=chromium:697847 Change-Id: I229eea96179692216cb2685facbb7d5379c501c7 Reviewed-on: https://pdfium-review.googlesource.com/2903 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'public/fpdf_progressive.h')
0 files changed, 0 insertions, 0 deletions