summaryrefslogtreecommitdiff
path: root/core/src/fxge/win32
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-03-02 17:38:08 -0800
committerTom Sepez <tsepez@chromium.org>2016-03-02 17:38:08 -0800
commit73733f079c086562d8e7c2943ed16cf6f95b2c42 (patch)
tree1187a3efbdcc990f3338a0c0b08172f6879eb2ad /core/src/fxge/win32
parentd87b20e1ae765cb65281c5bd7c12fc41e8a86780 (diff)
downloadpdfium-73733f079c086562d8e7c2943ed16cf6f95b2c42.tar.xz
Check that the names buffer is not empty before passing to GetNameFromTT.
Due to implicit conversion if the names buffer is empty then nullptr will be passed to GetNameFromTT which blindly dereferences it leading to a NPD if an invalid font file is read. BUG=583037 Patch by forshaw@ R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1763493003 .
Diffstat (limited to 'core/src/fxge/win32')
0 files changed, 0 insertions, 0 deletions