DescriptionCheck 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
Committed: https://pdfium.googlesource.com/pdfium/+/73733f079c086562d8e7c2943ed16cf6f95b2c42
Patch Set 1 #
Messages
Total messages: 6 (3 generated)
|