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/transcalc-0.14/src/transcalc.c
Examining data/transcalc-0.14/src/setup_menu.c
Examining data/transcalc-0.14/src/options.c
Examining data/transcalc-0.14/src/help.c
Examining data/transcalc-0.14/src/setup_body.c
Examining data/transcalc-0.14/src/setup_status.c
Examining data/transcalc-0.14/src/image_util.c
Examining data/transcalc-0.14/src/unitscombo.c
Examining data/transcalc-0.14/src/setup_label.c
Examining data/transcalc-0.14/src/setup_values.c
Examining data/transcalc-0.14/src/setup_transgui.c
Examining data/transcalc-0.14/src/file_io.c
Examining data/transcalc-0.14/src/print_trans.c
Examining data/transcalc-0.14/src/microstrip.c
Examining data/transcalc-0.14/src/c_microstrip.c
Examining data/transcalc-0.14/src/rectwaveguide.c
Examining data/transcalc-0.14/src/coax.c
Examining data/transcalc-0.14/src/callback_general.c
Examining data/transcalc-0.14/src/fnmatch.c
Examining data/transcalc-0.14/src/units.h
Examining data/transcalc-0.14/src/transcalc.h
Examining data/transcalc-0.14/src/setup_menu.h
Examining data/transcalc-0.14/src/unitscombo.h
Examining data/transcalc-0.14/src/menu.h
Examining data/transcalc-0.14/src/help.h
Examining data/transcalc-0.14/src/body.h
Examining data/transcalc-0.14/src/options.h
Examining data/transcalc-0.14/src/setup.h
Examining data/transcalc-0.14/src/file_io.h
Examining data/transcalc-0.14/src/microstrip.h
Examining data/transcalc-0.14/src/c_microstrip.h
Examining data/transcalc-0.14/src/rectwaveguide.h
Examining data/transcalc-0.14/src/coax.h
Examining data/transcalc-0.14/src/convert.h
Examining data/transcalc-0.14/src/callback_general.h
Examining data/transcalc-0.14/src/fnmatch.h

FINAL RESULTS:

data/transcalc-0.14/src/c_microstrip.c:1020:3:  [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(results, text);
data/transcalc-0.14/src/c_microstrip.c:1022:3:  [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(results, text);
data/transcalc-0.14/src/c_microstrip.c:1024:3:  [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(results, text);
data/transcalc-0.14/src/c_microstrip.c:1026:3:  [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(results, text);
data/transcalc-0.14/src/c_microstrip.c:1028:3:  [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(results, text);
data/transcalc-0.14/src/c_microstrip.c:1031:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(text, "Skin Depth = %.4g %s\n", (c_ms->skindepth * conv_length[LENGTH_M][required_unit]), length_unit_text(getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[4])->entry)))));
data/transcalc-0.14/src/c_microstrip.c:1032:3:  [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(results, text);
data/transcalc-0.14/src/coax.c:289: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(results, text);
data/transcalc-0.14/src/coax.c:295:2:  [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(results, text);
data/transcalc-0.14/src/coax.c:301:6:  [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(text,temp);
data/transcalc-0.14/src/coax.c:305:2:  [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(results, text);
data/transcalc-0.14/src/coax.c:313:2:  [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(results, text);
data/transcalc-0.14/src/coax.c:318: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(text,temp);
data/transcalc-0.14/src/coax.c:322:2:  [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(results,text);
data/transcalc-0.14/src/coax.c:439: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(results, text);
data/transcalc-0.14/src/coax.c:445:2:  [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(results, text);
data/transcalc-0.14/src/coax.c:451:6:  [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(text,temp);
data/transcalc-0.14/src/coax.c:455:2:  [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(results, text);
data/transcalc-0.14/src/coax.c:463:2:  [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(results, text);
data/transcalc-0.14/src/coax.c:468: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(text,temp);
data/transcalc-0.14/src/coax.c:472:2:  [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(results,text);
data/transcalc-0.14/src/file_io.c:199:5:  [4] (buffer) fscanf:
  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.
    fscanf(fp, "%s %s\n", tmp_str1, tmp_str2);
data/transcalc-0.14/src/file_io.c:209:5:  [4] (buffer) fscanf:
  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.
    fscanf(fp, "%s %s\n", tmp_str1, tmp_str2);
data/transcalc-0.14/src/file_io.c:219:5:  [4] (buffer) fscanf:
  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.
    fscanf(fp, "%s %s\n", tmp_str1, tmp_str2);
data/transcalc-0.14/src/file_io.c:229:5:  [4] (buffer) fscanf:
  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.
    fscanf(fp, "%s %i\n", tmp_str1, &tmp_int);
data/transcalc-0.14/src/file_io.c:237:5:  [4] (buffer) fscanf:
  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.
    fscanf(fp, "%s %s\n", tmp_str1, tmp_str2);
data/transcalc-0.14/src/help.c:54:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(help_txt, "\n TRANSCALC %s\n",VERSION);
data/transcalc-0.14/src/help.c:55:5:  [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(help_txt, HELPTEXT);
data/transcalc-0.14/src/help.c:125:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(about_txt, "\n TRANSCALC %s\n",VERSION);
data/transcalc-0.14/src/help.c:126:5:  [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(about_txt, ABOUTTEXT);
data/transcalc-0.14/src/microstrip.c:565:3:  [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(results, text);
data/transcalc-0.14/src/microstrip.c:568:3:  [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(results, text);
data/transcalc-0.14/src/microstrip.c:571:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(text, "Skin Depth = %.4g %s\n", (ms->skindepth * conv_length[LENGTH_M][required_unit]), length_unit_text(getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[4])->entry)))));
data/transcalc-0.14/src/microstrip.c:572:3:  [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(results, text);
data/transcalc-0.14/src/print_trans.c:43:8:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  fp = popen (command, "w");
data/transcalc-0.14/src/rectwaveguide.c:394: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(results,text);
data/transcalc-0.14/src/rectwaveguide.c:397: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(results, text);
data/transcalc-0.14/src/rectwaveguide.c:402: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(results, text);
data/transcalc-0.14/src/rectwaveguide.c:411:3:  [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(text,temp);
data/transcalc-0.14/src/rectwaveguide.c:415: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(results,text);
data/transcalc-0.14/src/rectwaveguide.c:420: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(results, text);
data/transcalc-0.14/src/rectwaveguide.c:429:3:  [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(text,temp);
data/transcalc-0.14/src/rectwaveguide.c:433: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(results,text);
data/transcalc-0.14/src/rectwaveguide.c:571: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(results,text);
data/transcalc-0.14/src/rectwaveguide.c:574: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(results, text);
data/transcalc-0.14/src/rectwaveguide.c:579:2:  [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(results, text);
data/transcalc-0.14/src/rectwaveguide.c:588: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(text,temp);
data/transcalc-0.14/src/rectwaveguide.c:592:2:  [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(results,text);
data/transcalc-0.14/src/rectwaveguide.c:597:2:  [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(results, text);
data/transcalc-0.14/src/rectwaveguide.c:606: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(text,temp);
data/transcalc-0.14/src/rectwaveguide.c:610:2:  [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(results,text);
data/transcalc-0.14/src/setup_transgui.c:122:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (image_dir, "%s/transcalc/images/",DATADIR);    
data/transcalc-0.14/src/setup_transgui.c:129: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(drawing_filename,image_dir);
data/transcalc-0.14/src/transcalc.c:62:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(help_txt, "\n TRANSCALC %s\n",VERSION);
data/transcalc-0.14/src/transcalc.c:63:5:  [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(help_txt, HELPTEXT);
data/transcalc-0.14/src/transcalc.c:99:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf (config_directory, "%s/" TRC_CONFIG_DIRECTORY,
data/transcalc-0.14/src/transcalc.c:112:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf (config_filename, "%s/" TRC_CONFIG_FILE, get_home_directory ());
data/transcalc-0.14/src/transcalc.c:123:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf (save_filename, "%s/" TRC_SAVE_FILE, get_home_directory ());
data/transcalc-0.14/src/transcalc.c:195:7:  [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(ip,"%s %hd\n",tmp_str1,&freq_unit);
data/transcalc-0.14/src/transcalc.c:196:7:  [4] (buffer) fscanf:
  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.
      fscanf(fp,"%s %hd\n",tmp_str1,&length_unit);
data/transcalc-0.14/src/transcalc.c:197:7:  [4] (buffer) fscanf:
  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.
      fscanf(fp, "%s %hd\n",tmp_str1,&res_unit);
data/transcalc-0.14/src/transcalc.c:198:7:  [4] (buffer) fscanf:
  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.
      fscanf(fp, "%s %hd\n",tmp_str1,&ang_unit);      
data/transcalc-0.14/src/transcalc.h:49: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).
#    define strcpy(dest, src)   bcopy (src, dest, 1 + strlen (src))
data/transcalc-0.14/src/transcalc.h:51:10:  [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).
error no strcpy or bcopy
data/transcalc-0.14/src/transcalc.c:73:16:  [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.
  char *home = getenv ("HOME");
data/transcalc-0.14/src/c_microstrip.c:995: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(text, "%g", (float) (c_ms->Z0e * conv_res[RES_OHM][required_unit]));
data/transcalc-0.14/src/c_microstrip.c:999: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(text, "%g", (float) (c_ms->Z0o * conv_res[RES_OHM][required_unit]));
data/transcalc-0.14/src/c_microstrip.c:1003: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(text, "%g", (float) (c_ms->ang_l_e * conv_ang[ANG_RAD][required_unit]));
data/transcalc-0.14/src/c_microstrip.c:1018: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(results, "er_eff_e = %.4g\n", c_ms->er_eff_e);
data/transcalc-0.14/src/c_microstrip.c:1019: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(text, "er_eff_o = %.4g\n", c_ms->er_eff_o);
data/transcalc-0.14/src/c_microstrip.c:1021: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(text, "Conductor Losses Even = %.4g dB\n", c_ms->atten_cond_e);
data/transcalc-0.14/src/c_microstrip.c:1023: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(text, "Conductor Losses Odd = %.4g dB\n", c_ms->atten_cond_o);
data/transcalc-0.14/src/c_microstrip.c:1025: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(text, "Dielectric Losses Even = %.4g dB\n", c_ms->atten_dielectric_e);
data/transcalc-0.14/src/c_microstrip.c:1027: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(text, "Dielectric Losses Odd = %.4g dB\n", c_ms->atten_dielectric_o);
data/transcalc-0.14/src/c_microstrip.c:1170: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(text, "%g", (float) (c_ms->w * conv_length[LENGTH_M][required_unit]));
data/transcalc-0.14/src/c_microstrip.c:1174: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(text, "%g", (float) (c_ms->s * conv_length[LENGTH_M][required_unit]));
data/transcalc-0.14/src/callback_general.c:53:8:  [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).
  fp = fopen(save_filename, "w");
data/transcalc-0.14/src/callback_general.c:73: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(textentry,"Parameters changed: Values may be inconsistent");
data/transcalc-0.14/src/coax.c:262: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(text,"%g", (float) (cx->Z0 * conv_res[RES_OHM][required_unit]));
data/transcalc-0.14/src/coax.c:268: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(text,"%g", (float) (cx->ang_l * conv_ang[ANG_RAD][required_unit]));
data/transcalc-0.14/src/coax.c:286: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(results,"Conductor Losses = %.4g dB\n", cx->atten_cond);
data/transcalc-0.14/src/coax.c:287: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(text, "Dielectric Losses = %.4g dB\n", 
data/transcalc-0.14/src/coax.c:294: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(text, "\nWarning: The following additional \nTE modes can propagate:\n TE(1,1) ");
data/transcalc-0.14/src/coax.c:300: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(temp, "TE(n,%d) ",m);
data/transcalc-0.14/src/coax.c:306: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(results,"\n\n");
data/transcalc-0.14/src/coax.c:312: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(text, "\nWarning: The following additional \nTM modes can propagate:\n");
data/transcalc-0.14/src/coax.c:317:4:  [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(temp, "TM(n,%d) ",m);
data/transcalc-0.14/src/coax.c:396: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(text,"%g", (float) (cx->din * conv_length[LENGTH_M][required_unit]));
data/transcalc-0.14/src/coax.c:404: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(text,"%g", (float) (cx->dout * conv_length[LENGTH_M][required_unit]));
data/transcalc-0.14/src/coax.c:415: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(text,"%g", (float) (cx->l * conv_length[LENGTH_M][required_unit]));
data/transcalc-0.14/src/coax.c:436: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(results,"Conductor Losses = %.4g dB\n", cx->atten_cond);
data/transcalc-0.14/src/coax.c:437: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(text, "Dielectric Losses = %.4g dB\n", 
data/transcalc-0.14/src/coax.c:444: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(text, "\nWarning: The following additional \nTE modes can propagate:\n TE(1,1) ");
data/transcalc-0.14/src/coax.c:450: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(temp, "TE(n,%d) ",m);
data/transcalc-0.14/src/coax.c:456: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(results,"\n\n");
data/transcalc-0.14/src/coax.c:462: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(text, "\nWarning: The following additional \nTM modes can propagate:\n");
data/transcalc-0.14/src/coax.c:467:4:  [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(temp, "TM(n,%d) ",m);
data/transcalc-0.14/src/file_io.c:78:30:  [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.
    if (tmp_str1[0] == '\0') strcpy(tmp_str1, "NULL");
data/transcalc-0.14/src/file_io.c:88:30:  [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.
    if (tmp_str1[0] == '\0') strcpy(tmp_str1, "NULL");
data/transcalc-0.14/src/file_io.c:98:30:  [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.
    if (tmp_str1[0] == '\0') strcpy(tmp_str1, "NULL");
data/transcalc-0.14/src/file_io.c:115:30:  [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.
    if (tmp_str1[0] == '\0') strcpy(tmp_str1, "NULL");
data/transcalc-0.14/src/file_io.c:155:8:  [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).
  fp = fopen(fname_ext, "w");
data/transcalc-0.14/src/file_io.c:176:3:  [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 buf[256], *ip = NULL, *end = NULL;
data/transcalc-0.14/src/file_io.c:274:8:  [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).
  fp = fopen(fname, "r");
data/transcalc-0.14/src/microstrip.c:555: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(text, "%g", (float) (ms->Z0 * conv_res[RES_OHM][required_unit]));
data/transcalc-0.14/src/microstrip.c:559: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(text, "%g", (float) (ms->ang_l * conv_ang[ANG_RAD][required_unit]));
data/transcalc-0.14/src/microstrip.c:563: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(results, "er_eff = %.4g\n", ms->er_eff);
data/transcalc-0.14/src/microstrip.c:564: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(text, "Conductor Losses = %.4g dB\n", ms->atten_cond);
data/transcalc-0.14/src/microstrip.c:566: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(text, "Dielectric Losses = %.4g dB\n", ms->atten_dielectric);
data/transcalc-0.14/src/microstrip.c:705: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(text, "%g", (float) (ms->w * conv_length[LENGTH_M][required_unit]));
data/transcalc-0.14/src/options.c:50:8:  [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).
  fp = fopen(config_filename, "w");
data/transcalc-0.14/src/options.c:213:5:  [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(unittext,"GHz");
data/transcalc-0.14/src/options.c:216:5:  [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(unittext,"Hz");
data/transcalc-0.14/src/options.c:219:5:  [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(unittext,"kHz");
data/transcalc-0.14/src/options.c:222:5:  [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(unittext,"MHz");
data/transcalc-0.14/src/options.c:265:5:  [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(unittext,"mil");
data/transcalc-0.14/src/options.c:268:5:  [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(unittext,"cm");
data/transcalc-0.14/src/options.c:271:5:  [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(unittext,"mm");
data/transcalc-0.14/src/options.c:277:5:  [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(unittext,"um");
data/transcalc-0.14/src/options.c:280:5:  [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(unittext,"in");
data/transcalc-0.14/src/options.c:283:5:  [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(unittext,"ft");
data/transcalc-0.14/src/options.c:323:5:  [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(unittext,"Ohm");
data/transcalc-0.14/src/options.c:326:5:  [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(unittext,"kOhm");
data/transcalc-0.14/src/options.c:364:5:  [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(unittext,"deg");
data/transcalc-0.14/src/options.c:367:5:  [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(unittext,"rad");
data/transcalc-0.14/src/rectwaveguide.c:362: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(text,"%g", (float) (rw->Z0 * conv_res[RES_OHM][required_unit]));
data/transcalc-0.14/src/rectwaveguide.c:368: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(text,"%g", (float) (rw->ang_l * conv_ang[ANG_RAD][required_unit]));
data/transcalc-0.14/src/rectwaveguide.c:387: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(results, "\nEffective dielectic constant, er_eff = %.4g\n", 
data/transcalc-0.14/src/rectwaveguide.c:392: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(text,"Conductor Losses = %.4g dB\n", 
data/transcalc-0.14/src/rectwaveguide.c:395: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(text, "Dielectric Losses = %.4g dB\n", 
data/transcalc-0.14/src/rectwaveguide.c:401: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(text, "\nWarning: The following additional \nTE modes can propagate:\n");
data/transcalc-0.14/src/rectwaveguide.c:410: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(temp,"TE(%u,%u) ",m, n);
data/transcalc-0.14/src/rectwaveguide.c:419: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(text, "\nWarning: The following additional \nTM modes can propagate:\n");
data/transcalc-0.14/src/rectwaveguide.c:428: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(temp,"TM(%u,%u) ",m, n);
data/transcalc-0.14/src/rectwaveguide.c:506: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(text,"%g", (float) (rw->b * conv_length[LENGTH_M][required_unit]));
data/transcalc-0.14/src/rectwaveguide.c:515: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(text,"%g", (float) (rw->a * conv_length[LENGTH_M][required_unit]));
data/transcalc-0.14/src/rectwaveguide.c:527: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(text,"%g", (float) (rw->l * conv_length[LENGTH_M][required_unit]));
data/transcalc-0.14/src/rectwaveguide.c:564: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(results, "\nEffective dielectic constant, er_eff = %.4g\n", 
data/transcalc-0.14/src/rectwaveguide.c:569: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(text,"Conductor Losses = %.4g dB\n", 
data/transcalc-0.14/src/rectwaveguide.c:572: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(text, "Dielectric Losses = %.4g dB\n", 
data/transcalc-0.14/src/rectwaveguide.c:578: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(text, "\nWarning: The following additional \nTE modes can propagate:\n");
data/transcalc-0.14/src/rectwaveguide.c:587: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(temp,"TE(%u,%u) ",m, n);
data/transcalc-0.14/src/rectwaveguide.c:596: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(text, "\nWarning: The following additional \nTM modes can propagate:\n");
data/transcalc-0.14/src/rectwaveguide.c:605: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(temp,"TM(%u,%u) ",m, n);
data/transcalc-0.14/src/setup_status.c:59: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(textentry,"Values are consistent");
data/transcalc-0.14/src/setup_status.c:61: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(textentry,"Values are inconsistent");
data/transcalc-0.14/src/setup_transgui.c:133:5:  [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 (drawing_filename,"microstrip.jpg");
data/transcalc-0.14/src/setup_transgui.c:136:5:  [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 (drawing_filename,"rectwaveguide.jpg");
data/transcalc-0.14/src/setup_transgui.c:139:5:  [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 (drawing_filename,"coax.jpg");
data/transcalc-0.14/src/setup_transgui.c:142:5:  [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 (drawing_filename,"c_microstrip.jpg");
data/transcalc-0.14/src/setup_transgui.c:248: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(textentry,"%g", (float) defaultval);
data/transcalc-0.14/src/setup_transgui.c:342: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(textentry,"%g", (float) defaultval);
data/transcalc-0.14/src/setup_transgui.c:466: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(textentry,"%g", (float) defaultval);
data/transcalc-0.14/src/setup_transgui.c:600: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(textentry,"%g", (float) defaultval);
data/transcalc-0.14/src/setup_transgui.c:642:7:  [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(textentry,"Press Analyze to get electrical parameters\nSynthesize to derive physical parameters"); 
data/transcalc-0.14/src/transcalc.c:149:22:  [2] (misc) open:
  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).
    config_file_fd = open (config_filename, O_CREAT);
data/transcalc-0.14/src/transcalc.c:174:3:  [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 buf[256], *ip = NULL, *end = NULL;
data/transcalc-0.14/src/transcalc.c:180: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).
      fp = fopen(config_filename, "r");
data/transcalc-0.14/src/transcalc.c:307: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).
  fpinit = fopen(save_filename, "r");
data/transcalc-0.14/src/transcalc.h:49:33:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#    define strcpy(dest, src)   bcopy (src, dest, 1 + strlen (src))
data/transcalc-0.14/src/transcalc.h:51:20:  [2] (buffer) bcopy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
error no strcpy or bcopy
data/transcalc-0.14/src/transcalc.h:149:3:  [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 *substrate_label_name[NUMSUBPARS];
data/transcalc-0.14/src/transcalc.h:150:3:  [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 *component_label_name[NUMCOMPPARS];
data/transcalc-0.14/src/transcalc.h:151:3:  [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 *physical_label_name[NUMPHYSPARS];
data/transcalc-0.14/src/transcalc.h:152:3:  [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 *electrical_label_name[NUMELECPARS];
data/transcalc-0.14/src/transcalc.h:153:3:  [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 *stooltips_helptext[NUMSUBPARS];
data/transcalc-0.14/src/transcalc.h:154:3:  [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 *ctooltips_helptext[NUMCOMPPARS];
data/transcalc-0.14/src/transcalc.h:155:3:  [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 *ptooltips_helptext[NUMPHYSPARS];
data/transcalc-0.14/src/transcalc.h:156:3:  [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 *etooltips_helptext[NUMELECPARS];
data/transcalc-0.14/src/coax.c:296:2:  [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(text, " ");	
data/transcalc-0.14/src/coax.c:314:2:  [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(text, " ");
data/transcalc-0.14/src/coax.c:323:2:  [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(results,"\n");
data/transcalc-0.14/src/coax.c:446:2:  [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(text, " ");	
data/transcalc-0.14/src/coax.c:464:2:  [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(text, " ");
data/transcalc-0.14/src/coax.c:473:2:  [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(results,"\n");
data/transcalc-0.14/src/file_io.c:302: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).
  if (!filter_text || !strlen(filter_text))
data/transcalc-0.14/src/options.c:274:5:  [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(unittext,"m");
data/transcalc-0.14/src/rectwaveguide.c:406:4:  [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(text, " ");
data/transcalc-0.14/src/rectwaveguide.c:416: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(results,"\n");
data/transcalc-0.14/src/rectwaveguide.c:424:4:  [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(text, " ");
data/transcalc-0.14/src/rectwaveguide.c:434: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(results,"\n");
data/transcalc-0.14/src/rectwaveguide.c:583:2:  [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(text, " ");
data/transcalc-0.14/src/rectwaveguide.c:593:2:  [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(results,"\n");
data/transcalc-0.14/src/rectwaveguide.c:601:2:  [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(text, " ");
data/transcalc-0.14/src/rectwaveguide.c:611:2:  [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(results,"\n");
data/transcalc-0.14/src/setup_transgui.c:645: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 (textentry,"\n");
data/transcalc-0.14/src/transcalc.c:96: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 (get_home_directory ()) + strlen (TRC_CONFIG_DIRECTORY) + 2;
data/transcalc-0.14/src/transcalc.c:96: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).
    strlen (get_home_directory ()) + strlen (TRC_CONFIG_DIRECTORY) + 2;
data/transcalc-0.14/src/transcalc.c:109: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 length = strlen (get_home_directory ()) + strlen (TRC_CONFIG_FILE) + 2;
data/transcalc-0.14/src/transcalc.c:109: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).
  int length = strlen (get_home_directory ()) + strlen (TRC_CONFIG_FILE) + 2;
data/transcalc-0.14/src/transcalc.c:120: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 length = strlen (get_home_directory ()) + strlen (TRC_SAVE_FILE) + 2;
data/transcalc-0.14/src/transcalc.c:120: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).
  int length = strlen (get_home_directory ()) + strlen (TRC_SAVE_FILE) + 2;
data/transcalc-0.14/src/transcalc.h:49: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).
#    define strcpy(dest, src)   bcopy (src, dest, 1 + strlen (src))

ANALYSIS SUMMARY:

Hits = 193
Lines analyzed = 8538 in approximately 0.27 seconds (32218 lines/second)
Physical Source Lines of Code (SLOC) = 5059
Hits@level = [0]  88 [1]  24 [2] 104 [3]   1 [4]  64 [5]   0
Hits@level+ = [0+] 281 [1+] 193 [2+] 169 [3+]  65 [4+]  64 [5+]   0
Hits/KSLOC@level+ = [0+] 55.5446 [1+] 38.1498 [2+] 33.4058 [3+] 12.8484 [4+] 12.6507 [5+]   0
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.