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:
function(c,m,v,p,t){var C=mxUtils.getValue(this.style,"fixedSize",this.fixedSize),D=parseFloat(mxUtils.getValue(this.style,"size",this.size));D=C?Math.max(0,Math.min(p,D)):p*Math.max(0,Math.min(1,D));this.isRounded&&(C=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100,D=Math.max(D,Math.min(p*C,t*C)));D=Math.round(D);c.begin();c.moveTo(m+D,v);c.lineTo(m+D,v+t);c.moveTo(m+p-D,v);c.lineTo(m+p-D,v+t);c.end();c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,
arguments)};mxCellRenderer.registerShape("process",ca);mxCellRenderer.registerShape("process2",ca);mxUtils.extend(ja,mxRectangleShape);ja.prototype.paintBackground=function(c,m,v,p,t){c.setFillColor(mxConstants.NONE);c.rect(m,v,p,t);c.fill()};ja.prototype.paintForeground=function(c,m,v,p,t){};mxCellRenderer.registerShape("transparent",ja);mxUtils.extend(ma,mxHexagon);ma.prototype.size=30;ma.prototype.position=.5;ma.prototype.position2=.5;ma.prototype.base=20;ma.prototype.getLabelMargins=function(){return new mxRectangle(0,