summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.cpp b/xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.cpp
index cbaa86f0fd..b0f112ae90 100644
--- a/xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.cpp
+++ b/xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.cpp
@@ -90,6 +90,8 @@ void CScript_SignaturePseudoModel::Script_SignaturePseudoModel_Enumerate(
}
IXFA_Doc* hDoc = pNotify->GetHDOC();
CXFA_NodeList* pList = pNotify->GetDocProvider()->Enumerate(hDoc);
+ if (!pList)
+ return;
FXJSE_Value_Set(pArguments->GetReturnValue(),
m_pDocument->GetScriptContext()->GetJSValueFromMap(pList));
}