Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/qflow-1.4.62+dfsg.1/src/vlog2Cel.c
Examining data/qflow-1.4.62+dfsg.1/src/spice2delay.c
Examining data/qflow-1.4.62+dfsg.1/src/addspacers.c
Examining data/qflow-1.4.62+dfsg.1/src/vlog2Spice.c
Examining data/qflow-1.4.62+dfsg.1/src/hash.h
Examining data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c
Examining data/qflow-1.4.62+dfsg.1/src/rc2dly.c
Examining data/qflow-1.4.62+dfsg.1/src/DEF2Verilog.c
Examining data/qflow-1.4.62+dfsg.1/src/readdef.h
Examining data/qflow-1.4.62+dfsg.1/src/readlef.c
Examining data/qflow-1.4.62+dfsg.1/src/vesta.c
Examining data/qflow-1.4.62+dfsg.1/src/readverilog.h
Examining data/qflow-1.4.62+dfsg.1/src/blifFanout.c
Examining data/qflow-1.4.62+dfsg.1/src/readverilog.c
Examining data/qflow-1.4.62+dfsg.1/src/readdef.c
Examining data/qflow-1.4.62+dfsg.1/src/vlog2Def.c
Examining data/qflow-1.4.62+dfsg.1/src/lef.h
Examining data/qflow-1.4.62+dfsg.1/src/readliberty.h
Examining data/qflow-1.4.62+dfsg.1/src/hash.c
Examining data/qflow-1.4.62+dfsg.1/src/readlef.h
Examining data/qflow-1.4.62+dfsg.1/src/readliberty.c
Examining data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c
Examining data/qflow-1.4.62+dfsg.1/src/vlogFanout.c
Examining data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c

FINAL RESULTS:

data/qflow-1.4.62+dfsg.1/src/addspacers.c:240:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(definname, argv[optind]);
data/qflow-1.4.62+dfsg.1/src/addspacers.c:883:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(filename, definname);
data/qflow-1.4.62+dfsg.1/src/addspacers.c:914:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	    sscanf(line + 11, "%g %g %g %g %s", &fllx, &flly, &furx, &fury, layer);
data/qflow-1.4.62+dfsg.1/src/addspacers.c:978:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(vianame, "%s_post", lefl->lefName);
data/qflow-1.4.62+dfsg.1/src/addspacers.c:1767:6:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	    sscanf(dptr, "%s", layer);
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:241:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			 strcpy(newport->signal, vddnet);
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:243:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			 strcpy(newport->signal, gndnet);
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:245:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			 strcpy(newport->signal, gndnet);
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:248:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			    strcpy(newport->signal, subnet);
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:278:19:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
              if (sscanf(line, ".model %s", MainSubcktName) == 1) {
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:326:25:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
                 while (sscanf(lptr, "%s", InputName) == 1) {
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:347:25:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
                 while (sscanf(lptr, "%s", OutputName) == 1) {
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:366:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	      if (sscanf(lptr, ".%*s %s", InstanceName) == 1) {
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:402:11:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		    if (sscanf(lptr, "%s", InstancePortName) != 1) break;
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:404:11:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
		    if (sscanf(lptr, "%s", InstancePortWire) != 1) break;
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:414:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			     sprintf(tport->signal, "%s", InstancePortWire);
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:197:19:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
              if (sscanf(lptr, ".model %s", MainSubcktName) == 1) {
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:209:22:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
                 if (sscanf(lptr, "%s", InputName) == 1) {
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:245:17:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	               strcat(allinputs, InputName);
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:271:22:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
                 if (sscanf(lptr, "%s", OutputName) == 1) {
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:307:17:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	               strcat(alloutputs, OutputName);
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:353:12:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	      if (sscanf(lptr, ".%*s %s", InstanceName) == 1) {
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:386:18:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	            if (sscanf(lptr, "%s", InstancePortName) != 1) break;
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:388:18:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
	            if (sscanf(lptr, "%s", InstancePortWire) != 1) break;
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:397:20:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	                  strcpy(InstancePortWire, InputNodes[i]);
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:405:20:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	                  strcpy(InstancePortWire, OutputNodes[i]);
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:425:17:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	               strcat(dum, InstancePortWire);
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:426:17:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	               strcpy(InstancePortWire, dum);
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:430:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			    strcpy(InstancePortWire, VddVal);
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:432:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			    strcpy(InstancePortWire, GndVal);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1149:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(inputline, line);		// save this for later
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1163:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(nodename, "%s", nl->nodename);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1194:10:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			      sprintf(nodename, "%s_hier%d", nl->nodename, hier);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1256:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		  sprintf(nodename, "%s", nl->nodename);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1287:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(nodename, "%s_hier%d", nl->nodename, hier);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1401:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		  sprintf(bufferline, "%s", bbest->gatename);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1411:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		  sprintf(bufferline, 
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1468:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(gateline, inputline);	/* Append input line to gate */
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:189:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(new_node->name, name);
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:907:29:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                        if (sprintf(name, "%s_n%d", tokens[0], nodeNum) < 0) {
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:944:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    if (sprintf(name, "%s_n%d", tokens[0], nodeNum) < 0) {
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:959:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    if (sprintf(name, "%s_r%d", tokens[0], rNum) < 0) {
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:1036:25:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                    if (sprintf(name, "%s_r%d", tokens[0], rNum) < 0) {
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:1137:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy(currElm->name, tokens[0]);
data/qflow-1.4.62+dfsg.1/src/readdef.c:687:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(instname, token);
data/qflow-1.4.62+dfsg.1/src/readdef.c:691:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			    strcpy(instname, token);
data/qflow-1.4.62+dfsg.1/src/readdef.c:695:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			    strcpy(pinname, token);
data/qflow-1.4.62+dfsg.1/src/readdef.c:1806:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(filename, "%s.def", inName);
data/qflow-1.4.62+dfsg.1/src/readdef.c:1808:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(filename, inName);
data/qflow-1.4.62+dfsg.1/src/readlef.c:346:2:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	vfprintf(stderr, fmt, args);
data/qflow-1.4.62+dfsg.1/src/readlef.c:2200:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(newname, "%250s_%d", mname, suffix);
data/qflow-1.4.62+dfsg.1/src/readlef.c:3205:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(filename, "%s.lef", inName);
data/qflow-1.4.62+dfsg.1/src/readlef.c:3207:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(filename, inName);
data/qflow-1.4.62+dfsg.1/src/readlef.c:3273:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		    sprintf(vianame, "%s_0", token);
data/qflow-1.4.62+dfsg.1/src/readliberty.c:197:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(newfunc, lib_func);
data/qflow-1.4.62+dfsg.1/src/readliberty.c:276:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
       strcpy(savfunc, newfunc);
data/qflow-1.4.62+dfsg.1/src/readliberty.c:280:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	  sprintf(start, "(%s*!%s + !%s*%s)",
data/qflow-1.4.62+dfsg.1/src/readliberty.c:283:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	  sprintf(start, "(%s*!%s + !%s*%s) %s",
data/qflow-1.4.62+dfsg.1/src/readliberty.c:289:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(newfunc, savfunc);
data/qflow-1.4.62+dfsg.1/src/readliberty.c:482:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(busbit, busformat, rootname, i);
data/qflow-1.4.62+dfsg.1/src/readliberty.c:982:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(newcell->name, "**%s", tmpname);
data/qflow-1.4.62+dfsg.1/src/readliberty.c:1495:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(currcell->name, currcell->name + 2);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:236:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(sstring, stoken);    /* Just copy to the end */
data/qflow-1.4.62+dfsg.1/src/readverilog.c:420:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy(newbuf, line);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:470:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		    strcpy(t, kl);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1196:4:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
			strcpy(pkey, nexttok);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1306:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(iname, "%s/%s", fname, iptr);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1313:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(iname, "%s%s", userpath, iptr + 1);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1327:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(iname, "%s%s", userpath, pathstart);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1399:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			    sprintf(paramval, "%s %s", paramlast, nexttok);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1685:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
				    strcat(in_line_net, nexttok);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1710:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				    sprintf(expnet, "%s [%s", new_port->net, nexttok);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1916:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy(name, (*CellStackPtr)->cell->name);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1919:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(ppath + 1, fname);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1921:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		strcpy(name, fname);
data/qflow-1.4.62+dfsg.1/src/spice2delay.c:118:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(new_cell_io->name, tokens[1]);
data/qflow-1.4.62+dfsg.1/src/spice2delay.c:144:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(new_node->name, name);
data/qflow-1.4.62+dfsg.1/src/spice2delay.c:300:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(curr_r->name, tokens[0]);
data/qflow-1.4.62+dfsg.1/src/vesta.c:1691:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf(busbit, busformat, rootname, i);
data/qflow-1.4.62+dfsg.1/src/vesta.c:2831:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(newnet->name, "%s[%d]", port->name, vstart);
data/qflow-1.4.62+dfsg.1/src/vesta.c:4048:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(summaryfile, "%s/reg_to_reg_max.log", summarydir);
data/qflow-1.4.62+dfsg.1/src/vesta.c:4200:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(summaryfile, "%s/reg_to_reg_min.log", summarydir);
data/qflow-1.4.62+dfsg.1/src/vesta.c:4333:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(summaryfile, "%s/pin_to_reg_max.log", summarydir);
data/qflow-1.4.62+dfsg.1/src/vesta.c:4449:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(summaryfile, "%s/pin_to_reg_min.log", summarydir);
data/qflow-1.4.62+dfsg.1/src/vlog2Cel.c:372:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			    sprintf(apin, "%s[%d]", port->name, a);
data/qflow-1.4.62+dfsg.1/src/vlog2Cel.c:374:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			    sprintf(apin, "%s", port->name);
data/qflow-1.4.62+dfsg.1/src/vlog2Cel.c:398:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
				sprintf(anet, "%s", pptr);
data/qflow-1.4.62+dfsg.1/src/vlog2Cel.c:414:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			    sprintf(anet, "%s[%d]", port->net, fidx);
data/qflow-1.4.62+dfsg.1/src/vlog2Cel.c:419:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			    sprintf(anet, "%s[%d]", port->net, a);
data/qflow-1.4.62+dfsg.1/src/vlog2Def.c:257:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(portnet, "%s[%d]", port->name, i);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:304:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy(bptr, binhex);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:376:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy(bptr, binoct);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:460:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy(bptr, binhex);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:522:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		    sprintf(subname, "%s[%d]", sptr, idx);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:530:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		    sprintf(subname, "%s", sptr);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:544:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(subname, "%s[%d]", netname, idx);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:802:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
				    strcat(expand, VddNet);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:813:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
				    strcat(expand, unconnect);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:819:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
				    strcat(expand, GndNet);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:835:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
				    strcat(expand, VddNet);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:841:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
				    strcat(expand, GndNet);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:854:8:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			    strcat(expand, sptr);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:861:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat(expand, sptr);
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:377:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		    sprintf(nodename, "%s", nl->nodename);
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:402:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(spos, "_bF$buf%d%s", nl->curcount,
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:415:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
			sprintf(spos, "_hier%d%s", hier,
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:441:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(nodename, "%s", nl->nodename);
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:463:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(spos, "_bF$buf%d%s", i,
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:476:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(spos, "_hier%d%s", hier,
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:484:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(instname, "%s_insert%d", Clkbufname, cidx);
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:496:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(instname, "%s_insert%d", Buffername, cidx);
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:1043:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(instname, "%s_insert%d", bbest->gatename, cidx);
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:1585:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(netname, "%s[%d]", port->name, i);
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:1591:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(netname, "%s[%d]", port->name, i);
data/qflow-1.4.62+dfsg.1/src/DEF2Verilog.c:58:17:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((i = getopt(argc, argv, "hHv:o:l:p:g:")) != EOF) {
data/qflow-1.4.62+dfsg.1/src/addspacers.c:166:17:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((i = getopt(argc, argv, "hHvOn:o:l:p:g:f:w:P:s:")) != EOF) {
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:32:20:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern	int	optind, getopt();
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:84:17:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((i = getopt( argc, argv, "hHil:p:g:s:" )) != EOF) {
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:29:20:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern	int	optind, getopt();
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:75:21:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        while( (i = getopt( argc, argv, "pbchnHv:g:" )) != EOF ) {
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:298:16:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
   while ((i = getopt(argc, argv, "fLSgnhvl:c:b:i:o:p:s:I:F:")) != EOF) {
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:548:13:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
        c = getopt_long (argc, argv, "hv:r:l:d:D:V:", long_options, &option_index);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1311:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		userpath = getenv("HOME");
data/qflow-1.4.62+dfsg.1/src/spice2delay.c:506:19:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((opt = getopt(argc, argv, "s:l:o:v:")) != -1) {
data/qflow-1.4.62+dfsg.1/src/vlog2Cel.c:49:17:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((i = getopt(argc, argv, "hHu:l:o:")) != EOF) {
data/qflow-1.4.62+dfsg.1/src/vlog2Def.c:48:17:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((i = getopt(argc, argv, "hHl:a:d:u:o:")) != EOF) {
data/qflow-1.4.62+dfsg.1/src/vlog2Spice.c:63:17:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((i = getopt(argc, argv, "hHidD:l:s:o:")) != EOF) {
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:61:17:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((i = getopt(argc, argv, "pbchnHv:g:l:o:a:")) != EOF) {
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:1310:17:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
    while ((i = getopt(argc, argv, "fLSgnhvl:c:b:i:o:p:s:I:F:")) != EOF) {
data/qflow-1.4.62+dfsg.1/src/DEF2Verilog.c:290:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf(netname, "_proxy_no_connect_%d_", nccount++);
data/qflow-1.4.62+dfsg.1/src/DEF2Verilog.c:401:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	outfptr = fopen(vlogoutname, "w");
data/qflow-1.4.62+dfsg.1/src/addspacers.c:239:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        definname = (char *)malloc(strlen(argv[optind]) + 5);
data/qflow-1.4.62+dfsg.1/src/addspacers.c:242:20:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
	if (pptr == NULL) strcat(definname, ".def");
data/qflow-1.4.62+dfsg.1/src/addspacers.c:287:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char posname[32];
data/qflow-1.4.62+dfsg.1/src/addspacers.c:405:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(posname, "%dx%d", instx, insty);
data/qflow-1.4.62+dfsg.1/src/addspacers.c:441:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf(posname, "%dx%d", x, y);
data/qflow-1.4.62+dfsg.1/src/addspacers.c:462:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf(posname, "%dx%d", x, y);
data/qflow-1.4.62+dfsg.1/src/addspacers.c:466:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(posname, "%dx%d", nx, y);
data/qflow-1.4.62+dfsg.1/src/addspacers.c:504:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(posname, "FILL%dx%d", x, y);
data/qflow-1.4.62+dfsg.1/src/addspacers.c:514:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(posname, "%dx%d", x, y);
data/qflow-1.4.62+dfsg.1/src/addspacers.c:595:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char posname[32];
data/qflow-1.4.62+dfsg.1/src/addspacers.c:747:6:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	    sprintf(posname, "%dx%d", x, y);
data/qflow-1.4.62+dfsg.1/src/addspacers.c:761:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(posname, "%dx%d", nx, y);
data/qflow-1.4.62+dfsg.1/src/addspacers.c:777:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(posname, "SFILL%dx%d", x + totalfx, y);
data/qflow-1.4.62+dfsg.1/src/addspacers.c:869:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[256];
data/qflow-1.4.62+dfsg.1/src/addspacers.c:870:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char layer[32];
data/qflow-1.4.62+dfsg.1/src/addspacers.c:886:2:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
	strcat(filename, ".obs");
data/qflow-1.4.62+dfsg.1/src/addspacers.c:888:2:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
	sprintf(pptr, ".obs");
data/qflow-1.4.62+dfsg.1/src/addspacers.c:890:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fobsin = fopen(filename, "r");
data/qflow-1.4.62+dfsg.1/src/addspacers.c:898:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(pptr, ".obsx");
data/qflow-1.4.62+dfsg.1/src/addspacers.c:900:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fobsout = fopen(filename, "w");
data/qflow-1.4.62+dfsg.1/src/addspacers.c:963:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char vianame[128];
data/qflow-1.4.62+dfsg.1/src/addspacers.c:1536:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char *orients[8] = {"N", "S", "E", "W", "FN", "FS", "FE", "FW"};
data/qflow-1.4.62+dfsg.1/src/addspacers.c:1632:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char line[LEF_LINE_MAX + 2];
data/qflow-1.4.62+dfsg.1/src/addspacers.c:1648:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	outfptr = fopen(defoutname, "w");
data/qflow-1.4.62+dfsg.1/src/addspacers.c:1672:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    infptr = fopen(definname, "r");
data/qflow-1.4.62+dfsg.1/src/addspacers.c:1704:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char namepos[16];
data/qflow-1.4.62+dfsg.1/src/addspacers.c:1744:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	    char layer[64];
data/qflow-1.4.62+dfsg.1/src/addspacers.c:1960:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *railnames[2] = {GndNet, VddNet};
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:52:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char signal[LengthOfNodeName];	// Instance can write signal name here
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:123:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	NET1 = fopen(Net1name,"r");
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:130:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	NET2 = fopen(Net2name, "r");
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:156:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char line[LengthOfLine];
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:158:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char InputName[LengthOfNodeName];
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:159:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char OutputName[LengthOfNodeName];
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:160:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char MainSubcktName[LengthOfNodeName];
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:161:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char InstanceName[LengthOfNodeName];
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:162:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char InstancePortName[LengthOfNodeName];
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:163:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char InstancePortWire[LengthOfNodeName];
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:451:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void CleanupString(char text[LengthOfNodeName])
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:120:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	    NET1=fopen(Net1name,"r");
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:156:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char line[LengthOfLine];
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:163:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char InputName[LengthOfNodeName];
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:164:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char OutputName[LengthOfNodeName];
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:165:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char MainSubcktName[LengthOfNodeName];
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:166:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char InstanceName[LengthOfNodeName];
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:167:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char InstancePortName[LengthOfNodeName];
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:168:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char InstancePortWire[LengthOfNodeName];
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:169:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char dum[LengthOfNodeName];
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:244:17:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
	               strcat(allinputs, "input ");
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:246:17:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
	               strcat(allinputs, ";\n");
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:306:17:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
	               strcat(alloutputs, "output ");
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:308:17:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
	               strcat(alloutputs, ";\n");
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:424:17:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	               strcpy(dum, "N_");
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:463:9:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	return atoi(begin);
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:480:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void CleanupString(char text[LengthOfNodeName], unsigned char Flags)
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:351:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	    MaxFanout = atoi(optarg);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:408:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if (!(infptr = fopen(Inputfname, "r"))) {
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:416:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if (!(outfptr = fopen(Outputfname, "w"))) {
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:780:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char line[MAXLINE];	/* One net per line, should not need dynamic allocation */
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:783:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   if (!(ignorefptr = fopen(ignore_file_name, "r"))) {
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1098:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char bufferline[MAXLINE];
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1099:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char nodename[MAXLINE];
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1170:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			      sprintf(spos, "_bF$buf%d]", i);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1178:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			      sprintf(spos, "_bF$buf%d", i);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1182:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			      sprintf(spos, "_bF$buf%d", i);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1263:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		        sprintf(spos, "_bF$buf%d]", nl->curcount);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1271:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		        sprintf(spos, "_bF$buf%d", nl->curcount);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1275:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		        sprintf(spos, "_bF$buf%d", nl->curcount);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1376:18:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	                strcpy(p, "_bF$buf]\";\n");            // rename it
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1378:18:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
	                strcat(s, "_bF%buf\";\n");
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1381:15:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
	             strcat(s, "_bF$buf\";\n");            // rename it
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:85:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char	mapped[12];
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:566:26:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                rcfile = fopen(optarg, "r");
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:587:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                libfile = fopen(optarg, "r");
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:613:31:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                    outfile = fopen(optarg, "w");
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:638:27:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                verbose = atoi(optarg);
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:685:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char delims[3] = " \n";
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:710:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char outstr[200];
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:756:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                num_net_drivers = atoi(tokens[1]);
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:792:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
                num_net_drivers = atoi(tokens[1]);
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:817:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char outstr[200];
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:878:31:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            num_net_drivers = atoi(tokens[t]);
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:889:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            num_rxers = atoi(tokens[t]);
data/qflow-1.4.62+dfsg.1/src/readdef.c:81:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char namepos[32];
data/qflow-1.4.62+dfsg.1/src/readdef.c:83:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(namepos, "%d", yval);
data/qflow-1.4.62+dfsg.1/src/readdef.c:583:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char instname[MAX_NAME_LEN], pinname[MAX_NAME_LEN];
data/qflow-1.4.62+dfsg.1/src/readdef.c:692:8:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			    strcpy(pinname, "pin");
data/qflow-1.4.62+dfsg.1/src/readdef.c:908:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char pinname[MAX_NAME_LEN];
data/qflow-1.4.62+dfsg.1/src/readdef.c:1169:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char vianame[LEF_LINE_MAX];
data/qflow-1.4.62+dfsg.1/src/readdef.c:1570:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char usename[512];
data/qflow-1.4.62+dfsg.1/src/readdef.c:1751:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[256];
data/qflow-1.4.62+dfsg.1/src/readdef.c:1752:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char namepos[32];
data/qflow-1.4.62+dfsg.1/src/readdef.c:1810:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen(filename, "r");
data/qflow-1.4.62+dfsg.1/src/readdef.c:1913:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(namepos, "%d", newrow->y);
data/qflow-1.4.62+dfsg.1/src/readlef.c:232:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char line[LEF_LINE_MAX + 2];	/* input buffer */
data/qflow-1.4.62+dfsg.1/src/readlef.c:385:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *match_name[2];
data/qflow-1.4.62+dfsg.1/src/readlef.c:2119:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char *token, *pname, tsave[128];
data/qflow-1.4.62+dfsg.1/src/readlef.c:2195:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char newname[256];
data/qflow-1.4.62+dfsg.1/src/readlef.c:2356:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(tsave, "%.127s", token);
data/qflow-1.4.62+dfsg.1/src/readlef.c:3166:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char filename[256];
data/qflow-1.4.62+dfsg.1/src/readlef.c:3168:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tsave[128];
data/qflow-1.4.62+dfsg.1/src/readlef.c:3209:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    f = fopen(filename, "r");
data/qflow-1.4.62+dfsg.1/src/readlef.c:3267:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(tsave, "%.127s", token);
data/qflow-1.4.62+dfsg.1/src/readlef.c:3310:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(tsave, "%.127s", token);
data/qflow-1.4.62+dfsg.1/src/readlef.c:3339:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(tsave, "site_%.122s", token);
data/qflow-1.4.62+dfsg.1/src/readlef.c:3369:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(tsave, "%.127s", token);
data/qflow-1.4.62+dfsg.1/src/readlef.c:3403:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy(gateginfo->gatename, "pin");
data/qflow-1.4.62+dfsg.1/src/readliberty.c:31:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char line[LIB_LINE_MAX];
data/qflow-1.4.62+dfsg.1/src/readliberty.c:190:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char newfunc[16384];
data/qflow-1.4.62+dfsg.1/src/readliberty.c:191:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char savfunc[16384];
data/qflow-1.4.62+dfsg.1/src/readliberty.c:304:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char newfunc[16384];
data/qflow-1.4.62+dfsg.1/src/readliberty.c:458:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char busbit[1024];
data/qflow-1.4.62+dfsg.1/src/readliberty.c:537:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    flib = fopen(libfile, "r");
data/qflow-1.4.62+dfsg.1/src/readverilog.c:253:15:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    locfile = fopen(name, "r");
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1098:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char pkey[256];
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1669:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			    char localnet[100];
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1672:8:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
			    sprintf(localnet, "_noconnect_%d_", localcount++);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1906:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char name[256];
data/qflow-1.4.62+dfsg.1/src/spice2delay.c:510:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            spcfile = fopen(optarg, "r");
data/qflow-1.4.62+dfsg.1/src/spice2delay.c:518:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            libfile = fopen(optarg, "r");
data/qflow-1.4.62+dfsg.1/src/spice2delay.c:530:27:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                outfile = fopen(optarg, "w");
data/qflow-1.4.62+dfsg.1/src/spice2delay.c:538:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            verbose = atoi(optarg);
data/qflow-1.4.62+dfsg.1/src/spice2delay.c:568:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    const char delims[3] = " \n";
data/qflow-1.4.62+dfsg.1/src/vesta.c:389:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char line[LIB_LINE_MAX];
data/qflow-1.4.62+dfsg.1/src/vesta.c:1672:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char busbit[1024];
data/qflow-1.4.62+dfsg.1/src/vesta.c:2537:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                            memcpy(tableptr->idx1.times, reftable->idx1.times,
data/qflow-1.4.62+dfsg.1/src/vesta.c:2544:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                            memcpy(tableptr->idx2.caps, reftable->idx2.caps,
data/qflow-1.4.62+dfsg.1/src/vesta.c:3148:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char c[128];
data/qflow-1.4.62+dfsg.1/src/vesta.c:3149:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char d[128];
data/qflow-1.4.62+dfsg.1/src/vesta.c:3834:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fsrc = fopen(argv[firstarg], "r");
data/qflow-1.4.62+dfsg.1/src/vesta.c:3870:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	flib = fopen(argv[firstarg + i], "r");
data/qflow-1.4.62+dfsg.1/src/vesta.c:3930:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fdly = fopen(delayfile, "r");
data/qflow-1.4.62+dfsg.1/src/vesta.c:4051:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fsum = fopen(summaryfile, "w");
data/qflow-1.4.62+dfsg.1/src/vesta.c:4201:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fsum = fopen(summaryfile, "w");
data/qflow-1.4.62+dfsg.1/src/vesta.c:4334:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fsum = fopen(summaryfile, "w");
data/qflow-1.4.62+dfsg.1/src/vesta.c:4450:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fsum = fopen(summaryfile, "w");
data/qflow-1.4.62+dfsg.1/src/vlog2Cel.c:125:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	outfptr = fopen(outfile, "w");
data/qflow-1.4.62+dfsg.1/src/vlog2Def.c:209:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char portnet[512];
data/qflow-1.4.62+dfsg.1/src/vlog2Def.c:226:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	outfptr = fopen(outname, "w");
data/qflow-1.4.62+dfsg.1/src/vlog2Spice.c:168:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[LengthOfLine];
data/qflow-1.4.62+dfsg.1/src/vlog2Spice.c:173:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	outfile = fopen(outname, "w");
data/qflow-1.4.62+dfsg.1/src/vlog2Spice.c:192:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	libfile = fopen(libname, "r");
data/qflow-1.4.62+dfsg.1/src/vlog2Spice.c:286:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	    libfile = fopen(libname, "r");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:224:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char binhex[5];
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:246:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "ZZZZ");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:249:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "0000");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:252:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "0001");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:255:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "0010");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:258:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "0011");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:261:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "0100");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:264:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "0101");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:267:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "0110");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:270:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "0111");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:273:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "1000");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:276:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "1001");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:279:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "1010");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:282:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "1011");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:285:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "1100");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:288:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "1101");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:291:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "1110");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:294:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "1111");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:319:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char binoct[4];
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:342:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binoct, "ZZZ");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:345:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binoct, "000");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:348:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binoct, "001");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:351:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binoct, "010");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:354:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binoct, "011");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:357:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binoct, "100");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:360:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binoct, "101");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:363:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binoct, "110");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:366:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binoct, "11");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:391:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char binhex[5];
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:399:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(hstring, "%0*x", hexc, dval);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:406:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "0000");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:409:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "0001");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:412:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "0010");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:415:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "0011");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:418:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "0100");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:421:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "0101");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:424:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "0110");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:427:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "0111");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:430:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "1000");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:433:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "1001");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:436:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "1010");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:439:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "1011");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:442:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "1100");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:445:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "1101");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:448:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "1110");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:451:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
		strcpy(binhex, "1111");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:572:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	outfptr = fopen(outname, "w");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:805:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
				    char unconnect[20];
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:809:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
				    sprintf(unconnect, "\\$_unconn_%d_ ", nunconn++);
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:298:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char nodename[MAXLINE];
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:299:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char instname[MAXLINE];
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:526:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[MAXLINE];	/* One net per line, should not need dynamic allocation */
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:529:24:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!(ignorefptr = fopen(ignore_file_name, "r"))) {
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:919:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char instname[MAXLINE];
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:1008:4:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
			strcpy(p, "_bF$buf]\";\n");            // rename it
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:1010:4:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
			strcat(s, "_bF%buf\";\n");
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:1013:7:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		    strcat(s, "_bF$buf\";\n");            // rename it
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:1282:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char netname[MAXLINE];
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:1363:15:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		MaxFanout = atoi(optarg);
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:1427:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if (!(outfptr = fopen(Outputfname, "w"))) {
data/qflow-1.4.62+dfsg.1/src/DEF2Verilog.c:191:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (*(p->name + strlen(p->name) - 1) != ' ')
data/qflow-1.4.62+dfsg.1/src/addspacers.c:239:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        definname = (char *)malloc(strlen(argv[optind]) + 5);
data/qflow-1.4.62+dfsg.1/src/addspacers.c:323:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    fnamelen = (fillcellname) ? strlen(fillcellname) : 0;
data/qflow-1.4.62+dfsg.1/src/addspacers.c:611:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    minstripes = strlen(stripepat);
data/qflow-1.4.62+dfsg.1/src/addspacers.c:882:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    filename = (char *)malloc(strlen(definname) + 6);
data/qflow-1.4.62+dfsg.1/src/addspacers.c:1236:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    n = strlen(pattern);
data/qflow-1.4.62+dfsg.1/src/blif2BSpice.c:547:24:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while(--lim > 0 && (c=getc(fp)) != EOF && c != '\n')
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:243:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				strlen(allinputs) + strlen(InputName) + 9);
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:243:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				strlen(allinputs) + strlen(InputName) + 9);
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:305:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				strlen(alloutputs) + strlen(OutputName) + 10);
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:305:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				strlen(alloutputs) + strlen(OutputName) + 10);
data/qflow-1.4.62+dfsg.1/src/blif2Verilog.c:607:24:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while(--lim > 0 && (c=getc(fp)) != EOF && c != '\n')
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:204:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      suffix = gatename + strlen(gatename) - 1;
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:215:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	 suffix += strlen(separator);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:543:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      curline = strlen(line);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:548:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	 curline = strlen(line);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:863:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    ind = strlen(gl->gatename);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1139:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      curline = strlen(line);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1145:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	 curline = strlen(line);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1165:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			   slen = strlen(nodename);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1258:15:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     slen = strlen(nodename);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1296:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		  slen = strlen(nodename);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1301:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		  memmove(s + slen - strlen(nl->nodename), s, strlen(s) + 1);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1301:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		  memmove(s + slen - strlen(nl->nodename), s, strlen(s) + 1);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1302:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		  strncpy(s, nodename, slen); 
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1419:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     int glen = strlen(gl->gatename);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1420:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		     int slen = strlen(glbest->gatename);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1426:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			    gateline = (char *)realloc(gateline, strlen(gateline)
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1430:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			memmove(s + slen, s + glen, strlen(s + glen) + 1);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1433:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		     strncpy(s, glbest->gatename, slen);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1446:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (strlen(gateline) > 0) gateline[strlen(gateline) - 1] = 0;
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1446:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            if (strlen(gateline) > 0) gateline[strlen(gateline) - 1] = 0;
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1467:44:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      gateline = (char *)realloc(gateline, strlen(gateline) + strlen(inputline) + 10);
data/qflow-1.4.62+dfsg.1/src/blifFanout.c:1467:63:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      gateline = (char *)realloc(gateline, strlen(gateline) + strlen(inputline) + 10);
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:188:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    new_node->name = calloc(strlen(name) + 1, sizeof(char));
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:905:58:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                        name = calloc(1, sizeof(char) * (strlen(tokens[0]) + 10));
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:943:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    name = calloc(1, sizeof(char) * (strlen(tokens[0]) + 10));
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:958:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    name = calloc(1, sizeof(char) * (strlen(tokens[0]) + 10));
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:1035:54:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                    name = calloc(1, sizeof(char) * (strlen(tokens[0]) + 10));
data/qflow-1.4.62+dfsg.1/src/rc2dly.c:1135:55:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            currElm->name = calloc(1, sizeof(char) * (strlen(tokens[0]) + 1));
data/qflow-1.4.62+dfsg.1/src/readdef.c:981:7:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
		if (sscanf(token, "%2047s", pinname) != 1)
data/qflow-1.4.62+dfsg.1/src/readdef.c:1208:7:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
		if (sscanf(token, "%2047s", vianame) != 1)
data/qflow-1.4.62+dfsg.1/src/readdef.c:1619:7:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
		if (sscanf(token, "%511s", usename) != 1)
data/qflow-1.4.62+dfsg.1/src/readdef.c:1919:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		if (strlen(token) != 1) {
data/qflow-1.4.62+dfsg.1/src/readlef.c:3272:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    char *vianame = (char *)malloc(strlen(token) + 3);
data/qflow-1.4.62+dfsg.1/src/readliberty.c:169:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    tptr = token + strlen(token) - 1;
data/qflow-1.4.62+dfsg.1/src/readliberty.c:178:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	memmove(token, token + 1, strlen(token));
data/qflow-1.4.62+dfsg.1/src/readliberty.c:227:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
          strncpy(rhs, fptr, sptr - fptr + 1);
data/qflow-1.4.62+dfsg.1/src/readliberty.c:234:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
          strncpy(rhs + 1, fptr, sptr - fptr + 1);
data/qflow-1.4.62+dfsg.1/src/readliberty.c:266:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
          strncpy(lhs, sptr, fptr - sptr + 1);
data/qflow-1.4.62+dfsg.1/src/readliberty.c:272:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
          strncpy(lhs + 1, sptr, fptr - sptr + 1);
data/qflow-1.4.62+dfsg.1/src/readliberty.c:279:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
       if (strlen(rest) == 0)
data/qflow-1.4.62+dfsg.1/src/readliberty.c:402:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int plen = strlen(pattern);
data/qflow-1.4.62+dfsg.1/src/readliberty.c:428:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    sptr = name + strlen(name) - plen + 1;
data/qflow-1.4.62+dfsg.1/src/readliberty.c:981:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			newcell->name = (char *)malloc(strlen(tmpname) + 3);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:148:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	sstring = (char *)malloc(strlen(pstring) + 1);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:199:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(sstring, stoken, 2);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:204:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(sstring, stoken, (int)(s - stoken));
data/qflow-1.4.62+dfsg.1/src/readverilog.c:215:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		    strncpy(sstring, stoken, 1);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:220:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		    strncpy(sstring, stoken, (int)(s - stoken));
data/qflow-1.4.62+dfsg.1/src/readverilog.c:229:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(sstring, stoken, (int)(s - stoken));
data/qflow-1.4.62+dfsg.1/src/readverilog.c:346:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		slen = strlen(lptr);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:370:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		slen = strlen(lptr);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:407:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	testc = getc(infile);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:418:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	while (strlen(line) == linesize - 1) {
data/qflow-1.4.62+dfsg.1/src/readverilog.c:442:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    dlen = strlen(s);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:443:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    vlen = strlen(kl);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:451:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    len = strlen(line);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:471:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    t += strlen(t);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1305:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		iname = (char *)malloc(strlen(fname) + strlen(iptr) + 2);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1305:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		iname = (char *)malloc(strlen(fname) + strlen(iptr) + 2);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1312:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		iname = (char *)malloc(strlen(userpath) + strlen(iptr));
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1312:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		iname = (char *)malloc(strlen(userpath) + strlen(iptr));
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1326:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			iname = (char *)malloc(strlen(userpath) + strlen(pathstart) + 1);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1326:46:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			iname = (char *)malloc(strlen(userpath) + strlen(pathstart) + 1);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1397:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			    paramval = (char *)malloc(strlen(paramlast) +
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1398:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					strlen(nexttok) + 2);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1683:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						strlen(in_line_net) +
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1684:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						strlen(nexttok) + 1);
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1708:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				    expnet = (char *)malloc(strlen(new_port->net)
data/qflow-1.4.62+dfsg.1/src/readverilog.c:1709:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						+ strlen(nexttok) + 3);
data/qflow-1.4.62+dfsg.1/src/spice2delay.c:116:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    new_cell_io->name = calloc((strlen(tokens[1]) + 1), sizeof(char));
data/qflow-1.4.62+dfsg.1/src/spice2delay.c:143:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    new_node->name = calloc(strlen(name) + 1, sizeof(char));
data/qflow-1.4.62+dfsg.1/src/spice2delay.c:299:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    curr_r->name = calloc(strlen(tokens[0]) + 1, sizeof(char));
data/qflow-1.4.62+dfsg.1/src/vesta.c:535:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    tptr = token + strlen(token) - 1;
data/qflow-1.4.62+dfsg.1/src/vesta.c:2830:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		newnet->name = (char *)malloc(strlen(port->name) + 6);
data/qflow-1.4.62+dfsg.1/src/vesta.c:3380:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int namelen = strlen(net->name);
data/qflow-1.4.62+dfsg.1/src/vesta.c:3383:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                int instlen = strlen(net->driver->refinst->name);
data/qflow-1.4.62+dfsg.1/src/vesta.c:3385:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                int pinlen = strlen(net->driver->refpin->name);
data/qflow-1.4.62+dfsg.1/src/vesta.c:3391:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            int instlen = strlen(curr->receiver->refinst->name);
data/qflow-1.4.62+dfsg.1/src/vlog2Cel.c:369:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    apin = (char *)malloc(strlen(port->name) + 15);
data/qflow-1.4.62+dfsg.1/src/vlog2Cel.c:397:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				anet = (char *)malloc(strlen(pptr) + 1);
data/qflow-1.4.62+dfsg.1/src/vlog2Cel.c:412:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			    anet = (char *)malloc(strlen(port->net) + 15);
data/qflow-1.4.62+dfsg.1/src/vlog2Cel.c:418:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			    anet = (char *)malloc(strlen(port->net) + 15);
data/qflow-1.4.62+dfsg.1/src/vlog2Spice.c:460:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		gptr = libport->name + strlen(libport->name) - 1;
data/qflow-1.4.62+dfsg.1/src/vlog2Spice.c:473:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			gptr = port->name + strlen(port->name) - 1;
data/qflow-1.4.62+dfsg.1/src/vlog2Spice.c:601:29:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while(--lim > 0 && (c = getc(fp)) != EOF && c != '\n')
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:139:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    int n = strlen(text);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:230:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(hstring, uval, hexc);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:298:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy(bptr, binhex + (4 - first), first);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:326:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(ostring, uval, octc);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:370:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy(bptr, binoct + (3 - first), first);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:455:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy(bptr, binhex + (4 - first), first);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:504:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    if (pptr == NULL) pptr = sptr + strlen(sptr) - 1;
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:521:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    subname = (char *)realloc(subname, strlen(sptr) + 10);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:529:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    subname = (char *)realloc(subname, strlen(sptr) + 1);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:543:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	subname = (char *)realloc(subname, strlen(netname) + 10);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:708:7:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		    strcpy(expand, "{");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:788:35:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			    if (brepeat < 0) brepeat = strlen(bitstring);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:792:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				expand = (char *)realloc(expand, strlen(expand) + 2);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:793:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
				strcat(expand, "{");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:800:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						strlen(expand) +
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:801:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						strlen(VddNet) + 2);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:811:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						strlen(expand) + strlen(unconnect)
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:811:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						strlen(expand) + strlen(unconnect)
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:817:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						strlen(expand) +
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:818:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						strlen(GndNet) + 2);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:823:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
				    strcat(expand, ",");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:833:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						strlen(expand) +
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:834:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						strlen(VddNet) + 2);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:839:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						strlen(expand) +
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:840:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
						strlen(GndNet) + 2);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:845:9:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
				    strcat(expand, ",");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:852:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			    expand = (char *)realloc(expand, strlen(expand) +
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:853:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
					strlen(sptr) + 1);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:859:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			expand = (char *)realloc(expand, strlen(expand) +
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:860:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				strlen(sptr) + 1);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:864:37:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			expand = (char *)realloc(expand, strlen(expand) + 2);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:865:4:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
			strcat(expand, ",");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:873:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    expand = (char *)realloc(expand, strlen(expand) + 2);
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:874:7:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
		    strcat(expand, "}");
data/qflow-1.4.62+dfsg.1/src/vlog2Verilog.c:924:48:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    if (!strncmp(gate->gatename, AntennaCell, strlen(AntennaCell))) {
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:226:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	suffix = gatename + strlen(gatename) - 1;
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:237:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    suffix += strlen(separator);
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:381:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	 		slen = strlen(nodename);
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:394:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				memmove(dptr - 1, dptr, strlen(dptr));
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:445:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		slen = strlen(nodename);
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:456:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			memmove(dptr - 1, dptr, strlen(dptr));
data/qflow-1.4.62+dfsg.1/src/vlogFanout.c:609:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    ind = strlen(gl->gatename);

ANALYSIS SUMMARY:

Hits = 473
Lines analyzed = 26598 in approximately 0.79 seconds (33534 lines/second)
Physical Source Lines of Code (SLOC) = 19115
Hits@level = [0] 1241 [1] 139 [2] 205 [3]  15 [4] 114 [5]   0
Hits@level+ = [0+] 1714 [1+] 473 [2+] 334 [3+] 129 [4+] 114 [5+]   0
Hits/KSLOC@level+ = [0+] 89.6678 [1+] 24.745 [2+] 17.4732 [3+] 6.74863 [4+] 5.9639 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.