summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_annot.cpp
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-01-10 14:00:16 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-01-10 19:49:11 +0000
commit29a9f87a8bcd1b6913bb070c5a1514af41fab3ef (patch)
tree434e77b043407957a4c244541d2affa00d50fd60 /fpdfsdk/cpdfsdk_annot.cpp
parentd18b8674378b104a9b5bb1f015e3f92fc174673e (diff)
downloadpdfium-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 'fpdfsdk/cpdfsdk_annot.cpp')
0 files changed, 0 insertions, 0 deletions