A crasher due to lacking 'template' node in XFA file
authorJun Fang <jun_fang@foxitsoftware.com>
Wed, 28 Oct 2015 10:36:28 +0000 (18:36 +0800)
committerJun Fang <jun_fang@foxitsoftware.com>
Wed, 28 Oct 2015 10:36:28 +0000 (18:36 +0800)
commitbf18cb6220aa19a64d2705640aad29d3f86ed04a
tree0f4854bd1ba7675fac2fd3deec353c5b84d78809
parentd43ebdd78a854ebdaa7de301321ef8e698541bd6
A crasher due to lacking 'template' node in XFA file

A template node is mandatory in XFA file. Pdfium should
ignore processing it when no template node is found in
XFA file.

BUG=pdfium:216
R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1423903002 .
BUILD.gn
pdfium.gyp
testing/resources/bug_216.in [new file with mode: 0644]
testing/resources/bug_216.pdf [new file with mode: 0644]
xfa/src/fxfa/src/parser/xfa_parser_imp.cpp
xfa/src/fxfa/src/parser/xfa_parser_imp_embeddertest.cpp [new file with mode: 0644]