mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
trivial fix for bug 268033 "crash when <bind> has an empty nodeset attribute"
This commit is contained in:
parent
c279fed7dd
commit
040f12fb03
@ -698,6 +698,7 @@ nsXFormsModelElement::ProcessBind(nsIDOMXPathEvaluator *aEvaluator,
|
||||
if (NS_FAILED(rv))
|
||||
return PR_FALSE; // dispatch a binding exception
|
||||
}
|
||||
NS_ENSURE_TRUE(result, PR_FALSE);
|
||||
|
||||
PRUint32 snapLen;
|
||||
rv = result->GetSnapshotLength(&snapLen);
|
||||
|
Loading…
Reference in New Issue
Block a user