diff options
author | Jun Fang <jun_fang@foxitsoftware.com> | 2015-04-09 09:59:41 -0700 |
---|---|---|
committer | JUN FANG <jun_fang@foxitsoftware.com> | 2015-04-09 10:18:48 -0700 |
commit | e081aa0ffc57b70b8ff6581e956617f898c7b9e0 (patch) | |
tree | 82221323df6be5f6fecede9295b078dc4e2fe4f6 /testing/tools | |
parent | 245c80e410deff6ee35f62adce42dd0fcf46845a (diff) | |
download | pdfium-e081aa0ffc57b70b8ff6581e956617f898c7b9e0.tar.xz |
Merge to XFA: Fix a global buffer overflow in GCPDF_CIDFont::_CharCodeFromUnicode
There is not a code page (CP) used for converting unicode to mutli-bytes
if the coding scheme is CID coding. Only return 0 if CID can't be retrieved.
The difference on Windows and other platforms should be the function used
for converting rather than others.
BUG=466790
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1074653002
Diffstat (limited to 'testing/tools')
0 files changed, 0 insertions, 0 deletions