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