diff options
author | Lei Zhang <thestig@chromium.org> | 2018-08-13 23:48:51 +0000 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2018-08-13 23:48:51 +0000 |
commit | 139f7fbf60c4031760e15d28546d9d221c0fdc65 (patch) | |
tree | b7ab4daa41e42dd8bb71b1019268b3e65d4afb3b /xfa/fxfa/cxfa_textprovider.cpp | |
parent | ace0c8cfa6ccc97e32e083b4d7ca9d026772c585 (diff) | |
download | pdfium-chromium/3497.tar.xz |
M69: Fix a JBIG2 decoding regression.chromium/3497
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.
TBR=rharrison@chromium.org
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>
(cherry picked from commit b0fc6e958634d919349e2a7611dd99f121e41d7d)
Reviewed-on: https://pdfium-review.googlesource.com/39993
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_textprovider.cpp')
0 files changed, 0 insertions, 0 deletions