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:
if(0==V&&0==B)V=H,B=1;else if(Math.abs(V-H)<=(m||1==p&&N?e:0))B+=1;else if(1<B&&N){n=n.slice(0,p+1);break}else if(3<=n.length-p&&!N)B=0,R=V=0!=O?O:0,n.splice(0,0==p?1:p),p=-1;else break;0!=R||m||(V=R=H)}3==n.length&&n[1]==J&&(R=0)}e=function(v,A,I,g){var x=[];if(g){g=P;var F=0}else g=0,F=P;x.push(new mxPoint(v.x-g,v.y-F));x.push(new mxPoint(v.x+g,v.y+F));x.push(v);x.push(A);x.push(new mxPoint(A.x-g,A.y-F));x.push(new mxPoint(A.x+g,A.y+F));if(null!=I)return I.points=x,I;v=new mxPolyline(x,mxConstants.GUIDE_COLOR,
mxConstants.GUIDE_STROKEWIDTH);v.dialect=mxConstants.DIALECT_SVG;v.pointerEvents=!1;v.init(U.graph.getView().getOverlayPane());return v};V=function(v,A){if(v&&null!=U.guidesArrHor)for(v=0;v<U.guidesArrHor.length;v++)U.guidesArrHor[v].node.style.visibility="hidden";if(A&&null!=U.guidesArrVer)for(v=0;v<U.guidesArrVer.length;v++)U.guidesArrVer[v].node.style.visibility="hidden"};if(1<B&&B==n.length-1){B=[];O=U.guidesArrHor;K=[];L=0;p=n[0]==J?1:0;N=n[p].y+n[p].height;if(0<R)for(p=0;p<n.length-1;p++)c=