diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-04-23 17:53:17 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-23 17:53:17 +0000 |
commit | 9f71afb882a9d1294f8a4392b8553e2c285f51c7 (patch) | |
tree | e46a124f286e5985d8e9c8a9a5e5d9e708f78910 /fpdfsdk/fpdf_doc.cpp | |
parent | 132c38e7bdd0bdd1aa526b35c7bcb79c286fb061 (diff) | |
download | pdfium-9f71afb882a9d1294f8a4392b8553e2c285f51c7.tar.xz |
Provide double-byte terminator in Windows font variant name.
When parsing UTF16-LE, the default trailing "\0" from a single-byte
character literal isn't suffucient.
Bug: 835184
Change-Id: Ie7db53262adbec0ebccb5d0b22752b8c9f5e6229
Reviewed-on: https://pdfium-review.googlesource.com/31191
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdf_doc.cpp')
0 files changed, 0 insertions, 0 deletions