diff options
author | npm <npm@chromium.org> | 2016-12-01 10:36:44 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-12-01 10:36:44 -0800 |
commit | 9be9c3486688b84c723f41c85327abec238f15f9 (patch) | |
tree | 371d760fe93594355b54bcb547ca558dbba7ac2c /.clang-format | |
parent | 02759102cf998c9e937b3b65b64ed6b4c3b104bc (diff) | |
download | pdfium-9be9c3486688b84c723f41c85327abec238f15f9.tar.xz |
Improve early return in CGifLZWDecoder::Decode
|code_size_cur| could be larger than |code_size|, so |code| could be
larger than |code_end|. If this happens, early return, since the Decode
has failed.
BUG=659417
Review-Url: https://codereview.chromium.org/2542673004
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions