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/libswe-1.80.00.0002/astrodienst/src/swepcalc.c
Examining data/libswe-1.80.00.0002/astrodienst/src/swephexp.h
Examining data/libswe-1.80.00.0002/astrodienst/src/swemmoon.c
Examining data/libswe-1.80.00.0002/astrodienst/src/sweph.h
Examining data/libswe-1.80.00.0002/astrodienst/src/swejpl.h
Examining data/libswe-1.80.00.0002/astrodienst/src/swedate.h
Examining data/libswe-1.80.00.0002/astrodienst/src/swedate.c
Examining data/libswe-1.80.00.0002/astrodienst/src/swemini.c
Examining data/libswe-1.80.00.0002/astrodienst/src/swehouse.c
Examining data/libswe-1.80.00.0002/astrodienst/src/swepcalc.h
Examining data/libswe-1.80.00.0002/astrodienst/src/sweodef.h
Examining data/libswe-1.80.00.0002/astrodienst/src/swehouse.h
Examining data/libswe-1.80.00.0002/astrodienst/src/swenut2000a.h
Examining data/libswe-1.80.00.0002/astrodienst/src/swepdate.c
Examining data/libswe-1.80.00.0002/astrodienst/src/swedll.h
Examining data/libswe-1.80.00.0002/astrodienst/src/swemptab.c
Examining data/libswe-1.80.00.0002/astrodienst/src/swephlib.h
Examining data/libswe-1.80.00.0002/astrodienst/src/swecl.c
Examining data/libswe-1.80.00.0002/astrodienst/src/swehel.c
Examining data/libswe-1.80.00.0002/astrodienst/src/swejpl.c
Examining data/libswe-1.80.00.0002/astrodienst/src/swemplan.c
Examining data/libswe-1.80.00.0002/astrodienst/src/sweph.c
Examining data/libswe-1.80.00.0002/astrodienst/src/swephlib.c
Examining data/libswe-1.80.00.0002/astrodienst/src/swetest.c

FINAL RESULTS:

data/libswe-1.80.00.0002/astrodienst/src/swetest.c:686:9:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
        strncat(fname, argv[i]+5, sizeof(fname) - 1);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:691:9:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
        strncat(ephepath, argv[i]+5, sizeof(ephepath) - 1);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:827:7:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
      strncat(sastno, argv[i] + 3, sizeof(sastno) - 1);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:831:7:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
      strncat(star, argv[i] + 3, sizeof(star) - 1);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:835:7:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
      strncat(shyp, argv[i] + 3, sizeof(shyp) - 1);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:839:7:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
      strncat(star, argv[i] + 2, sizeof(star) - 1);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:961:7:  [5] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings. Risk is high; the length parameter
  appears to be a constant, instead of computing the number of characters
  left.
      strncat(sdate, begindate, AS_MAXCH-1);
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:291: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(s, ObjectName);
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:353: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(star2, star);
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:370: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(star_save, star);
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:371: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(star2, star);
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:384: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(star2, star);
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:2384: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(serr_ret, serr);
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:2396: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(star2, star);
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:2407: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(s, star);
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:2440: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(s, star);
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:3190: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(serr_ret, serr);
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:3271: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(serr_ret, serr);
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:3358: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(serr_ret, serr);
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:3369: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(s, ObjectName);
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:3392: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(s, ObjectName);
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:3435: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(serr_ret, serr);
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:921: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(js->jplfname, fname);
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:922: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(js->jplfpath, fpath);
data/libswe-1.80.00.0002/astrodienst/src/swemmoon.c:803: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(serr, s);
data/libswe-1.80.00.0002/astrodienst/src/swemmoon.c:1404: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(serr, s);
data/libswe-1.80.00.0002/astrodienst/src/swemmoon.c:1454: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(serr, s);
data/libswe-1.80.00.0002/astrodienst/src/swemplan.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(serr, s);
data/libswe-1.80.00.0002/astrodienst/src/swemplan.c:732: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(pname, plan_fict_nam[ipl]);
data/libswe-1.80.00.0002/astrodienst/src/swemplan.c:893: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(pname, sp);
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:146: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(err, placalc_get_errtext());
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:152: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(perrtx, err);
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:209: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 (so + so_len, s);
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:216: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 (so + so_len, s);
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:224: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 (so + so_len, s);
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:232: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 (so + so_len, s);
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:240: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 (so + so_len, s);
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:506: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(epath, path);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:181: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(s, SE_VERSION);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:903: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(serr2, serr); 
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:930: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(serr, serr2);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1091: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(s, sp);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1093: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(s, SE_EPHE_PATH);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1095: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(s, path);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1097: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(s, SE_EPHE_PATH);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1100: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(s, DIR_GLUE);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1101: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(swed.ephepath, s);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1148: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(swed.jplfnam, sp);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1827: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(subdirnam, fname);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1835: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(s, fname);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1883: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(serr, s);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1987: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(s1, ephepath);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1990: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(s, cpos[i]);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1996: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(s, DIR_GLUE);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1999: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(s, fname);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:2005: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(fnamp, s);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:2013: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(serr, s);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:3695: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(s2, sp);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:3735: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(swed.astelem, s);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:3756: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(swed.astelem, s);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:3987:7:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      snprintf(serr, AS_MAXCH, serr_file_damage, fdp->fnam);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5286: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(s, slast_stardata);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5352: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(slast_stardata, s);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5353: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(slast_starname, sstar);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5841: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(s, swed.saved_planet_name);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5846: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(s, SE_NAME_SUN);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5849: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(s, SE_NAME_MOON);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5852: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(s, SE_NAME_MERCURY);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5855: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(s, SE_NAME_VENUS);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5858: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(s, SE_NAME_MARS);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5861: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(s, SE_NAME_JUPITER);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5864: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(s, SE_NAME_SATURN);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5867: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(s, SE_NAME_URANUS);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5870: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(s, SE_NAME_NEPTUNE);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5873: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(s, SE_NAME_PLUTO);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5876: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(s, SE_NAME_MEAN_NODE);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5879: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(s, SE_NAME_TRUE_NODE);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5882: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(s, SE_NAME_MEAN_APOG);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5885: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(s, SE_NAME_OSCU_APOG);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5888: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(s, SE_NAME_INTP_APOG);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5891: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(s, SE_NAME_INTP_PERG);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5894: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(s, SE_NAME_EARTH);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5898: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(s, SE_NAME_CHIRON);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5902: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(s, SE_NAME_PHOLUS);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5906: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(s, SE_NAME_CERES);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5910: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(s, SE_NAME_PALLAS);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5914: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(s, SE_NAME_JUNO);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5918: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(s, SE_NAME_VESTA);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5930: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(s, swed.fidat[SEI_FILE_ANY_AST].astnam);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5935: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(s, swed.fidat[SEI_FILE_ANY_AST].astnam);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5980:15:  [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(s, sp);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5997: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(swed.saved_planet_name, s);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:6283: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(sout, s1d);
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2328:7:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
      snprintf(fname, AS_MAXCH, sform,
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2593: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(sp, aa);
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2721: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(to, from);
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2724: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(to, s);
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2767: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(fname, fname_trace_c);
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2800: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(fname, fname_trace_out);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:628: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(fname, SE_FNAME_DE406);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:638: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(s2, sp + 1);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:639: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(sp, s2);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:738: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(fname, SE_FNAME_DE200);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:875: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(s2, sp + 1);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:876: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(sp, s2);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:990: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(sastno,  sdate + 3);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:997: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 (sdate, sdate_save);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:999: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 (sdate_save, sdate);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1118: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(s1, dms(top_long, round_flag)); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1119: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(s2, dms(top_lat, round_flag));
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1173:11:  [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(se_pname, star);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1206:11:  [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(serr_save, serr);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1209: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(serr_warn, serr);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1336: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(star2, star);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1371:9:  [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(spnam, se_pname);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1392:11:  [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(serr_save, serr);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1878: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(s, s1);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1889: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(s, s1);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1895: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(s, s1);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2050: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(sout, sfmt);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2052:11:  [4] (format) snprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
          snprintf(sout,sizeof(sout), sfmt, attr[0]);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2192: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(s1, hms(fmod(tret[1] + 0.5, 1) * 24, BIT_LZEROES)), 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2193: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(s3, hms(fmod(tret[2] + 0.5, 1) * 24, BIT_LZEROES)), 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2194: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(s4, hms(fmod(tret[3] + 0.5, 1) * 24, BIT_LZEROES)),
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2195: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(s2, hms(fmod(tret[4] + 0.5, 1) * 24, BIT_LZEROES)));
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2247:77:  [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).
      snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "\t%s\t%s", strcpy(s1, dms(geopos[0], BIT_ROUND_MIN)), strcpy(s2, dms(geopos[1], BIT_ROUND_MIN)));
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2247:120:  [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).
      snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "\t%s\t%s", strcpy(s1, dms(geopos[0], BIT_ROUND_MIN)), strcpy(s2, dms(geopos[1], BIT_ROUND_MIN)));
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2261: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(sout, s1);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2262: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(sout_short, s1);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2347: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(s1, hms(fmod(tret[1] + 0.5, 1) * 24, BIT_LZEROES)), 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2348: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(s3, hms(fmod(tret[2] + 0.5, 1) * 24, BIT_LZEROES)), 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2349: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(s4, hms(fmod(tret[3] + 0.5, 1) * 24, BIT_LZEROES)),
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2350: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(s2, hms(fmod(tret[4] + 0.5, 1) * 24, BIT_LZEROES)));
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2397: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(s1, dms(geopos[0], BIT_ROUND_MIN)),
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2398: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(s2, dms(geopos[1], BIT_ROUND_MIN)));
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2452: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(obj_name, star);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2569: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(s, dms(x, iflag));
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2573: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(s2, sp + strlen(ODEGREE_STRING));
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2574: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(sp + 1, s2);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2584:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  fprintf(fp, info);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2625: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(s1, SE_EPHE_PATH);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2650: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(s, cpos[i]);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2664: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(path, SE_EPHE_PATH);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1088:13:  [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.
  if ((sp = getenv("SE_EPHE_PATH")) != NULL 
data/libswe-1.80.00.0002/astrodienst/src/swecl.c:734: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(serr, "no solar eclipse at tjd = %f", tjd);
data/libswe-1.80.00.0002/astrodienst/src/swecl.c:1011: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(serr, "no solar eclipse at tjd = %f", tjd_ut);
data/libswe-1.80.00.0002/astrodienst/src/swecl.c:1167: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(serr, "central partial eclipses do not exist");
data/libswe-1.80.00.0002/astrodienst/src/swecl.c:1535: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 s[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swecl.c:1554: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(serr, "central partial eclipses do not exist");
data/libswe-1.80.00.0002/astrodienst/src/swecl.c:3117: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(serr, "no lunar eclipse at tjd = %f", tjd);
data/libswe-1.80.00.0002/astrodienst/src/swecl.c:3971: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(serr, "rise or set not found for planet %d", ipl);
data/libswe-1.80.00.0002/astrodienst/src/swecl.c:4418: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(serr, "nodes/apsides for planet %5.0f are not implemented", (double) ipl);
data/libswe-1.80.00.0002/astrodienst/src/swecl.c:4969: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(serr, "invalid method: %d", imeth);
data/libswe-1.80.00.0002/astrodienst/src/swecl.c:5066: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(serr, "rise or set not found for planet %d", ipl);
data/libswe-1.80.00.0002/astrodienst/src/swedate.c:319: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 s[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swedate.c:334:14:  [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).
      ndat = atoi(s);
data/libswe-1.80.00.0002/astrodienst/src/swedate.c:389: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(serr, "invalid date: year = %d, month = %d, day = %d", iyear, imonth, iday);
data/libswe-1.80.00.0002/astrodienst/src/swedate.c:397: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(serr, "invalid time: %d:%d:%.2f", ihour, imin, dsec);
data/libswe-1.80.00.0002/astrodienst/src/swedate.c:452: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(serr, "invalid time (no leap second!): %d:%d:%.2f", ihour, imin, dsec);
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:288: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 s[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:312:14:  [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).
  if ((ipl = atoi(s)) > 0) {
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:352: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 star2[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:363: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 star2[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:365:10:  [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 star_save[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:383: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 star2[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:410: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(serr, "error in calc_rise_and_set(): calc(sun) failed ");
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:415: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(serr, "error in calc_rise_and_set(): calc(sun) failed ");
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:441: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(serr, "error in calc_rise_and_set(): calc(sun) failed ");
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:921: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(serr, "The provided Meteorological range is too long, when taking into acount other atmospheric parameters"); /* is a warning */
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:928: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(serr, "The provided atmosphic coeefficent (ktot) is too low, when taking into acount other atmospheric parameters"); /* is a warning */
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:1443: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(serr, "object is below local horizon");
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:1817: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 ObjectName[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:2057: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 ObjectName[30];
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:2066: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(serr, "error: in valid AV kind for the moon");
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:2071: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(serr, "error: the moon has no morning first or evening last");
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:2074: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(ObjectName, "moon");
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:2140: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(serr, "no date found for lunar event");
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:2164: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 serr[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:2309: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(serr, "heliacal event not found within maxlength %f\n", maxlength);
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:2377: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(serr, "no heliacal date found");
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:2394: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 s[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:2395: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 star2[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:2429: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 s[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:2576: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(serr, "loop in get_asc_obl_with_sun() (1)");
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:2597: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(serr, "loop in get_asc_obl_with_sun() (2)");
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:2835: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(serr, "heliacal event does not happen");
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:3042: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(serr, "acronychal rising/setting not available, %f", darr[1]);
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:3045: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(serr, "solar altitude, %f", darr[1]);
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:3094: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(serr, "return values [");
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:3096: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(serr, "0,");
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:3098: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(serr, "1,");
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:3100: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(serr, "2,");
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:3101: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(serr, "] are uncertain due to change between photopic and scotopic vision");
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:3113: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 serr[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:3198: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 serr[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:3199: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 ObjectName[30];
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:3205: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(serr, "error: the moon has no morning first or evening last");
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:3208: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(ObjectName, "moon");
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:3323: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 ObjectName[AS_MAXCH], serr[AS_MAXCH], s[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:3326: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 *sevent[7] = {"", "morning first", "evening last", "evening first", "morning last", "acronychal rising", "acronychal setting"};
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:3428: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(serr, "no heliacal date found within this synodic period");
data/libswe-1.80.00.0002/astrodienst/src/swehel.c:3431: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(serr, "no heliacal date found within %d synodic periods", MaxCountSynodicPeriod);
data/libswe-1.80.00.0002/astrodienst/src/swehouse.c:1524:11:  [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(serr, "no Koch house position, because planet is circumpolar.");
data/libswe-1.80.00.0002/astrodienst/src/swehouse.c:1529: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(serr, "no Koch house position, because mc is circumpolar.");
data/libswe-1.80.00.0002/astrodienst/src/swehouse.c:1610:11:  [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(serr, "Koch house position failed in circumpolar area");
data/libswe-1.80.00.0002/astrodienst/src/swehouse.c:1615:11:  [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(serr, "Koch house position, doubtful result in circumpolar area");
data/libswe-1.80.00.0002/astrodienst/src/swehouse.c:1797:11:  [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(serr, "Otto Ludwig procedure within circumpolar regions.");
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:89: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 ch_cnam[6*400];
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:182: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 ttl[6*14*3];	
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:210: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(serr, "alleged ephemeris file has invalid format.");
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:292: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(serr,"unknown numde value %d;", numde);
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:298: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(serr, "JPL ephemeris file does not provide valid ksize (%d)", ksize);/**/
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:355: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(serr,"No nutations on the JPL ephemeris file;");
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:369: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(serr,"No librations on the ephemeris file;");
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:637: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 ch_ttl[252];
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:695: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(serr, "JPL ephemeris file strange, constant name 'EMRAT' missing");
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:701: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(serr, "JPL ephemeris file strange, constant name 'EMRAT' not at multiple of 6");
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:707: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(serr, "JPL ephemeris file error, record size failed EMRAT check");
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:741: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(serr, "JPL ephemeris file is mutilated; length = %d instead of %d.", flen, nb);
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:760: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(serr, "JPL ephemeris file is corrupt; start/end date check failed.");
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:773: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(serr,"jd %f outside JPL eph. range %.2f .. %.2f;", et, js->eh_ss[0], js->eh_ss[1]);
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:786: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(serr, "Read error in JPL eph. at %f\n", et);
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:792: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(serr, "Read error in JPL eph. at %f\n", et);
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:881: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 s[8];
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:918: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(serr, "error in malloc() with JPL ephemeris.");
data/libswe-1.80.00.0002/astrodienst/src/swemini.c:75: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 sdate[AS_MAXCH], snam[40], serr[AS_MAXCH];  
data/libswe-1.80.00.0002/astrodienst/src/swemmoon.c:792: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 s[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swemmoon.c:800: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(s, "jd %f outside Moshier's Moon range %.2f .. %.2f ",
data/libswe-1.80.00.0002/astrodienst/src/swemmoon.c:1393: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 s[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swemmoon.c:1401: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(s, "jd %f outside mean node range %.2f .. %.2f ",
data/libswe-1.80.00.0002/astrodienst/src/swemmoon.c:1443: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 s[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swemmoon.c:1451: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(s, "jd %f outside mean apogee range %.2f .. %.2f ",
data/libswe-1.80.00.0002/astrodienst/src/swemplan.c:284: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 s[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swemplan.c:302: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(s, "jd %f outside Moshier planet range %.2f .. %.2f ",
data/libswe-1.80.00.0002/astrodienst/src/swemplan.c:507: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.
static char *plan_fict_nam[SE_NFICT_ELEM] =
data/libswe-1.80.00.0002/astrodienst/src/swemplan.c:519: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(snam, "name not found");
data/libswe-1.80.00.0002/astrodienst/src/swemplan.c:703: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 s[AS_MAXCH], *sp;
data/libswe-1.80.00.0002/astrodienst/src/swemplan.c:704: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 *cpos[20], serri[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swemplan.c:712: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(serr, "error no elements for fictitious body no %7.0f", (double) ipl);
data/libswe-1.80.00.0002/astrodienst/src/swemplan.c:956:20:  [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).
	    else if ((i = atoi(sp)) <= 4 && i >= 0)
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:89: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.
static char perrtx[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:132: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 err[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:171: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 s[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:189: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(so,"error at planet %d", p);
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:203: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 (so, "%d,%.8f,%d,%d,%d,%d", id, jd_ad, flag, plalist, 
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:208: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 (s ,",%d", lcs[planet]);
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:215: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 (s ,",%d", lpcs[planet]);
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:223: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 (s ,",%d", betcs[planet]);
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:231: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 (s ,",%d", rel_geo(planet,rau[planet]));
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:239: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 (s ,",%.8f", rau[planet]);
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:312: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(perrtx, "invalid planet number %d. ", planet);
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:552: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).
    i = atoi(star);
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:553: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(star, "%d", i+1);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:229: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 s[AS_MAXCH], *sp;
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:233: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).
    if ((fp = fopen(fname_force_flg, BFILE_R_ACCESS)) != NULL) {
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:238:22:  [2] (integer) atol:
  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).
      iflag_forced = atol(s);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:425: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 serr2[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:462: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(serr, "barycentric Moshier positions are not supported.");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:511:6:  [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(serr, " \ntrying Swiss Eph; ");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:517:8:  [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(serr, " \nusing Moshier Eph; ");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:545:8:  [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(serr, " \nusing Moshier eph.; ");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:609:6:  [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(serr, " \ntrying Swiss Eph; ");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:632:8:  [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(serr, " \nusing Moshier; ");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:883: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(serr, "Chiron's ephemeris is restricted to JD %8.1f - JD %8.1f",
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:889: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(serr, 
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:921: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(serr, "\nusing Moshier eph.; ");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:928: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(serr, "sun: ");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:975: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(serr, "\nusing Moshier eph.; ");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:985: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(serr, "illegal planet number %d.", ipl);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1082: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 s[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1219: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(serr, " \ntrying Swiss Eph; ");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1225:6:  [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(serr, " \nusing Moshier Eph; ");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1241: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(serr, " \ntrying Swiss Eph; ");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1247:6:  [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(serr, " \nusing Moshier Eph; ");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1265:6:  [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(serr, " \nusing Moshier eph.; ");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1282:6:  [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(serr, " \nusing Moshier eph.; ");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1345: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(serr, " \ntrying Swiss Eph; ");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1365:6:  [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(serr, " \nusing Moshier eph.; ");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1539: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(serr, " \nusing Moshier eph. for moon; ");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1776: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 s[AS_MAXCH], subdirnam[AS_MAXCH], fname[AS_MAXCH], *sp;
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1877: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(s, "jd %f < Swiss Eph. lower limit %f;", 
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1880: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(s, "jd %f > Swiss Eph. upper limit %f;", 
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1979: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 *fnamp, fn[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1980: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 *cpos[20];
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1981: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 s[2 * AS_MAXCH], *s1 = s + AS_MAXCH;	/* a little trick */
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:2002: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(serr, "error: file path and name must be shorter than %d.", AS_MAXCH);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:2006:10:  [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(fnamp, BFILE_R_ACCESS);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:3511: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.
  unsigned char c[4];
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:3566: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(serr, "error in ephemeris file: %d coefficients instead of %d. ", nco, pdp->ncoe);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:3650: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 s[AS_MAXCH*2], s2[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:3651: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 sastnam[41];
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:3682:19:  [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).
  fdp->fversion = atoi(sp);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:3847: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 sastno[12];
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:3856:15:  [2] (integer) atol:
  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).
    i = (int) atol(sastno);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:4014: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.
  unsigned char space[1000];
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:4023: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(serr, "Ephemeris file is damaged. ");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:4036: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(serr, "Ephemeris file is damaged. ");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:4391:6:  [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(serr, " \ntrying Swiss Eph; ");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:4398:8:  [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(serr, " \nusing Moshier Eph; ");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:4435:8:  [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(serr, " \nusing Moshier eph.; ");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5224: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 *cpos[20];
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5225: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 sstar[SE_MAX_STNAME + 1];
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5226: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 fstar[SE_MAX_STNAME + 1];
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5227:10:  [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 slast_stardata[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5228:10:  [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 slast_starname[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5229: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 s[AS_MAXCH + 20], *sp, *sp2;	/* 20 byte for SE_STARFILE */
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5266: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).
    star_nr = atoi(sstar);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5280: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(serr, "swe_fixstar(): star name empty");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5344: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(serr, "star  not found");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5670: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 *cpos[20];
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5671: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 sstar[SE_MAX_STNAME + 1];
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5672: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 fstar[SE_MAX_STNAME + 1];
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5673: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 s[AS_MAXCH + 20], *sp, *sp2;	/* 20 byte for SE_STARFILE */
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5701: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).
    star_nr = atoi(sstar);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5713: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(serr, "swe_fixstar_mag(): star name empty");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5753: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(serr, "star  not found");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5766: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(serr, "data of star incomplete");
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5937: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(s, "%d: not found", ipl - SE_AST_OFFSET);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5956: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.
          char si[AS_MAXCH], *sp, *sp2;
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5965:22:  [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).
              iplf = atoi(sp);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5987: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(s, "%d", i);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:6159: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(serr, "geographic position has not been set");
data/libswe-1.80.00.0002/astrodienst/src/sweph.h:474: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 max_harmonic[9];
data/libswe-1.80.00.0002/astrodienst/src/sweph.h:484: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 fnam[AS_MAXCH];	/* ephemeris file name */
data/libswe-1.80.00.0002/astrodienst/src/sweph.h:486: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 astnam[50];	/* asteroid name, if asteroid file */ 
data/libswe-1.80.00.0002/astrodienst/src/sweph.h:550: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 ephepath[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/sweph.h:551: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 jplfnam[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/sweph.h:572: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 astelem[AS_MAXCH * 2];
data/libswe-1.80.00.0002/astrodienst/src/sweph.h:577: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 saved_planet_name[80];
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2078: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 s[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2092:14:  [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).
      year = atoi(s);
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2302: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(fname, "semo");
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2314: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(fname, "sepl");
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2322: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(fname, "seas");
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2548: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 (a, "        ");
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2569: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 a[10];	/* must be initialized at each call */
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2572: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 (a, "      '  ");
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2752: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(serr, "trace stopped, %d calls exceeded.", TRACE_COUNT_MAX);
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2761: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 fname[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2778: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).
    if ((swi_fp_trace_c = fopen(fname, FILE_A_ACCESS)) == NULL) {
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2794: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 fname[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2811:29:  [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 ((swi_fp_trace_out = fopen(fname, FILE_A_ACCESS)) == NULL) {
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:518: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.
static char se_pname[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:522: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.
static char star[AS_MAXCH] = "algol", star2[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:523: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.
static char sastno[AS_MAXCH] = "433";
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:524: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.
static char shyp[AS_MAXCH] = "1";
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:543: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.
static char spnam[AS_MAXCH], spnam2[AS_MAXCH], serr[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:544: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.
static char serr_save[AS_MAXCH], serr_warn[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:565: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.
static char sout[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:591: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 sdate_save[AS_MAXCH]; 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:592: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 s1[AS_MAXCH], s2[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:597: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 hostname[80];
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:608: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 ephepath[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:609: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 fname[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:610: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 sdate[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:659:18:  [2] (integer) atol:
  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).
      sid_mode = atol(argv[i]+3);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:663:18:  [2] (integer) atol:
  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).
      sid_mode = atol(argv[i]+6);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:670:18:  [2] (integer) atol:
  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).
      sid_mode = atol(argv[i]+6);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:677:18:  [2] (integer) atol:
  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).
      sid_mode = atol(argv[i]+4);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:698:17:  [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).
      helflag = atoi(argv[i]+8);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:715:14:  [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).
	hpos_meth = atoi(argv[i] + 5);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:798:16:  [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).
	search_flag = atoi(argv[i] + 4);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:841: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).
      nstep = atoi(argv[i]+2);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:845:17:  [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).
      iflag_f = atoi(argv[i]+2);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1018:11:  [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).
      n = atoi(sp);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1023:11:  [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).
      n = atoi(sp);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1147:17:  [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).
          ipl = atoi(sastno) + 10000;
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1149:17:  [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).
          ipl = atoi(shyp) + SE_FICT_OFFSET_1;
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1184: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(se_pname, "Delta T");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1188: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(se_pname, "Ecl. Obl.");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1194: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(se_pname, "Nutation");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1846: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 *sp, s1[50];
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1847:10:  [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 s[50];
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1966: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(sout, "rise     ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1968:9:  [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(sout, "         -                     ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1974: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(sout, "set      ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1976:9:  [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(sout, "         -                     \n");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1998: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(sout, "mtransit ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1999:25:  [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 (tret[0] == 0) strcat(sout, "         -                     ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2005: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(sout, "itransit ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2006:25:  [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 (tret[1] == 0) strcat(sout, "         -                     \n");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2023: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 s1[AS_MAXCH], sout_short[AS_MAXCH], sfmt[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2040: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(sfmt, "total lunar eclipse: %f o/o \n");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2043: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(sfmt, "partial lunar eclipse: %f o/o \n");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2046: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(sfmt, "penumbral lunar eclipse: %f o/o \n");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2048: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(sfmt, "no lunar eclipse \n");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2067:9:  [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(sout, "total   ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2071:9:  [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(sout, "penumb. ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2075:9:  [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(sout, "partial ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2078: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(sout, "lunar eclipse\t");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2098: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(sout, "   -         ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2102: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(sout, "   -         ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2106: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(sout, "   -         ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2110: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(sout, "   -         ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2129: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 s1[AS_MAXCH], s2[AS_MAXCH], sout_short[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2151:11:  [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(sout, "total   ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2156:11:  [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(sout, "annular ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2161:11:  [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(sout, "partial ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2176:6:  [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(sout, "   -         ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2180:6:  [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(sout, "   -         ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2184:6:  [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(sout, "   -         ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2188:6:  [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(sout, "   -         ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2212:9:  [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(sout, "total   ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2216:9:  [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(sout, "annular ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2220:9:  [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(sout, "ann-tot ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2224:9:  [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(sout, "partial ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2228:9:  [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(sout, "non-central ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2239: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(sout, "   -         ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2244: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(sout, "   -         ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2287: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 s1[AS_MAXCH], s2[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2306:11:  [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(sout, "total   ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2311:11:  [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(sout, "annular ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2316:11:  [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(sout, "partial ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2331:6:  [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(sout, "   -         ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2335:6:  [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(sout, "   -         ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2339:6:  [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(sout, "   -         ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2343:6:  [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(sout, "   -         ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2365:9:  [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(sout, "total   ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2369:9:  [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(sout, "annular ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2373:9:  [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(sout, "ann-tot ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2377:9:  [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(sout, "partial ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2381:9:  [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(sout, "non-central ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2390:11:  [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(sout, "   -         ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2394:11:  [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(sout, "   -         ");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2441: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 obj_name[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2559:10:  [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 s[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2566:10:  [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 s[AS_MAXCH], s2[AS_MAXCH], *sp;
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2600: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 path[AS_MAXCH];
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2621: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 *cpos[20];
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2622: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 s[2 * AS_MAXCH], *s1 = s + AS_MAXCH;
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2623: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 *sp[3];
data/libswe-1.80.00.0002/astrodienst/src/swecl.c:1587:4:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	  strncat(s, starname, 80);
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:211:11:  [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(serr) + strlen(js->jplfname) + 3 < AS_MAXCH) {
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:211: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).
      if (strlen(serr) + strlen(js->jplfname) + 3 < AS_MAXCH) {
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:742: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).
	if (strlen(serr) + strlen(js->jplfname) < AS_MAXCH - 1) {
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:742:21:  [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(serr) + strlen(js->jplfname) < AS_MAXCH - 1) {
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:914: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).
    || (js->jplfname = MALLOC(strlen(fname)+1)) == NULL
data/libswe-1.80.00.0002/astrodienst/src/swejpl.c:915: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).
    || (js->jplfpath = MALLOC(strlen(fpath)+1)) == NULL
data/libswe-1.80.00.0002/astrodienst/src/swemmoon.c:802:11:  [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(serr) + strlen(s) < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/swemmoon.c:802: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).
      if (strlen(serr) + strlen(s) < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/swemmoon.c:1403:11:  [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(serr) + strlen(s) < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/swemmoon.c:1403: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).
      if (strlen(serr) + strlen(s) < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/swemmoon.c:1453:11:  [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(serr) + strlen(s) < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/swemmoon.c:1453: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).
      if (strlen(serr) + strlen(s) < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/swemplan.c:304:11:  [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(serr) + strlen(s) < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/swemplan.c:304: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).
      if (strlen(serr) + strlen(s) < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:205: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).
  so_len = strlen (so);
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:210: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).
    so_len += strlen (s);
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:217: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).
      so_len += strlen (s);
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:225: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).
      so_len += strlen (s);
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:233: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).
      so_len += strlen (s);
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:241: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).
      so_len += strlen (s);
data/libswe-1.80.00.0002/astrodienst/src/swepcalc.c:504: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).
  epath =  malloc(strlen(path) + 1);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:510: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 (serr != NULL && strlen(serr) + 30 < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:516: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).
	    if (serr != NULL && strlen(serr) + 30 < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:544: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).
	    if (serr != NULL && strlen(serr) + 30 < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:608: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 (serr != NULL && strlen(serr) + 30 < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:631: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).
	    if (serr != NULL && strlen(serr) + 30 < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:920: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).
	if (serr != NULL && strlen(serr) + 30 < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:974: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).
	if (serr != NULL && strlen(serr) + 30 < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1089:8:  [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(sp) != 0
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1090:8:  [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(sp) <= AS_MAXCH-1-13) {
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1094: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).
  } else if (strlen(path) <= AS_MAXCH-1-13)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1098: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).
  i = strlen(s);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1146: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(sp) >= AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1218: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).
	if (serr != NULL && strlen(serr) + 30 < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1224: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 (serr != NULL && strlen(serr) + 30 < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1240: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).
	if (serr != NULL && strlen(serr) + 30 < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1246: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 (serr != NULL && strlen(serr) + 30 < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1264: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 (serr != NULL && strlen(serr) + 30 < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1281: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 (serr != NULL && strlen(serr) + 30 < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1344: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).
	if (serr != NULL && strlen(serr) + 30 < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1364: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 (serr != NULL && strlen(serr) + 30 < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1538: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).
	if (serr != NULL && strlen(serr) + 35 < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1831: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).
      subdirlen = strlen(subdirnam);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1882:11:  [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(serr) + strlen(s) < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1882: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).
      if (strlen(serr) + strlen(s) < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1994:11:  [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).
      j = strlen(s);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1998: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).
    if (strlen(s) + strlen(fname) < AS_MAXCH) {
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:1998:21:  [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(s) + strlen(fname) < AS_MAXCH) {
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:3567: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).
	if (strlen(serr) + strlen(fdp->fnam) < AS_MAXCH - 1) {
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:3567:21:  [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(serr) + strlen(fdp->fnam) < AS_MAXCH - 1) {
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:3700: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).
  sp = s + strlen(s) - 1;
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:3732:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(sastnam, sp, lastnam+i);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:3741:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(s2, s+51+i, 7);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:3753:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(sastnam, sp, lastnam+i);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:3761:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(s2, sp+56+j, 7);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:3854:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(sastno, sastnam, j);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:3859:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(fdp->astnam, sastnam+j+1, lastnam);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:3870: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).
    i = strlen(fdp->astnam) - 1;
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:3986: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).
    if (strlen(serr_file_damage) + strlen(fdp->fnam) < AS_MAXCH) {
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:3986: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).
    if (strlen(serr_file_damage) + strlen(fdp->fnam) < AS_MAXCH) {
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:4024: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).
	if (strlen(serr) + strlen(swed.fidat[ifno].fnam) < AS_MAXCH - 1) {
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:4024:21:  [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(serr) + strlen(swed.fidat[ifno].fnam) < AS_MAXCH - 1) {
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:4037: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).
	if (strlen(serr) + strlen(swed.fidat[ifno].fnam) < AS_MAXCH - 1) {
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:4037:21:  [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(serr) + strlen(swed.fidat[ifno].fnam) < AS_MAXCH - 1) {
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:4390: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 (serr != NULL && strlen(serr) + 30 < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:4397: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).
	    if (serr != NULL && strlen(serr) + 30 < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:4434: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).
	    if (serr != NULL && strlen(serr) + 30 < AS_MAXCH)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5261:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(sstar, star, SE_MAX_STNAME);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5277: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).
  cmplen = strlen(sstar);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5328:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(fstar, s, SE_MAX_STNAME);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5334: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).
    i = strlen(fstar);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5345: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).
    if (strlen(serr) + strlen(star) < AS_MAXCH) {
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5345: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 (strlen(serr) + strlen(star) < AS_MAXCH) {
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5377: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(cpos[0]) > SE_MAX_STNAME)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5379: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(cpos[1]) > SE_MAX_STNAME-1)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5696:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(sstar, star, SE_MAX_STNAME);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5710: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).
  cmplen = strlen(sstar);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5739:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(fstar, s, SE_MAX_STNAME);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5743: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).
    i = strlen(fstar);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5754: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).
    if (strlen(serr) + strlen(star) < AS_MAXCH) {
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5754: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 (strlen(serr) + strlen(star) < AS_MAXCH) {
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5767:11:  [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(serr) + strlen(cpos[0]) + strlen(cpos[1]) + 2 < AS_MAXCH) {
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5767: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).
      if (strlen(serr) + strlen(cpos[0]) + strlen(cpos[1]) + 2 < AS_MAXCH) {
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5767: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).
      if (strlen(serr) + strlen(cpos[0]) + strlen(cpos[1]) + 2 < AS_MAXCH) {
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5776: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(cpos[0]) > SE_MAX_STNAME)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5778: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(cpos[1]) > SE_MAX_STNAME-1)
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:5995: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(s) < 80) {
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:6284:3:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
  strncat(sout, s2d, maxch - strlen(s2d) - 1);
data/libswe-1.80.00.0002/astrodienst/src/sweph.c:6284: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).
  strncat(sout, s2d, maxch - strlen(s2d) - 1);
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2362: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(fname, "m");
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2364: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(fname, "_");
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2366: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).
  snprintf(fname + strlen(fname),AS_MAXCH - strlen(fname), "%02d.%s", icty, SE_FILE_SUFFIX);
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2366: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).
  snprintf(fname + strlen(fname),AS_MAXCH - strlen(fname), "%02d.%s", icty, SE_FILE_SUFFIX);
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2406: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).
  char *sp = s + strlen(s) - 1;
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2737:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(to, from, n);
data/libswe-1.80.00.0002/astrodienst/src/swephlib.c:2740:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(to, s, n);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:627:3:  [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(ephepath, "");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:632:11:  [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(argv[i]) > 3) {
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:634:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat(s1, argv[i] + 3, 30);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:714:11:  [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(argv[i]) > 5)
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:797:11:  [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(argv[i]) > 4)
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:869:11:  [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(argv[i]) > 2) {
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:871:2:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
	strncat(s1, argv[i] + 3, 30);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1971: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).
	snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%2d.%02d.%04d\t%s    ", 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1971: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).
	snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%2d.%02d.%04d\t%s    ", 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1979: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).
	snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%2d.%02d.%04d\t%s\n", 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:1979: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).
	snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%2d.%02d.%04d\t%s\n", 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2002: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).
	snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%2d.%02d.%04d\t%s    ", 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2002: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).
	snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%2d.%02d.%04d\t%s    ", 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2009: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).
	snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%2d.%02d.%04d\t%s\n", 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2009: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).
	snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%2d.%02d.%04d\t%s\n", 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2091:23:  [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).
      snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%2d.%02d.%04d\t%s\t%.4f/%.4f\tsaros %d/%d\t%.6f\n", jday, jmon, jyear, hms(jut,BIT_LZEROES), attr[0],attr[1], (int) attr[9], (int) attr[10], t_ut);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2091:51:  [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).
      snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%2d.%02d.%04d\t%s\t%.4f/%.4f\tsaros %d/%d\t%.6f\n", jday, jmon, jyear, hms(jut,BIT_LZEROES), attr[0],attr[1], (int) attr[9], (int) attr[10], t_ut);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2094: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).
	snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "  %s ", hms_from_tjd(tret[6])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2094: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).
	snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "  %s ", hms_from_tjd(tret[6])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2096: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[2])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2096: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[2])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2100: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[4])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2100: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[4])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2104: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[5])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2104: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[5])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2108: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[3])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2108: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[3])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2111: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).
	snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s\n", hms_from_tjd(tret[7])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2111: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).
	snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s\n", hms_from_tjd(tret[7])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2171: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%2d.%02d.%04d\t%s\t%.4f/%.4f/%.4f\tsaros %d/%d\t%.6f\n", jday, jmon, jyear, hms(jut,BIT_LZEROES), attr[8], attr[0], attr[2], (int) attr[9], (int) attr[10], t_ut);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2171: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%2d.%02d.%04d\t%s\t%.4f/%.4f/%.4f\tsaros %d/%d\t%.6f\n", jday, jmon, jyear, hms(jut,BIT_LZEROES), attr[8], attr[0], attr[2], (int) attr[9], (int) attr[10], t_ut);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2172: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "\t%d min %4.2f sec\t", (int) dt, fmod(dt, 1) * 60); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2172: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "\t%d min %4.2f sec\t", (int) dt, fmod(dt, 1) * 60); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2174: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).
	    snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[1])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2174:50:  [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).
	    snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[1])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2178: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).
	    snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[2])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2178:50:  [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).
	    snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[2])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2182: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).
	    snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[3])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2182:50:  [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).
	    snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[3])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2186: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).
	    snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[4])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2186:50:  [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).
	    snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[4])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2190: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "\t%d min %4.2f sec   %s %s %s %s", 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2190: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "\t%d min %4.2f sec   %s %s %s %s", 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2197: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(sout, "\n");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2233:23:  [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).
      snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%2d.%02d.%04d\t%s\t%f km\t%.4f/%.4f/%.4f\tsaros %d/%d\t%.6f\n", 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2233:51:  [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).
      snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%2d.%02d.%04d\t%s\t%f km\t%.4f/%.4f/%.4f\tsaros %d/%d\t%.6f\n", 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2235:23:  [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).
      snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "\t%s ", hms_from_tjd(tret[2])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2235:51:  [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).
      snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "\t%s ", hms_from_tjd(tret[2])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2237: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[4])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2237: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[4])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2242: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).
	snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[5])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2242: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).
	snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[5])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2246:23:  [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).
      snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s\n", hms_from_tjd(tret[3])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2246:51:  [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).
      snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s\n", hms_from_tjd(tret[3])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2247:23:  [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).
      snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "\t%s\t%s", strcpy(s1, dms(geopos[0], BIT_ROUND_MIN)), strcpy(s2, dms(geopos[1], BIT_ROUND_MIN)));
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2247:51:  [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).
      snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "\t%s\t%s", strcpy(s1, dms(geopos[0], BIT_ROUND_MIN)), strcpy(s2, dms(geopos[1], BIT_ROUND_MIN)));
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2248: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(sout, "\t");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2249: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(sout_short, "\t");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2264: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).
      snprintf(sout_short + strlen(sout_short),sizeof(sout_short) - strlen(sout_short), "\t%d\t%d", (int) attr[9], (int) attr[10]);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2264:69:  [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).
      snprintf(sout_short + strlen(sout_short),sizeof(sout_short) - strlen(sout_short), "\t%d\t%d", (int) attr[9], (int) attr[10]);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2265: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(sout, "\n");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2266: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(sout_short, "\n");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2326: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%2d.%02d.%04d\t%s\t%fo/o\n", jday, jmon, jyear, hms(jut,BIT_LZEROES), attr[0]);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2326: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%2d.%02d.%04d\t%s\t%fo/o\n", jday, jmon, jyear, hms(jut,BIT_LZEROES), attr[0]);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2327: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "\t%d min %4.2f sec\t", (int) dt, fmod(dt, 1) * 60); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2327: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "\t%d min %4.2f sec\t", (int) dt, fmod(dt, 1) * 60); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2329: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).
	    snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[1])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2329:50:  [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).
	    snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[1])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2333: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).
	    snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[2])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2333:50:  [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).
	    snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[2])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2337: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).
	    snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[3])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2337:50:  [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).
	    snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[3])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2341: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).
	    snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[4])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2341:50:  [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).
	    snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[4])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2345: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "\t%d min %4.2f sec   %s %s %s %s", 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2345: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "\t%d min %4.2f sec   %s %s %s %s", 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2352: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(sout, "\n");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2384:23:  [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).
      snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%2d.%02d.%04d\t%s\t%f km\t%f o/o\n", 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2384:51:  [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).
      snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%2d.%02d.%04d\t%s\t%f km\t%f o/o\n", 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2386:23:  [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).
      snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "\t%s ", hms_from_tjd(tret[2])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2386:51:  [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).
      snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "\t%s ", hms_from_tjd(tret[2])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2388: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[4])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2388: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[4])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2392: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[5])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2392: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).
	  snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s ", hms_from_tjd(tret[5])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2395:23:  [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).
      snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s\n", hms_from_tjd(tret[3])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2395:51:  [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).
      snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s\n", hms_from_tjd(tret[3])); 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2396:23:  [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).
      snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "\t%s\t%s", 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2396:51:  [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).
      snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "\t%s\t%s", 
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2407: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).
        snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "\t%d min %4.2f sec\t",
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2407:53:  [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).
        snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "\t%d min %4.2f sec\t",
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2410: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(sout, "\n");
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2430:21:  [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).
    snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s %s: %d/%02d/%02d %sUT (%f), visible for: %#4.1f min\n", obj_name, sevtname[event_type], jyear, jmon, jday, hms_from_tjd(dret[0]), dret[0], (dret[2] - dret[0]) * 1440);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2430: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).
    snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s %s: %d/%02d/%02d %sUT (%f), visible for: %#4.1f min\n", obj_name, sevtname[event_type], jyear, jmon, jday, hms_from_tjd(dret[0]), dret[0], (dret[2] - dret[0]) * 1440);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2432:21:  [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).
    snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s %s: %d/%02d/%02d %sUT (%f)\n", obj_name, sevtname[event_type], jyear, jmon, jday, hms_from_tjd(dret[0]), dret[0]);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2432: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).
    snprintf(sout + strlen(sout),sizeof(sout) - strlen(sout), "%s %s: %d/%02d/%02d %sUT (%f)\n", obj_name, sevtname[event_type], jyear, jmon, jday, hms_from_tjd(dret[0]), dret[0]);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2573:21:  [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).
    strcpy(s2, sp + strlen(ODEGREE_STRING));
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2613: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).
    if (strlen(path) + pathlen < AS_MAXCH-2) {
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2614:7:  [1] (buffer) strncat:
  Easily used incorrectly (e.g., incorrectly computing the correct maximum
  size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf,
  or automatically resizing strings.
      strncat(path, argv0, pathlen);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2615:23:  [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).
      snprintf(path + strlen(path),sizeof(path) - strlen(path), "%c", *PATH_SEPARATOR);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2615:51:  [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).
      snprintf(path + strlen(path),sizeof(path) - strlen(path), "%c", *PATH_SEPARATOR);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2656: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).
      if (sp[j] != NULL && strlen(path) + 2 + strlen(s) < AS_MAXCH-1) {
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2656:47:  [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 (sp[j] != NULL && strlen(path) + 2 + strlen(s) < AS_MAXCH-1) {
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2657: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).
	snprintf(path + strlen(path),sizeof(path) - strlen(path), "%c:%s%c", *sp[j], s, *PATH_SEPARATOR);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2657: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).
	snprintf(path + strlen(path),sizeof(path) - strlen(path), "%c:%s%c", *sp[j], s, *PATH_SEPARATOR);
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2663: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).
    if (strlen(path) + strlen(SE_EPHE_PATH) < AS_MAXCH-1)
data/libswe-1.80.00.0002/astrodienst/src/swetest.c:2663: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 (strlen(path) + strlen(SE_EPHE_PATH) < AS_MAXCH-1)

ANALYSIS SUMMARY:

Hits = 635
Lines analyzed = 44184 in approximately 1.78 seconds (24769 lines/second)
Physical Source Lines of Code (SLOC) = 30580
Hits@level = [0] 383 [1] 204 [2] 287 [3]   1 [4] 136 [5]   7
Hits@level+ = [0+] 1018 [1+] 635 [2+] 431 [3+] 144 [4+] 143 [5+]   7
Hits/KSLOC@level+ = [0+] 33.2897 [1+] 20.7652 [2+] 14.0942 [3+] 4.70896 [4+] 4.67626 [5+] 0.228908
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.