commit | 1ed2ceb70476b135a3dedbb45549d6b3bc6ecdea | [log] [tgz] |
---|---|---|
author | Jun Fang <jun_fang@foxitsoftware.com> | Thu Apr 09 09:59:41 2015 -0700 |
committer | Jun Fang <jun_fang@foxitsoftware.com> | Thu Apr 09 09:59:41 2015 -0700 |
tree | 315f30c198dc74541008a08a800abf0a1d46d8a1 | |
parent | cbcc7305fd8d0d0fbed316ed092642de10c3b207 [diff] |
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