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