Language: JavaScript
Label: vulnerable
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:
.2;Ia.prototype.redrawPath=function(b,h,q,l,p){h=Math.min(p,l);var v=Math.max(0,Math.min(h,h*parseFloat(mxUtils.getValue(this.style,"size",this.size))));h=(p-v)/2;q=h+v;var w=(l-v)/2;v=w+v;b.moveTo(0,h);b.lineTo(w,h);b.lineTo(w,0);b.lineTo(v,0);b.lineTo(v,h);b.lineTo(l,h);b.lineTo(l,q);b.lineTo(v,q);b.lineTo(v,p);b.lineTo(w,p);b.lineTo(w,q);b.lineTo(0,q);b.close();b.end()};mxCellRenderer.registerShape("cross",Ia);mxUtils.extend(Ea,mxActor);Ea.prototype.size=.25;Ea.prototype.redrawPath=function(b,