diff options
author | Nicolas Pena <npm@chromium.org> | 2017-01-10 14:00:16 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-01-10 19:49:11 +0000 |
commit | 29a9f87a8bcd1b6913bb070c5a1514af41fab3ef (patch) | |
tree | 434e77b043407957a4c244541d2affa00d50fd60 /codereview.settings | |
parent | d18b8674378b104a9b5bb1f015e3f92fc174673e (diff) | |
download | pdfium-29a9f87a8bcd1b6913bb070c5a1514af41fab3ef.tar.xz |
Restrict code size in CGifLZWDecoderchromium/2978
The code_size variable is the number of bits. We should make sure that
the size is at most 31 to avoid having undefined shifts etc.
BUG=620661
Change-Id: Ia533386d01de93a55048cfd63d63989b2731a210
Reviewed-on: https://pdfium-review.googlesource.com/2161
Reviewed-by: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'codereview.settings')
0 files changed, 0 insertions, 0 deletions