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:
Math.min(T,Math.max(parseInt(fa.value),parseInt(ba.value))));ba.value=Math.max(1,Math.min(T,Math.min(parseInt(fa.value),parseInt(ba.value))))}function M(Ta){function Ka(ya,La,Ca,va){var Ma=ya.useCssTransforms,Oa=ya.currentTranslate,Xa=ya.currentScale,Qa=ya.view.translate,Ra=ya.view.scale;ya.useCssTransforms&&(ya.useCssTransforms=!1,ya.currentTranslate=new mxPoint(0,0),ya.currentScale=1,ya.view.translate=new mxPoint(0,0),ya.view.scale=1);var Pa=ya.getGraphBounds(),Na=0,Ya=0,Wa=Da.get(),ab=1/ya.pageScale,
$a=Ba.checked;if($a){ab=parseInt(ta.value);var gb=parseInt(ua.value);ab=Math.min(Wa.height*gb/(Pa.height/ya.view.scale),Wa.width*ab/(Pa.width/ya.view.scale))}else ab=parseInt(za.value)/(100*ya.pageScale),isNaN(ab)&&(Sa=1/ya.pageScale,za.value="100 %");Wa=mxRectangle.fromRectangle(Wa);Wa.width=Math.ceil(Wa.width*Sa);Wa.height=Math.ceil(Wa.height*Sa);ab*=Sa;!$a&&ya.pageVisible?(Pa=ya.getPageLayout(),Na-=Pa.x*Wa.width,Ya-=Pa.y*Wa.height):$a=!0;va=null!=va?"page/id,"+va:null;if(null==La){La=PrintDialog.createPrintPreview(ya,