diff options
author | dsinclair <dsinclair@chromium.org> | 2016-08-17 13:28:51 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-17 13:28:51 -0700 |
commit | 9282819ce86f93ca46a73adb43b5c50289f4c99e (patch) | |
tree | 1974e2626210b3078e6bc95d39f6a5c17d32963d /fpdfsdk/fpdfppo.cpp | |
parent | d691899dbff8a8aa024596302fcea1f7d7935252 (diff) | |
download | pdfium-9282819ce86f93ca46a73adb43b5c50289f4c99e.tar.xz |
Speculative fix for DrawAppearance issue
If the control is not found in the CPDF_InterForm control map then
::GetControlByDict can return nullptr. This nullptr was not handled in
CPDFSDK_Widget::GetFormField(). This Cl propagates the nullptr back up to the
caller methods and fixes the returns as needed.
This is a speculative crash to fix the referenced bug.
BUG=chromium:637953
Review-Url: https://codereview.chromium.org/2256783003
Diffstat (limited to 'fpdfsdk/fpdfppo.cpp')
0 files changed, 0 insertions, 0 deletions