summaryrefslogtreecommitdiff
path: root/core/fxcodec/jbig2/JBig2_PatternDict.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-04-23 18:44:46 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-23 18:44:46 +0000
commit76e202c638e343cb59f255df59580f4d658d2f9c (patch)
treebe8ddefcfd6344c9bf7dbed50f5c64b9ed157e76 /core/fxcodec/jbig2/JBig2_PatternDict.cpp
parentbb47f9a442b5ea2196f18cb2df3cedd34b81b9ad (diff)
downloadpdfium-76e202c638e343cb59f255df59580f4d658d2f9c.tar.xz
Validate the Size dictionary entry in CPDF_SampledFunc.
It is required to be an array of positive integers. The existing implementation seems to accommodate non-compliant PDFs where the Size entry is an integer. Change-Id: I58faa3f84ca627f189c67bab5884d4b1f9b105ca Reviewed-on: https://pdfium-review.googlesource.com/31151 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'core/fxcodec/jbig2/JBig2_PatternDict.cpp')
0 files changed, 0 insertions, 0 deletions