diff options
author | Nicolas Pena <npm@chromium.org> | 2017-06-09 17:55:51 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-06-09 22:18:01 +0000 |
commit | b83d870b007f25b18e6b7a4ce2a417420d4dcb89 (patch) | |
tree | ac93373d9041028aca7d50d473c2cf949331a94b /core/fxcrt/include/fx_ucd.h | |
parent | 897c4b922f1fb50b942cda6cab0f4605f8afac3c (diff) | |
download | pdfium-chromium/3127.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/fxcrt/include/fx_ucd.h')
0 files changed, 0 insertions, 0 deletions