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:
function(b,h,q,l,p){var v=b.state.strokeWidth/2,w=10+2*v,J=q+p-w/2;b.begin();b.moveTo(h,q);b.lineTo(h,q+p);b.moveTo(h+v,J);b.lineTo(h+v+w,J-w/2);b.moveTo(h+v,J);b.lineTo(h+v+w,J+w/2);b.moveTo(h+v,J);b.lineTo(h+l-v,J);b.moveTo(h+l,q);b.lineTo(h+l,q+p);b.moveTo(h+l-v,J);b.lineTo(h+l-w-v,J-w/2);b.moveTo(h+l-v,J);b.lineTo(h+l-w-v,J+w/2);b.end();b.stroke()};mxCellRenderer.registerShape("dimension",Ba);mxUtils.extend(Da,mxEllipse);Da.prototype.drawHidden=!0;Da.prototype.paintVertexShape=function(b,h,q,