summaryrefslogtreecommitdiff
path: root/testing/gtest_mac.h
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-03-14 15:35:35 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-03-14 20:18:08 +0000
commitc83c28092f67f352cbd690138151b253dfdf547b (patch)
treeff8a13e860496ea38cd4449cd5d1363c5ba877a0 /testing/gtest_mac.h
parent23a5d7ea73f11ffac00239305e67c1bb46409878 (diff)
downloadpdfium-c83c28092f67f352cbd690138151b253dfdf547b.tar.xz
Prevent integer overflow in CPDF_CIDFONT::LoadMetricsArray
The CIDs are unsigned integers. Avoid overflow since they are given as input from the PDF file. BUG=chromium:700787 Change-Id: Icdc3efbbd0f4f2ad8d5b4f4f52926e20f7e06391 Reviewed-on: https://pdfium-review.googlesource.com/3052 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'testing/gtest_mac.h')
0 files changed, 0 insertions, 0 deletions