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 09:59:41 -0700 |
commit | 1ed2ceb70476b135a3dedbb45549d6b3bc6ecdea (patch) | |
tree | 315f30c198dc74541008a08a800abf0a1d46d8a1 /core/src/fxcrt/fx_basic_coords.cpp | |
parent | cbcc7305fd8d0d0fbed316ed092642de10c3b207 (diff) | |
download | pdfium-chromium/2364.tar.xz |
Fix a global buffer overflow in GCPDF_CIDFont::_CharCodeFromUnicodechromium/2368chromium/2367chromium/2366chromium/2365chromium/2364
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 'core/src/fxcrt/fx_basic_coords.cpp')
0 files changed, 0 insertions, 0 deletions