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:
g.prototype.lineTo=function(S,W){this.passThrough?this.originalLineTo.apply(this.canvas,arguments):(this.addOp(this.lineOp,S,W),this.lastX=S,this.lastY=W)};g.prototype.moveTo=function(S,W){this.passThrough?this.originalMoveTo.apply(this.canvas,arguments):(this.addOp(this.moveOp,S,W),this.lastX=S,this.lastY=W,this.firstX=S,this.firstY=W)};g.prototype.close=function(){this.passThrough?this.originalClose.apply(this.canvas,arguments):this.addOp(this.closeOp)};g.prototype.quadTo=function(S,W,T,X){this.passThrough?
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+=