summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-11-03 18:37:35 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-03 18:37:35 +0000
commitff63663ce08c31efa416bc797c2d3ef96759f780 (patch)
tree3df06355d62efac59b2123d2b4bb5abd7c536022 /core/fpdfapi/parser
parentd7999f6a794207842544214d015af6f06322157c (diff)
downloadpdfium-ff63663ce08c31efa416bc797c2d3ef96759f780.tar.xz
The component count in CPDF_IndexedCS should be unsigned.
Since the source of the component count is unsigned. Adjust related variables to also be unsigned. In CPDF_IndexedCS::GetRGB(), switch integer overflow code to use FX_SAFE_SIZE_T, and write to the out params correctly on failure. Change-Id: If7405b4c5e9022ba1992fff2be2bcc1a7826adf4 Reviewed-on: https://pdfium-review.googlesource.com/17770 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/parser')
0 files changed, 0 insertions, 0 deletions