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