Skip to content

Commit

Permalink
break if too many iterations
Browse files Browse the repository at this point in the history
  • Loading branch information
kspearrin committed Feb 10, 2018
1 parent 2b1a556 commit aeb01ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Android/AutofillService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ private NodeList GetWindowNodes(AccessibilityNodeInfo n, AccessibilityEvent e,
if(i > 100)
{
global::Android.Util.Log.Info(BitwardenTag, "Too many child iterations.");
break;
}
else if(childNode.GetHashCode() == n.GetHashCode())
{
Expand Down

0 comments on commit aeb01ba

Please sign in to comment.