Language: JavaScript
Label: safe
CWE: CWE-400 \u2014 Uncontrolled Resource Consumption
The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.

Code:
function(Ca){ta.id=Ca;ja.replies.push(ta);q(Na);Z&&Z()},function(Ca){sa();m(Na);b.handleError(Ca,null,null,null,mxUtils.htmlEntities(mxResources.get("objectNotFound")))},oa,va)}function sa(){d(ta,Na,function(Ca){Aa()},!0)}var Ba=fa().pdiv,ta=b.newComment(S,b.getCurrentUser());ta.pCommentId=ja.id;null==ja.replies&&(ja.replies=[]);var Na=y(ta,ja.replies,Ba,V+1);P?sa():Aa()}if(Q||!ja.isResolved){ba.style.display="none";var ra=document.createElement("div");ra.className="geCommentContainer";ra.setAttribute("data-commentId",