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:
h=l/5;b.rect(0,0,h,p);b.fillAndStroke();b.rect(2*h,0,h,p);b.fillAndStroke();b.rect(4*h,0,h,p);b.fillAndStroke()};mxCellRenderer.registerShape("parallelMarker",T);U.prototype.moveTo=function(b,h){this.originalMoveTo.apply(this.canvas,arguments);this.lastX=b;this.lastY=h;this.firstX=b;this.firstY=h};U.prototype.close=function(){null!=this.firstX&&null!=this.firstY&&(this.lineTo(this.firstX,this.firstY),this.originalClose.apply(this.canvas,arguments));this.originalClose.apply(this.canvas,arguments)};