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:
p-y):Y&&!N?b.lineTo(l-y,p):"square"==w||"default"==w&&"square"==v||!Y?b.lineTo(l-y,p-y):"rounded"==w||"default"==w&&"rounded"==v||"snip"==w||"default"==w&&"snip"==v?b.lineTo(l-J-.5*y,p-y):b.lineTo(l-J-y,p-y):b.lineTo(l,p)};Fa.prototype.paintSWInner=function(b,h,q,l,p,v,w,J,y,Y){if(!Y)b.lineTo(y,p);else if("square"==w||"default"==w&&"square"==v)b.lineTo(y,p-y);else if("rounded"==w||"default"==w&&"rounded"==v)b.arcTo(J-.5*y,J-.5*y,0,0,0,J+.5*y,p-y);else if("invRound"==w||"default"==w&&"invRound"==v)b.arcTo(J+
y,J+y,0,0,1,J+y,p-y);else if("snip"==w||"default"==w&&"snip"==v)b.lineTo(J+.5*y,p-y);else if("fold"==w||"default"==w&&"fold"==v)b.lineTo(y+J,p-J-y),b.lineTo(y+J,p-y)};Fa.prototype.moveSWInner=function(b,h,q,l,p,v,w,J,y,Y){Y?"square"==w||"default"==w&&"square"==v?b.moveTo(y,p-y):"rounded"==w||"default"==w&&"rounded"==v||"snip"==w||"default"==w&&"snip"==v?b.moveTo(y,p-J-.5*y):("invRound"==w||"default"==w&&"invRound"==v||"fold"==w||"default"==w&&"fold"==v)&&b.moveTo(y,p-J-y):b.moveTo(0,p-y)};Fa.prototype.lineSWInner=