break if too many iterations

This commit is contained in:
Kyle Spearrin 2018-02-10 09:39:45 -05:00
parent 2b1a556e9e
commit aeb01ba292
1 changed files with 1 additions and 0 deletions

View File

@ -462,6 +462,7 @@ namespace Bit.Android
if(i > 100) if(i > 100)
{ {
global::Android.Util.Log.Info(BitwardenTag, "Too many child iterations."); global::Android.Util.Log.Info(BitwardenTag, "Too many child iterations.");
break;
} }
else if(childNode.GetHashCode() == n.GetHashCode()) else if(childNode.GetHashCode() == n.GetHashCode())
{ {