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,S,W,T,X),this.lastX=T,this.lastY=X)};g.prototype.curveTo=function(S,W,T,X,Z,Y){this.passThrough?this.originalCurveTo.apply(this.canvas,arguments):(this.addOp(this.curveOp,S,W,T,X,Z,Y),this.lastX=Z,this.lastY=Y)};g.prototype.arcTo=function(S,W,T,X,Z,Y,ba){if(this.passThrough)this.originalArcTo.apply(this.canvas,arguments);else{var fa=mxUtils.arcToCurves(this.lastX,this.lastY,S,W,T,X,Z,Y,ba);if(null!=fa)for(var ca=0;ca<fa.length;ca+=
6)this.curveTo(fa[ca],fa[ca+1],fa[ca+2],fa[ca+3],fa[ca+4],fa[ca+5]);this.lastX=Y;this.lastY=ba}};g.prototype.rect=function(S,W,T,X){this.passThrough?this.originalRect.apply(this.canvas,arguments):(this.path=[],this.nextShape=this.rc.generator.rectangle(S,W,T,X,this.getStyle(!0,!0)))};g.prototype.ellipse=function(S,W,T,X){this.passThrough?this.originalEllipse.apply(this.canvas,arguments):(this.path=[],this.nextShape=this.rc.generator.ellipse(S+T/2,W+X/2,T,X,this.getStyle(!0,!0)))};g.prototype.roundrect=