diff options
author | Oliver Chang <ochang@chromium.org> | 2015-11-11 15:46:24 -0800 |
---|---|---|
committer | Oliver Chang <ochang@chromium.org> | 2015-11-11 15:46:24 -0800 |
commit | 9b99615806e358fdb396d1cb162ee2e69c2a20ec (patch) | |
tree | 3031d7080a9616dfa6d8d4d997e72eaed4ab1b1a /core/src/fdrm | |
parent | f20a34c0f2dfca49f735a0f11147254c26831e7c (diff) | |
download | pdfium-9b99615806e358fdb396d1cb162ee2e69c2a20ec.tar.xz |
Fix extraction of colour components in CPDF_DIBSource::DownSampleScanline32Bit
Previously, if |m_bpc| was < 8 (e.g. 4), this function may still try to
access the source components as if |m_bpc| == 8. Even when it fell into
the codepath that tried to do the right thing in this case, it was
wrong.
BUG=554151
R=tsepez@chromium.org, thestig@chromium.org
Review URL: https://codereview.chromium.org/1433423002 .
Diffstat (limited to 'core/src/fdrm')
0 files changed, 0 insertions, 0 deletions