diff options
author | Nicolas Pena <npm@chromium.org> | 2017-05-15 10:59:07 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-15 15:54:13 +0000 |
commit | 34f8e1fd650883c8107d925a6c6b87090d52d278 (patch) | |
tree | ec7b90043be6d4ae00920dfe71a452174fc75b98 /xfa/fxfa/parser/xfa_document_datadescription_imp.cpp | |
parent | d2afac1e9200478997e308eecc582a073185d7ab (diff) | |
download | pdfium-chromium/3101.tar.xz |
Gif: error out on invalid code sizeschromium/3101
From the Gif spec:
'The output codes are of variable length, starting at <code size>+1 bits per
code, up to 12 bits per code. This defines a maximum code value of 4095
(0xFFF).'
'Because the LZW compression used for GIF creates a series of variable length
codes, of between 3 and 12 bits each'
Bug: chromium:722115
Change-Id: Ic9cff99e6012195a6b5173693b029dc710285688
Reviewed-on: https://pdfium-review.googlesource.com/5490
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/xfa_document_datadescription_imp.cpp')
0 files changed, 0 insertions, 0 deletions