summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/javascript
diff options
context:
space:
mode:
authorJun Fang <jun_fang@foxitsoftware.com>2015-11-27 16:27:07 +0800
committerJun Fang <jun_fang@foxitsoftware.com>2015-11-27 16:27:07 +0800
commitd6c62cfd71e5bc6b22e20f20384b748664e1aff4 (patch)
tree51991d27cd34fcf6210ce04ee20abbbd5ad5e31e /fpdfsdk/include/javascript
parent1bf1024d43293dacdd7ee5490c46b650b3bbd1d2 (diff)
downloadpdfium-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 'fpdfsdk/include/javascript')
0 files changed, 0 insertions, 0 deletions