Language: JavaScript
Label: safe
CWE: CWE-78 \u2014 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Code:
this.originalQuadTo.apply(this.canvas,arguments):(this.addOp(this.quadOp,W,V,S,X),this.lastX=S,this.lastY=X)};l.prototype.curveTo=function(W,V,S,X,Z,Y){this.passThrough?this.originalCurveTo.apply(this.canvas,arguments):(this.addOp(this.curveOp,W,V,S,X,Z,Y),this.lastX=Z,this.lastY=Y)};l.prototype.arcTo=function(W,V,S,X,Z,Y,aa){if(this.passThrough)this.originalArcTo.apply(this.canvas,arguments);else{var ca=mxUtils.arcToCurves(this.lastX,this.lastY,W,V,S,X,Z,Y,aa);if(null!=ca)for(var da=0;da<ca.length;da+=
6)this.curveTo(ca[da],ca[da+1],ca[da+2],ca[da+3],ca[da+4],ca[da+5]);this.lastX=Y;this.lastY=aa}};l.prototype.rect=function(W,V,S,X){this.passThrough?this.originalRect.apply(this.canvas,arguments):(this.path=[],this.nextShape=this.rc.generator.rectangle(W,V,S,X,this.getStyle(!0,!0)))};l.prototype.ellipse=function(W,V,S,X){this.passThrough?this.originalEllipse.apply(this.canvas,arguments):(this.path=[],this.nextShape=this.rc.generator.ellipse(W+S/2,V+X/2,S,X,this.getStyle(!0,!0)))};l.prototype.roundrect=