diff options
author | Lei Zhang <thestig@chromium.org> | 2018-08-10 16:47:57 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-10 16:47:57 +0000 |
commit | b0fc6e958634d919349e2a7611dd99f121e41d7d (patch) | |
tree | cc6610035e78f6c54fc7c567474fcb41cac5c7fb /core/fpdfapi/font/cpdf_truetypefont.cpp | |
parent | 939426c5cdcbc93f9f197b159133a3b4d735dcb0 (diff) | |
download | pdfium-b0fc6e958634d919349e2a7611dd99f121e41d7d.tar.xz |
Fix a JBIG2 decoding regression.
When trying to sanity check SBNUMINSTANCES for JBIG2 text regions for
https://crbug.com/837192, the check did not take data encoding into
account. Fix this by assuming there is a potential for 16:1 compression
in the lossless encoding.
BUG=chromium:871848
Change-Id: I991dacff9fbefa4e302f5ce92a355902ef94308a
Reviewed-on: https://pdfium-review.googlesource.com/39790
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/font/cpdf_truetypefont.cpp')
0 files changed, 0 insertions, 0 deletions