Skip to content

Commit

Permalink
fix(android): xml parser null check (#13943)
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ga authored Nov 19, 2023
1 parent fafdde6 commit 3c0794f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ public NamedNodeMapProxy(NamedNodeMap map)
@Kroll.getProperty
public int getLength()
{
if (map == null) {
return 0;
}
return map.getLength();
}

Expand Down

0 comments on commit 3c0794f

Please sign in to comment.