diff options
author | Nicolas Pena <npm@chromium.org> | 2017-01-09 13:39:05 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-01-09 20:41:20 +0000 |
commit | f04b7f1c438bf9f9e41a1925c6bcaa378c082ee1 (patch) | |
tree | 07161be4e5e367f6a623d8b187fc416269dc338a /xfa/fde/fde_iterator.h | |
parent | c589fdc5e4e996dd6d2502f7267414c471e5fd6d (diff) | |
download | pdfium-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 'xfa/fde/fde_iterator.h')
0 files changed, 0 insertions, 0 deletions