summaryrefslogtreecommitdiff
path: root/core/fpdfapi
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-11-30 18:10:11 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-30 18:10:11 +0000
commitfee910e6f81fd199bfe4fd62ea538d1bc33056a8 (patch)
treecf35f656740661f9ff6e9a762da1024fa7802f75 /core/fpdfapi
parent646257d65c653acdf2bea96c69e0550ca03340c6 (diff)
downloadpdfium-fee910e6f81fd199bfe4fd62ea538d1bc33056a8.tar.xz
Prevent integer overflow in CJBig2_HuffmanTable::ParseFromCodedBuffer
In this CL we prevent integer overflow by checking that the integers are in the appropriate range before casting from unsigned to signed. Bug: 789524 Change-Id: I41572849f18ffb0f0739c80130ee6b5061845d29 Reviewed-on: https://pdfium-review.googlesource.com/20011 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Diffstat (limited to 'core/fpdfapi')
0 files changed, 0 insertions, 0 deletions