diff options
author | Nicolas Pena <npm@chromium.org> | 2017-03-13 15:09:05 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-03-13 19:59:38 +0000 |
commit | 4ca5ba4dec653aff28d14c9f48715e93e8dfd490 (patch) | |
tree | 47ec9d81160109cd2686ba9a58da101fe39a2d30 /xfa/fde/cfde_txtedttextset.cpp | |
parent | 77e2a6c4589dcedb61789beefb1605ba2c0f1aff (diff) | |
download | pdfium-4ca5ba4dec653aff28d14c9f48715e93e8dfd490.tar.xz |
Fix boundary value negation in bmp_read_headerchromium/3041
When the value read is equal to -INT_MIN, we cannot negate it since it will
be out of bounds, so return error in this case.
BUG=chromium:628559
Change-Id: I7e47a71ef0d35cfb2d1fddc0ba644f9aac79ec3f
Reviewed-on: https://pdfium-review.googlesource.com/2965
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'xfa/fde/cfde_txtedttextset.cpp')
0 files changed, 0 insertions, 0 deletions