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:
B){var Fa=N&&this.isResampleImageSize(T.size,V)?Math.min(1,Math.min(n/na,n/Aa)):1;return p(pa,T.type,e+W*g,k+W*g,Math.round(na*Fa),Math.round(Aa*Fa),T.name)}this.handleError({message:mxResources.get("imageTooBig")});return null}))}),N,n,V,T.size)}),mxUtils.bind(this,function(){this.handleError({message:mxResources.get("invalidOrMissingFile")})})))}else Y=Z.target.result,p(Y,T.type,e+W*g,k+W*g,240,160,T.name,function(ha){Q(W,function(){return ha})},T)}catch(ha){Q(W,mxUtils.bind(this,function(){return null})),