diff options
author | Jun Fang <jun_fang@foxitsoftware.com> | 2015-11-27 16:27:07 +0800 |
---|---|---|
committer | Jun Fang <jun_fang@foxitsoftware.com> | 2015-11-27 16:27:07 +0800 |
commit | d6c62cfd71e5bc6b22e20f20384b748664e1aff4 (patch) | |
tree | 51991d27cd34fcf6210ce04ee20abbbd5ad5e31e /public/fpdf_formfill.h | |
parent | 1bf1024d43293dacdd7ee5490c46b650b3bbd1d2 (diff) | |
download | pdfium-d6c62cfd71e5bc6b22e20f20384b748664e1aff4.tar.xz |
Fix 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
Review URL: https://codereview.chromium.org/1465423002 .
Diffstat (limited to 'public/fpdf_formfill.h')
0 files changed, 0 insertions, 0 deletions