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:
F){var Ca=P&&this.isResampleImageSize(S.size,U)?Math.min(1,Math.min(q/la,q/ya)):1;return t(qa,S.type,g+V*l,n+V*l,Math.round(la*Ca),Math.round(ya*Ca),S.name)}this.handleError({message:mxResources.get("imageTooBig")});return null}))}),P,q,U,S.size)}),mxUtils.bind(this,function(){this.handleError({message:mxResources.get("invalidOrMissingFile")})})))}else Y=Z.target.result,t(Y,S.type,g+V*l,n+V*l,240,160,S.name,function(ha){T(V,function(){return ha})},S)}catch(ha){T(V,mxUtils.bind(this,function(){return null})),