summaryrefslogtreecommitdiff
path: root/core/fpdftext/cpdf_linkextract.cpp
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-06-09 17:55:51 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-06-09 22:18:01 +0000
commitb83d870b007f25b18e6b7a4ce2a417420d4dcb89 (patch)
treeac93373d9041028aca7d50d473c2cf949331a94b /core/fpdftext/cpdf_linkextract.cpp
parent897c4b922f1fb50b942cda6cab0f4605f8afac3c (diff)
downloadpdfium-b83d870b007f25b18e6b7a4ce2a417420d4dcb89.tar.xz
Fix types for FT_ULong chars in fpdfedittextchromium/3128chromium/3127
FXFT_Get_First(Next)_Char can return large unsigned values. This CL avoids integer overflow and adds some missing checks regarding the ranges of the values returned by those methods. Bug: chromium:727086 Change-Id: Ice7bbb3759e384b7174680a82a2a9380c3611382 Reviewed-on: https://pdfium-review.googlesource.com/6436 Commit-Queue: Nicolás Peña <npm@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdftext/cpdf_linkextract.cpp')
0 files changed, 0 insertions, 0 deletions