summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpvt_sectioninfo.h
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-01-09 13:39:05 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-01-09 20:41:20 +0000
commitf04b7f1c438bf9f9e41a1925c6bcaa378c082ee1 (patch)
tree07161be4e5e367f6a623d8b187fc416269dc338a /core/fpdfdoc/cpvt_sectioninfo.h
parentc589fdc5e4e996dd6d2502f7267414c471e5fd6d (diff)
downloadpdfium-f04b7f1c438bf9f9e41a1925c6bcaa378c082ee1.tar.xz
Check validity of width and height in CCodec_TiffContext::LoadFrameInfo
We are using pdfium::base::checked_cast to get the width and height, but we may overflow and abort. Therefore, we should instead early return if the obtained width and height are not valid int32_t's. BUG=655056 Change-Id: Ic0c6b88a16dc3d547fe82736bb14ed3122cd356a Reviewed-on: https://pdfium-review.googlesource.com/2160 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpvt_sectioninfo.h')
0 files changed, 0 insertions, 0 deletions