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=P;sa.checkOverlap=!0;var ya=function(){0<sa.spacing&&sa.execute(z.getDefaultParent());for(var ia=0;ia<p.length;ia++){var ma=z.getCellGeometry(p[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"==I&&(ma.height=Math.round(z.snap(ma.height)))}};if("["==O.charAt(0)){var wa=n;z.view.validate();this.executeLayouts(z.createLayouts(JSON.parse(O)),function(){ya();wa()});n=null}else if("circle"==