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:
new mxParallelEdgeLayout(z);sa.spacing=J;sa.checkOverlap=!0;var ya=function(){0<sa.spacing&&sa.execute(z.getDefaultParent());for(var ia=0;ia<q.length;ia++){var ma=z.getCellGeometry(q[ia]);ma.x=Math.round(z.snap(ma.x));ma.y=Math.round(z.snap(ma.y));"auto"==F&&(ma.width=Math.round(z.snap(ma.width)));"auto"==H&&(ma.height=Math.round(z.snap(ma.height)))}};if("["==Q.charAt(0)){var wa=t;z.view.validate();this.executeLayouts(z.createLayouts(JSON.parse(Q)),function(){ya();wa()});t=null}else if("circle"==