DescriptionFix a crasher in LoadFont() when non-standard font is used in XFA files
This CL includes the following changes:
1. Add return value for InitFont(). It can indicate a failure
in the initialization of non-standard fonts.
2. Change NULL to nullptr.
3. Rewrite several pointer checking.
BUG=pdfium:279, pdfium:286
R=tsepez@chromium.org
Committed: https://pdfium.googlesource.com/pdfium/+/d6c62cfd71e5bc6b22e20f20384b748664e1aff4
Patch Set 1 #
Total comments: 2
Patch Set 2 : #
Messages
Total messages: 8 (5 generated)
|