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/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/cel.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/sph.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitshead.h
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/lin.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/distort.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imio.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/tnxpos.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/zpxpos.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/platepos.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcstrig.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/worldpos.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dateutil.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/poly.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.h
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imio.h
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.h
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/iget.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.h
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dsspos.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon.c
Examining data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/slasubs.c

FINAL RESULTS:

data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:1078:8:  [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.
	(void)strncat (newpixname, pixname, SZ_IM2PIXFILE);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dateutil.c:429:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf (tstring, outform, ihr, imn, sec);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dateutil.c:433:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf (tstring, outform, ihr, imn, (int)(sec+0.5));
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dateutil.c:443: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 (string, tstring);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dateutil.c:445: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 (string, dstring);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dateutil.c:447:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (string, "%sT%s", dstring, tstring);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:272: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 (filepath, rootdir);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:274:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	    strcat (filepath, token);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:277: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 (filepath, token);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:304:6:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	    strcpy (filepath, rootdir);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:306:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	    strcat (filepath, token);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:309: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 (filepath, token);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:329:14:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    else if (access (filename, R_OK))
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:181: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 (extnam, ext+1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1235: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 (pw[ifield].kname,temp);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1256: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 (pw[ifield].kform, tform);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1317: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 (rw[ik].kform, pw[ifield].kform);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1318: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 (rw[ik].kname, pw[ifield].kname);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1583:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (!access (filename, 0)) {
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1622:7:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	if (!access (filename, 0)) {
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1884:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (!access (filename, 0)) {
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1970:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (!access (filename, 0)) {
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:2044: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 (oldheader, header);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:133: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 (keyword1, keyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:175: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 (val, value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:233: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 (val, value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:289: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 (val, value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:386: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 (keyword1, keyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:426: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 (val, value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:473: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 (val, value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:674:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (keywordi, "%s_1", keyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:678:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (keywordi, "%s_01", keyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:682:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf (keywordi, "%s_001", keyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:695:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf (keywordi, keyform, keyword, ikey);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:702: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 (stri, value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:750: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 (keyword1, keyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:783: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 (str, value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:999: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 (cval,v1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1017: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 (cval,cpar);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1034: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 (cval, v1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1049: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 (cval,v1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:150:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf (value, format, dval);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:157:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf (value, format, dval);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:293: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 (keyroot, keyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:306: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 (newkey, keyroot);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1008: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 (string, tstring);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1151: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 (string, tstring);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1194:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf (tstring, degform, deg1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1198:2:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	sprintf (tstring, degform, (int)deg1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1204: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 (string, tstring);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1229:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf (string, numform, num);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1233:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf (string, numform, (int)num);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1239:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    sprintf (string, numform, num);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/iget.c:188: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 (val, value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/iget.c:229: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 (val, value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/iget.c:268: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 (val, value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/iget.c:299: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 (val, value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/iget.c:333: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 (str, value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/iget.c:374: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 (keyword,keyword0);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/iget.c:421: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 (cval,cpar);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/iget.c:429: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 (cval, line);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:896:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (!access (hdrname, 0)) {
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:953: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 (pixname, newpixname);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:958: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 (pixname, bang+1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:960: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 (pixname, pixn);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:993:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if (!access (pixname, 0)) {
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:1228:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat (temp,filename);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:1229: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 (pixfile, temp);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:1234: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 (temp,pixfile);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:1235: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 (pixfile, temp);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:1254:6:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	    strcat (temp,pixfile);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:1255: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 (pixfile, temp);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:190: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 (wcs->ptype,proj);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:193: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 (wcs->ctype[0],proj);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:194: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 (wcs->ctype[1],proj);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:319: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 (wcs->radecout, wcs->radecsys);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:391: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 (wcs->ctype[0], ctype1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:392: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 (wcs->c1type, ctype1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:393: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 (wcs->ptype, ctype1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:435:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (wcs->ctype[0],"%-4s%4s",wcs->c1type,wcs->ptype);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:525: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 (wcs->ctype[1], ctype2);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:526: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 (wcs->c2type, ctype2);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:578:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (wcs->ctype[1],"%-4s%4s",wcs->c2type,wcs->ptype);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1170: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 (wcs->radecsys,coorsys);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1574: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 (comform, wcs->command_format[i]);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1591:10:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			(void)sprintf(command, comform, xystring, filename);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1593:10:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			(void)sprintf(command, comform, filename, xystring);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1597:10:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			(void)sprintf(command, comform, xystring, filename,
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1600:10:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			(void)sprintf(command, comform, filename, xystring,
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1603:10:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			(void)sprintf(command, comform, filename, wcstring,
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1608:10:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			(void)sprintf(command, comform, xystring, wcstring,
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1611:10:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			(void)sprintf(command, comform, wcstring, xystring,
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1614:10:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
			(void)sprintf(command, comform, wcstring, filename,
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1618:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		(void)sprintf(command, comform, xystring);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1620:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		(void)sprintf(command, comform, xystring, wcstring);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1622:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		(void)sprintf(command, comform, wcstring, xystring);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1627:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		(void)sprintf(command, comform, filename);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1629:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		(void)sprintf(command, comform, filename, wcstring);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1631:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		(void)sprintf(command, comform, wcstring, filename);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1634:12:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
	    (void)sprintf(command, comform, wcstring);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1635:8:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
	ier = system (command);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1661: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 (wcs->radecout, wcs->radecsys);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1709: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 (wcs->radecout, coorsys);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1769: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 (wcs->radecin, wcs->radecsys);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1813: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 (wcs->radecin, coorsys);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1928:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		    (void)sprintf (wcstring,"%s	%s", rastr, decstr);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1930:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		    (void)sprintf (wcstring,"%s %s", rastr, decstr);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1955:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		    (void)sprintf (wcstring,"%s	%s", rastr, decstr);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1958:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		    (void)sprintf (wcstring,"%s %s", rastr, decstr);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2040: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 (wcstring, wcs->radecout);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2054:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat (rastr, wcs->units[0]);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2058:4:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
			strcat (decstr, wcs->units[1]);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2065:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		    (void)sprintf (wcstring,"%s	%s", rastr, decstr);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2067:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		    (void)sprintf (wcstring,"%s %s", rastr, decstr);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2082: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 (wcstring, wcs->units[0]);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2086: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 (wcstring, wcs->units[1]);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2452: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 (wcsfile, filename);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2461: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 (wcserrmsg, errmsg); return; }
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2489: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 (wcscoor0, wcscoor); return; }
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2511: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 (wcscom0[i], wcscom);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2655: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 (kwd[++nkwd], keyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2660: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 (kwd[++nkwd], keyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2665: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 (kwd[++nkwd], keyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2670: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 (kwd[++nkwd], keyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2675: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 (kwd[++nkwd], keyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2709: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 (kwdc, kwd[i]);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2720: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 (kwdc, kwd[i]);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:657: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(r,name);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:797:25:  [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.
#  define PyOS_snprintf _snprintf
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:799:25:  [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.
#  define PyOS_snprintf snprintf
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:816:9:  [4] (format) vsnprintf:
  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.
  res = vsnprintf(buf, sizeof(buf), fmt, ap);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:657: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(r,name);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:797:25:  [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.
#  define PyOS_snprintf _snprintf
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:799:25:  [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.
#  define PyOS_snprintf snprintf
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:816:9:  [4] (format) vsnprintf:
  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.
  res = vsnprintf(buf, sizeof(buf), fmt, ap);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:260: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 (wcs->wcsname, wcsname);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:330: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 (keyword, temp);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:348: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 (keyword, temp);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:405: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 (ctype2, ctype1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:410: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 (wcs->ctype[0], ctype1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:411: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 (wcs->ctype[1], ctype2);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:871:8:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	(void)sprintf (wcs->center,"%2.0f:%2.0f:%5.3f %c%2.0f:%2.0f:%5.3f %s",
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1196:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf (errstr,"*Error*: incorrect linear conversion in %s",
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1215:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (errstr,"*Error*: incorrect linear conversion in %s",
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1256:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf (errstr,"*Error*: incorrect linear conversion in %s",
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1314: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 (wcs->radecout, wcs->radecsys);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1317: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 (wcs->radecin, wcs->radecsys);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1454: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 (wcs->radecsys,systring);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:483:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(requir, "DEC--%s", wcs->pcode);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:489:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(requir, "RA---%s", wcs->pcode);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:495:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(requir, "%s-%s", wcs->lattyp, wcs->pcode);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:501:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(requir, "%s-%s", wcs->lngtyp, wcs->pcode);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:507:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(requir, "%s-%s", wcs->lattyp, wcs->pcode);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:513:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(requir, "%s-%s", wcs->lngtyp, wcs->pcode);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/zpxpos.c:105: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 (header1, header);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2531:18:  [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.
	else if ((str = getenv (envar)) != NULL)
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/cel.c:261:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char pcode[4];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/cel.c:410:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char pcode[4];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/cel.c:440:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char pcode[4];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dateutil.c:413: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 tstring[32], dstring[32];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dateutil.c:414: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 outform[64];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dateutil.c:428: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 (outform, "%%02d:%%02d:%%0%d.%df", nf, ndec);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dateutil.c:432: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 (outform, "%%02d:%%02d:%%0%dd", nf);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dateutil.c:439: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 (dstring, "%4d-%02d-%02d", iyr, imon, iday);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dateutil.c:885: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 (isotime, "%04d-%02d-%02dT%02d:%02d:%02d",
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dateutil.c:1999: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 (string, "*** date out of range ***");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dateutil.c:2001: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 (string, "%02d/%02d/%02d %02d:%02d:%06.3f",
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dateutil.c:2004: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 (string, "%02d/%02d/%3d %02d:%02d:%6.3f",
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dateutil.c:2007: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 (string, "*** date out of range ***");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dateutil.c:2356: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 (string, "*** date out of range ***");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dateutil.c:2358: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 (string, "%02d/%02d/%02d", iday, imon, iyr-1900);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dateutil.c:2360: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 (string, "%02d/%02d/%3d", iday, imon, iyr-1900);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dateutil.c:2362: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 (string, "*** date out of range ***");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dateutil.c:2386: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 (string, "%02d:%02d:%06.3f", ihr, imn, sec);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dateutil.c:3194: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 (isotime, "%04d-%02d-%02dT%02d:%02d:%02d",
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/distort.c:53: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 keyword[12];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/distort.c:77: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 (keyword, "A_%d_%d", i, j);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/distort.c:94: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 (keyword, "B_%d_%d", i, j);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/distort.c:111: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 (keyword, "AP_%d_%d", i, j);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/distort.c:128: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 (keyword, "BP_%d_%d", i, j);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/distort.c:149: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 keyword[16];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/distort.c:150: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 str[32];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/distort.c:160: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 (keyword, "A_%d_%d", i, j);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/distort.c:172: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 (keyword, "AP_%d_%d", i, j);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/distort.c:184: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 (keyword, "B_%d_%d", i, j);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/distort.c:196: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 (keyword, "BP_%d_%d", i, j);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/distort.c:390: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 (dcode, "-SIP");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:151:21:  [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 ((diskfile = fopen (filename, "rb")) == NULL)
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:213:21:  [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 ((diskfile = fopen (filename, "rb")) == NULL)
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:238:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char token[256];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:241:21:  [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 ((diskfile = fopen (filename, "r")) == NULL)
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:262:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char token[256];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:263: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 filepath[256];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:266:21:  [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 ((diskfile = fopen (filename, "r")) == NULL)
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:294:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char token[256];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:295: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 filepath[256];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:298:21:  [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 ((diskfile = fopen (filename, "r")) == NULL)
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:466: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 keyword[16];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:482:25:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if ((diskfile = open (filename, O_RDONLY)) < 0)
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:507: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 keyword[16];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:527:25:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if ((diskfile = open (filename, O_RDONLY)) < 0)
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:551: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 keyword[16];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:565:25:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if ((diskfile = open (filename, O_RDONLY)) < 0)
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.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 fitserrmsg[80];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:119: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 fitsbuf[2884];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:125: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 extname[32];	/* FITS extension name */
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:126: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 extnam[32];	/* Desired FITS extension name */
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:178: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).
	    extnum = atoi (ext+1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:914: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 keyword[16];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:970: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 (keyword, "NAXIS%d", iaxis);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1055:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open (inpath, O_RDONLY);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1096: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 temp[16];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1165: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 tname[12];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1166: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 temp[16];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1167: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 tform[16];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1230: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 (tname, "TTYPE%d", ifield+1);;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1246: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 (tname, "TBCOL%d", ifield+1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1253: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 (tname, "TFORM%d", ifield+1);;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1279: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).
	    kl = atoi (tf1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1398: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 temp[30];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1436: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 temp[30];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1474: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 temp[30];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1512: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 temp[30];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1584:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	    fd = open (filename, O_WRONLY);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1591:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	    fd = open (filename, O_RDWR+O_CREAT, 0666);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1623:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	    fd = open (filename, O_WRONLY);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1631:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	    fd = open (filename, O_APPEND, 0666);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1662: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 keyword[32];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1732: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 (keyword, "NAXIS%d", iaxis);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1885:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fdout = open (filename, O_WRONLY);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1892:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fdout = open (filename, O_RDWR+O_CREAT, 0666);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1971:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open (filename, O_WRONLY);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1978:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open (filename, O_RDWR+O_CREAT, 0666);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:2071:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fd = open (filename, O_WRONLY);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:2103: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 keyword[16];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:2125:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	if ((diskfile = open (filename, O_RDONLY)) < 0) {
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.h:41: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 kname[10];	/* Keyword for table entry */
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.h:46: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 kform[8];	/* Format for this value */
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.h:57: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 white[MAXWHITE]; /* Whitespace (separator) characters */
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.h:58: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 *tok1[MAXTOKENS]; /* Pointers to start of tokens */
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:78: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 val[VLENGTH+1];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:127: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 keyword1[16];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:380: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 keyword1[16];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:667: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 keywordi[16];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:669: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 keyform[8];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:676: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 (keyform, "%s_%d");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:680:6:  [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 (keyform, "%s_%02d");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:684: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 (keyform, "%s_%03d");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:686: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 (keyform, "%s_%03d");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:744: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 keyword1[16];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:844:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char cval[80];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:846: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 cwhite[2];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:847: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 squot[2], dquot[2], lbracket[2], rbracket[2], slash[2], comma[2];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:849: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 keyword[81]; /* large for ESO hierarchical keywords */
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:850:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[100];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1008:13:  [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).
	    ipar = atoi (brack1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1333:21:  [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).
	    deg = (double) atoi (value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1340:18:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		min = (double) atoi (value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1350: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).
		    min = (double) atoi (value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1364:28:  [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).
	    dec = sign * (double) atoi (value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:78: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 value[30];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:81: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 (value,"%d",ival);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:98: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 value[30];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:101: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 (value, "%f", *rval);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:120: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 value[30];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:123: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 (value, "%g", dval);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:143: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 value[30];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:144: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 format[8];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:149: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 (format, "%%.%dg", -ndec);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:156: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 (format, "%%.%df", ndec);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:177: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 value[30];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:199: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 value[30];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:252: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 value[8];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:279: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 keyroot[8], newkey[12], value[80];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:359: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 value[80];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:406:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[100];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:407: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 newcom[50];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:602:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[100];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:889: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 tstring[64];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:929: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.
	(void) sprintf (tstring,"%02d:%02d:%09.6f",hours,minutes,seconds);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:941: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.
	(void) sprintf (tstring,"%02d:%02d:%08.5f",hours,minutes,seconds);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:953: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.
	(void) sprintf (tstring,"%02d:%02d:%07.4f",hours,minutes,seconds);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:965: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.
	(void) sprintf (tstring,"%02d:%02d:%06.3f",hours,minutes,seconds);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:977: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.
	(void) sprintf (tstring,"%02d:%02d:%05.2f",hours,minutes,seconds);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:989: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.
	(void) sprintf (tstring,"%02d:%02d:%04.1f",hours,minutes,seconds);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1002: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.
	(void) sprintf (tstring,"%02d:%02d:%02d",hours,minutes,isec);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1034: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 tstring[64];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1078: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.
	(void) sprintf (tstring,"%c%02d:%02d:%09.6f",sign,degrees,minutes,seconds);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1089: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.
	(void) sprintf (tstring,"%c%02d:%02d:%08.5f",sign,degrees,minutes,seconds);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1100: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.
	(void) sprintf (tstring,"%c%02d:%02d:%07.4f",sign,degrees,minutes,seconds);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1111: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.
	(void) sprintf (tstring,"%c%02d:%02d:%06.3f",sign,degrees,minutes,seconds);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1122: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.
	(void) sprintf (tstring,"%c%02d:%02d:%05.2f",sign,degrees,minutes,seconds);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1133: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.
	(void) sprintf (tstring,"%c%02d:%02d:%04.1f",sign,degrees,minutes,seconds);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1145: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.
	(void) sprintf (tstring,"%c%02d:%02d:%02d",sign,degrees,minutes,isec);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1171: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 degform[8];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1173: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 tstring[64];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1193: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 (degform, "%%%d.%df", field, ndec);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1197: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 (degform, "%%%4d", field);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1224: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 numform[8];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1228: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 (numform, "%%%d.%df", field, ndec);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1232: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 (numform, "%%%dd", field);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1238: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 (numform, "%%.%df", ndec);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1242: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 (string, "%d", (int)num);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/iget.c:56: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 val[30];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/iget.c:292:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char *value,val[30];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/iget.c:358:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	static char cval[MAX_LVAL];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/iget.c:360:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char cwhite[8];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/iget.c:361:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char lbracket[2],rbracket[2];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/iget.c:362:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char keyword[16];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/iget.c:363:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char line[MAX_LVAL];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/iget.c:411:10:  [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).
		ipar = atoi (c1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:198: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).
    fd = fopen (filename, "rb");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:270: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 pixname[SZ_IM2PIXFILE+1];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:271: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 newpixname[SZ_IM2HDRFILE+1];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:286:7:  [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).
	fd = fopen (bang + 1, "rb");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:288:7:  [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).
	fd = fopen (pixname, "rb");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:297:7:  [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).
	fd = fopen (newpixname, "rb");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:495: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 *fhead, *fhead1, *fp, endline[81];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:497: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 fitsline[81];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:679: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 (fitsline, "IRAF header file name");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:711: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 (fitsline, "IRAF .pix pixel file");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:897:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open (hdrname, O_WRONLY);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:904:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open (hdrname, O_RDWR+O_CREAT, 0666);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:941: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 pixname[SZ_IM2PIXFILE+1];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:994:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open (pixname, O_WRONLY);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:1001:7:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	fd = open (pixname, O_RDWR+O_CREAT, 0666);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:1110: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 *fitsend, *fitsp, pixfile[SZ_IM2PIXFILE], hdrfile[SZ_IM2HDRFILE];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:1111: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 title[SZ_IM2TITLE], temp[80];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:1227: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 (temp, "HDR$");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:1233: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 (temp, "HDR$");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:1253:6:  [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 (temp, "HDR$");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:1763: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 temp[8];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imio.c:1453: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 temp[8];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/platepos.c:366: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 keyword[16];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/platepos.c:370: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 (keyword,"CO1_%d",i+1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/platepos.c:374: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 (keyword,"CO2_%d",i+1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/poly.c:66:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char		str[512];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/poly.c:74: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(str, "The dimensionality of the polynom (%d) exceeds the maximum\n"
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/poly.c:107: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(str, "The degree of the polynom (%d) exceeds the maximum\n"
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:241:1:  [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 pcodes[26][4] =
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:295:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char pcode[4];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:416: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(prj->code, "AZP");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:598: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(prj->code, "SZP");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:786: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(prj->code, "TAN");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:896: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(prj->code, "STG");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:996: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(prj->code, "SIN");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:1186: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(prj->code, "ARC");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:1284: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(prj->code, "ZPN");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:1537: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(prj->code, "ZEA");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:1651: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(prj->code, "AIR");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:1823: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(prj->code, "CYP");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:1942: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(prj->code, "CEA");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.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(prj->code, "CAR");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:2123: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(prj->code, "MER");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:2207: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(prj->code, "SFL");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:2296: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(prj->code, "PAR");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:2402: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(prj->code, "MOL");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:2548: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(prj->code, "AIT");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:2666: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(prj->code, "COP");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:2797: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(prj->code, "COE");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:2933: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(prj->code, "COD");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:3049: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(prj->code, "COO");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:3184: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(prj->code, "BON");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:3297: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(prj->code, "PCO");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:3456: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(prj->code, "TSC");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:3675: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(prj->code, "CSC");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/proj.c:3995: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(prj->code, "QSC");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:90: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 wcserrmsg[80];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:91: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 wcsfile[256]={""};
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:184: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 (wcs->c1type,"RA");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:185: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 (wcs->c2type,"DEC");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:191: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 (wcs->ctype[0],"RA---");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:192: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 (wcs->ctype[1],"DEC--");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:211: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 (wcs->radecsys,"FK5");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:213: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 (wcs->radecsys,"FK4");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:310: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 (wcs->radecsys,"FK5");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:312:2:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	strcpy (wcs->radecsys,"FK4");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:346: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 ctypes[NWCSTYPE][4];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:347: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 dtypes[10][4];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:350: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 (ctypes[0], "LIN");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:351: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 (ctypes[1], "AZP");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:352: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 (ctypes[2], "SZP");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:353: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 (ctypes[3], "TAN");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:354: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 (ctypes[4], "SIN");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:355: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 (ctypes[5], "STG");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:356: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 (ctypes[6], "ARC");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:357: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 (ctypes[7], "ZPN");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:358: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 (ctypes[8], "ZEA");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:359: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 (ctypes[9], "AIR");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:360: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 (ctypes[10], "CYP");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:361: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 (ctypes[11], "CAR");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:362: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 (ctypes[12], "MER");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:363: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 (ctypes[13], "CEA");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:364:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy (ctypes[14], "COP");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:365: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 (ctypes[15], "COD");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:366: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 (ctypes[16], "COE");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:367:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy (ctypes[17], "COO");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:368: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 (ctypes[18], "BON");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:369: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 (ctypes[19], "PCO");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:370: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 (ctypes[20], "SFL");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:371: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 (ctypes[21], "PAR");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:372: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 (ctypes[22], "AIT");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:373: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 (ctypes[23], "MOL");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:374: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 (ctypes[24], "CSC");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:375: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 (ctypes[25], "QSC");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:376: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 (ctypes[26], "TSC");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:377: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 (ctypes[27], "NCP");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:378: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 (ctypes[28], "GLS");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:379: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 (ctypes[29], "DSS");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:380: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 (ctypes[30], "PLT");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:381: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 (ctypes[31], "TNX");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:382: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 (ctypes[32], "ZPX");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:383: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 (ctypes[33], "TPV");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:386: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 (dtypes[1], "SIP");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:513: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 (wcs->radecsys,"NPOLE");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:520: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 (wcs->radecsys,"SPA");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:689: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 (wcs->radecsys, "FK5");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:710: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 (wcs->radecsys, "FK4");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1189: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 wcstring[32];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1562: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 command[120];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1563: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 comform[120];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1564: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 xystring[32];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1576: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 (comform, "sgsc -ah %s");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1586:12:  [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.
	    (void)sprintf (xystring, "%.2f %.2f", xfile, yfile);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1666: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 (wcs->radecout+1,"%.4f", wcs->equinox);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1678: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 (wcs->radecout, "B1950");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1683: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 (wcs->radecout+1,"%.4f", wcs->equinox);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1695: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 (wcs->radecout, "J2000");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1774: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 (wcs->radecin+1,"%.4f", wcs->equinox);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1786: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 (wcs->radecin, "B1950");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1791: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 (wcs->radecin+1,"%.4f", wcs->equinox);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1803: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 (wcs->radecin, "J2000");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1904:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char	rastr[32], decstr[32];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1917:12:  [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.
	    (void)sprintf (wcstring,"Off map");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1977: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 (wcstring,"	galactic");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1979: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 (wcstring," galactic");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1987: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 (wcstring,"	ecliptic");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1989: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 (wcstring," ecliptic");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1997: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 (wcstring,"	planet");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1999: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 (wcstring," planet");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2007: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 (wcstring,"	alt-az");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2009: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 (wcstring," alt-az");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2017: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 (wcstring,"	long-npa");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2019: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 (wcstring," long-npa");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2027: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 (wcstring,"	long-spa");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2029: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 (wcstring," long-spa");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2077:3:  [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 (wcstring, " linear");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2484: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 wcscoor0[16];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2498: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 *wcscom0[10];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2519: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 envar[16];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2526:6:  [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 (envar, "WCS_COMMAND");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2528: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 (envar, "WCS_COMMAND%d", i);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2588: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 kwdc[16], keyword[16];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2589: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 tstr[80];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2599: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 (kwd[++nkwd], "EPOCH");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2601: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 (kwd[++nkwd], "EQUINOX");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2603: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 (kwd[++nkwd], "RADECSYS");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2605: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 (kwd[++nkwd], "CTYPE1");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2607: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 (kwd[++nkwd], "CTYPE2");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2609: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 (kwd[++nkwd], "CRVAL1");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2611: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 (kwd[++nkwd], "CRVAL2");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2613: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 (kwd[++nkwd], "CDELT1");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2615: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 (kwd[++nkwd], "CDELT2");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2617: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 (kwd[++nkwd], "CRPIX1");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2619: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 (kwd[++nkwd], "CRPIX2");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2621: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 (kwd[++nkwd], "CROTA1");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2623: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 (kwd[++nkwd], "CROTA2");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2625: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 (kwd[++nkwd], "CD1_1");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2627: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 (kwd[++nkwd], "CD1_2");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2629: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 (kwd[++nkwd], "CD2_1");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2631: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 (kwd[++nkwd], "CD2_2");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2633: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 (kwd[++nkwd], "PC1_1");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2635: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 (kwd[++nkwd], "PC1_2");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2637: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 (kwd[++nkwd], "PC2_1");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2639: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 (kwd[++nkwd], "PC2_2");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2641: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 (kwd[++nkwd], "PC001001");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2643: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 (kwd[++nkwd], "PC001002");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2645: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 (kwd[++nkwd], "PC002001");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2647: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 (kwd[++nkwd], "PC002002");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2649: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 (kwd[++nkwd], "LATPOLE");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2651: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 (kwd[++nkwd], "LONPOLE");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2654: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 (keyword,"CO1_%d", i);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2659: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 (keyword,"CO2_%d", i);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2664: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 (keyword,"PROJP%d", i);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2669: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 (keyword,"PV1_%d", i);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2674: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 (keyword,"PV2_%d", i);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2700: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 (kwdc, "PC1_1");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2702: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 (kwdc, "PC1_2");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2704: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 (kwdc, "PC2_1");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2706: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 (kwdc, "PC2_2");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2718: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 (kwdc, "RADECSY");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.h:121: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		instrument[32];	/* Instrument name */
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.h:122: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		ctype[9][9];	/* Values of CTYPEn keywords */
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.h:123: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		c1type[9];	/*  1st coordinate type code:
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.h:125: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		c2type[9];	/*  2nd coordinate type code:
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.h:127: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		ptype[9];	/*  projection type code:
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.h:129: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		units[9][32];	/* Units if LINEAR */
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.h:130: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		radecsys[32];	/* Reference frame: FK4, FK4-NO-E, FK5, GAPPT*/
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.h:131: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		radecout[32];	/* Output reference frame: FK4,FK5,GAL,ECL */
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.h: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		radecin[32];	/* Input reference frame: FK4,FK5,GAL,ECL */
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.h:140: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		center[32];	/* Center coordinates (with frame) */
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.h:149:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char *command_format[10];	/* WCS command formats */
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:608:16:  [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 const char hex[17] = "0123456789abcdef";
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:769:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(newstr, cstr, len+1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:813:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[SWIG_PYBUFFER_SIZE * 2];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:1962: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 result[SWIG_BUFFER_SIZE];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:1976: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 result[SWIG_BUFFER_SIZE];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:1987: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 result[SWIG_BUFFER_SIZE];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:2121:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pack, ptr, size);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:2139:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ptr, sobj->pack, size);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:2775: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 mesg[256];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:3185:22:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    *cptr = (char *)memcpy((char *)malloc((len + 1)*sizeof(char)), cstr, sizeof(char)*(len + 1));
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:3332:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	if (csize) memcpy(val, cptr, csize*sizeof(char));
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:7787: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 temp2[32] ;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:7803:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  if (arg2) memcpy(arg1->instrument,arg2,32*sizeof(char));
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:7843: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 (*arg2)[9] ;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:7861: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.
  arg2 = (char (*)[9])(argp2);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:7890: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 (*result)[9] = 0 ;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:7898:13:  [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.
  result = (char (*)[9])(char (*)[9]) ((arg1)->ctype);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:7898:26:  [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.
  result = (char (*)[9])(char (*)[9]) ((arg1)->ctype);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:7912: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 temp2[9] ;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:7928:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  if (arg2) memcpy(arg1->c1type,arg2,9*sizeof(char));
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:7971: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 temp2[9] ;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:7987:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  if (arg2) memcpy(arg1->c2type,arg2,9*sizeof(char));
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:8030: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 temp2[9] ;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:8046:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  if (arg2) memcpy(arg1->ptype,arg2,9*sizeof(char));
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:8086: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 (*arg2)[32] ;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:8104: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.
  arg2 = (char (*)[32])(argp2);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:8133: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 (*result)[32] = 0 ;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:8141:13:  [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.
  result = (char (*)[32])(char (*)[32]) ((arg1)->units);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:8141:27:  [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.
  result = (char (*)[32])(char (*)[32]) ((arg1)->units);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:8155: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 temp2[32] ;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:8171:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  if (arg2) memcpy(arg1->radecsys,arg2,32*sizeof(char));
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:8214: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 temp2[32] ;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:8230:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  if (arg2) memcpy(arg1->radecout,arg2,32*sizeof(char));
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:8273: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 temp2[32] ;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:8289:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  if (arg2) memcpy(arg1->radecin,arg2,32*sizeof(char));
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:8592: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 temp2[32] ;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:8608:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  if (arg2) memcpy(arg1->center,arg2,32*sizeof(char));
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:8696:51:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  resultobj = SWIG_NewPointerObj((struct wcsprm *)memcpy((struct wcsprm *)malloc(sizeof(struct wcsprm)),&result,sizeof(struct wcsprm)), SWIGTYPE_p_wcsprm, SWIG_POINTER_OWN |  0 );
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:8754:51:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  resultobj = SWIG_NewPointerObj((struct linprm *)memcpy((struct linprm *)malloc(sizeof(struct linprm)),&result,sizeof(struct linprm)), SWIGTYPE_p_linprm, SWIG_POINTER_OWN |  0 );
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:8812:51:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  resultobj = SWIG_NewPointerObj((struct celprm *)memcpy((struct celprm *)malloc(sizeof(struct celprm)),&result,sizeof(struct celprm)), SWIGTYPE_p_celprm, SWIG_POINTER_OWN |  0 );
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:8870:51:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  resultobj = SWIG_NewPointerObj((struct prjprm *)memcpy((struct prjprm *)malloc(sizeof(struct prjprm)),&result,sizeof(struct prjprm)), SWIGTYPE_p_prjprm, SWIG_POINTER_OWN |  0 );
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:9084:52:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  resultobj = SWIG_NewPointerObj((struct Distort *)memcpy((struct Distort *)malloc(sizeof(struct Distort)),&result,sizeof(struct Distort)), SWIGTYPE_p_Distort, SWIG_POINTER_OWN |  0 );
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:9516:37:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    arg1->wcsname = (char *)(char *)memcpy((char *)malloc((size)*sizeof(char)), (const char *)(arg2), sizeof(char)*(size));
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon.c:751: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 (cstr, "XY");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon.c:782:6:  [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 (cstr, "B1950");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon.c:784: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 (cstr, "B%7.2f", equinox);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon.c:792: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 (cstr, "galactic");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon.c:794: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 (cstr, "ecliptic");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon.c:797:6:  [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 (cstr, "J2000");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon.c:799: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 (cstr, "J%7.2f", equinox);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon.c:807: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 (cstr, "ICRS");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon.c:810: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 (cstr, "PLANET");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon.c:813: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 (cstr, "LINEAR");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon.c:1701: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.
    (void)sprintf (eqcoor,"%02d:%02d:%06.3f %c%02d:%02d:%05.2f",
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:608:16:  [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 const char hex[17] = "0123456789abcdef";
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:769:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(newstr, cstr, len+1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:813:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buf[SWIG_PYBUFFER_SIZE * 2];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:1962: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 result[SWIG_BUFFER_SIZE];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:1976: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 result[SWIG_BUFFER_SIZE];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:1987: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 result[SWIG_BUFFER_SIZE];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:2121:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(pack, ptr, size);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:2139:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(ptr, sobj->pack, size);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:2775: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 mesg[256];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:3150:22:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    *cptr = (char *)memcpy((char *)malloc((len + 1)*sizeof(char)), cstr, sizeof(char)*(len + 1));
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:106: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 keyword[12];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:107: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 *upval, value[72];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:121: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 (keyword, "WCSNAME");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:221: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 ctype1[32], ctype2[32], tstring[32];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:222: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 pvkey1[8],pvkey2[8],pvkey3[8];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:228: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 keyword[16];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:235: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 temp[80];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:236: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 wcsname[64];	/* Name of WCS depended on by current WCS */
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:328: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 (keyword, "NAXIS");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:329: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 (temp, "%d", i+1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:347: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 (keyword, "CTYPE");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:490: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 (keyword,"PROJP%d",i);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:494: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 (pvkey1, "PV%d_1", ilat);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:495: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 (pvkey2, "PV%d_2", ilat);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:496: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 (pvkey3, "PV%d_3", ilat);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:535: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 (keyword,"PV%d_%d", ilat, i);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:587:12:  [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.
	    (void)strcpy (wcs->ptype, "PLATE");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:589: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 (keyword,"CO1_%d", i+1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:596: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 (keyword,"CO2_%d",i+1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:714: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 (keyword, "PC00%1d00%1d", i+1, j+1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:730: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 (keyword, "PC%1d_%1d", i+1, j+1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:777:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		    sprintf(keyword, "PV%d_%d", k+1, j);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:837: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.
	(void) sprintf (temp, "WCSINITC: No image scale for WCS %c", mchar);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:866:6:  [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 (wcs->radecsys,"FK4");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:868:6:  [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 (wcs->radecsys,"FK5");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:880: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 (keyword,"PPO%d", i+1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:886: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 (keyword,"AMDX%d", i+1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:892: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 (keyword,"AMDY%d",i+1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:897:8:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	(void)strcpy (wcs->c1type, "RA");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:898:8:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	(void)strcpy (wcs->c2type, "DEC");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:899:8:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
	(void)strcpy (wcs->ptype, "DSS");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:904: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 (wcs->ctype[0], "RA---DSS");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:905: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 (wcs->ctype[1], "DEC--DSS");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1132: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 errstr[80];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1304: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 (wcs->radecsys, "LINEAR");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1306: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 (wcs->radecsys, "PIXEL");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1310: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 (wcs->radecout, "FK4");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1312: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 (wcs->radecout, "FK5");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1348: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 systring[32], eqstring[32];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1349: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 radeckey[16], eqkey[16];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1350: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 tstring[32];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1357: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 (eqkey, "EQUINOX%c", mchar[0]);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1358: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 (radeckey, "RADECSYS%c", mchar[0]);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1361: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 (eqkey, "EQUINOX");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1362: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 (radeckey, "RADECSYS");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1366:6:  [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 (eqkey, "EQUINOX");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1370: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 (radeckey, "RADECSYS");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1375:8:  [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).
	ieq = atoi (eqstring+1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1376: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 (systring, "FK5");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1381: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 (systring, "FK4");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1426:6:  [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 (systring,"FK5");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1471:6:  [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 (wcs->radecsys,"FK5");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1473:6:  [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 (wcs->radecsys,"FK4");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1478: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 (wcs->radecsys,"GALACTIC");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1480: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 (wcs->radecsys,"ECLIPTIC");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1482: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 (wcs->radecsys,"SGALACTC");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1484: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 (wcs->radecsys,"HELIOECL");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1486: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 (wcs->radecsys,"ALTAZ");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1488: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 (wcs->radecsys,"LINEAR");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:432:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char aliases [2][4] = {"NCP", "GLS"};
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:436:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char requir[9];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:476:10:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
         sprintf(wcs->pcode, "%.3s", &ctype[j][5]);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:480:13:  [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(wcs->lngtyp, "RA");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:481:13:  [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(wcs->lattyp, "DEC");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:486:13:  [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(wcs->lngtyp, "RA");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:487:13:  [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(wcs->lattyp, "DEC");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:492:13:  [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(wcs->lngtyp, "%cLON", ctype[j][0]);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:493:13:  [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(wcs->lattyp, "%cLAT", ctype[j][0]);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:498:13:  [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(wcs->lngtyp, "%cLON", ctype[j][0]);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:499:13:  [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(wcs->lattyp, "%cLAT", ctype[j][0]);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:504:13:  [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(wcs->lngtyp, "%c%cLN", ctype[j][0], ctype[j][1]);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:505:13:  [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(wcs->lattyp, "%c%cLT", ctype[j][0], ctype[j][1]);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:510:13:  [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(wcs->lngtyp, "%c%cLN", ctype[j][0], ctype[j][1]);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:511:13:  [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(wcs->lattyp, "%c%cLT", ctype[j][0], ctype[j][1]);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:538: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(wcs->pcode, "SFL");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:591:10:  [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(wcs->pcode, "SIN");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:725:10:  [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(wcs->pcode, "SIN");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.h:112: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.
extern char pcodes[26][4];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.h:115:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char   code[4];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.h:322:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char pcode[4];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.h:323:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char lngtyp[5], lattyp[5];
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/zpxpos.c:85:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char key[8], *str1, *str2, *lngstr, *latstr, *header1;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/zpxpos.c:104: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 (header1, "WAT1_001= 'wtype=zpx axtype=ra projp0=0. projp1=1. projp2=0. projp3=337.74 proj'WAT2_001= 'wtype=zpx axtype=dec projp0=0. projp1=1. projp2=0. projp3=337.74 pro'");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/zpxpos.c:139: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 (key,"projp%d",i);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dateutil.c:2745: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).
    lfd = strlen (fdate);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/dateutil.c:2747:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy (thms, fdate+11, nbc);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/distort.c:210: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).
	lctype = strlen (str);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/distort.c:217: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).
	lctype = strlen (str);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/distort.c:364: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).
    lctype = strlen (ctype);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:273:6:  [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 (filepath, "/");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:305:6:  [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 (filepath, "/");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:361: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(line)==1) && (line[0]<32)){
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:365: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).
	lastchar = line + strlen (line) - 1;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:371:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	return (strlen (line));
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:397:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if ((strlen(token)==1) && (token[0]<32)){
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:401: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).
	lastchar = token + strlen (token) - 1;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:426: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).
    lstr = strlen (string);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:447: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).
    lstr = strlen (string);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:485:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            nbr = read (diskfile, keyword, 4);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:530:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            nbr = read (diskfile, keyword, 2);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:568:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            nbr = read (diskfile, keyword, 6);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:608: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).
	tokens->lline = strlen (string);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:617:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	naddw = strlen (cwhite);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:785:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy (token, tokens->tok1[it], ltok);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:815:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (token, tokens->tok1[it], ltok);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:823:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (token, tokens->tok1[-it], ltok);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fileutil.c:829:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (token, tokens->tok1[1], ltok);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:218:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    nbr = read (fd, fitsbuf, nbytes);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:287:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (headnext, fitsbuf, nbr);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:429:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			    nbr = read (fd, fitsbuf, nbytes);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:499:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	    strncpy (header, "SIMPLE  ", 8);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:536:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (headend, pheader, lprim);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:613:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	nbr = read (fd, header, nbytes);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:754:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    nbread = read (fd, imline, nbline);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:831:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	nbread = read (fd, image, nbytes);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:873:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	nbread = read (fd, imleft, nbleft);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:950:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	nbread = read (fd, image, nbytes);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:988:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	nbread = read (fd, imleft, nbleft);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1111: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 (temp) == 0) {
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1176: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 (temp) == 0) {
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1236: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).
	pw[ifield].lname = strlen (pw[ifield].kname);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1257: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).
	ltform = strlen (tform);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1357:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    nbr = read (fd, tbuff, nbuff);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1370:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (line, tbuff, nbline);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1375:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (line, tbuff1, nbline);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1557:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (string, entry+kw->kf, length);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:1924:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	nbr = read (fdin, image, nbbuff);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:2049:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy (lasthead-80, "END", 3);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:2058:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (oldheader, header, nbnew);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/fitsfile.c:2131:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    nbr = read (diskfile, keyword, 8);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:134: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).
	lkey = strlen (keyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:169: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).
	lval = strlen (value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:171:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy (val, value, VLENGTH);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:227: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).
	lval = strlen (value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:229:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy (val, value, VLENGTH);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:283: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).
	lval = strlen (value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:285:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy (val, value, VLENGTH);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:387: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).
	lkey = strlen (keyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:420: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).
	lval = strlen (value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:422:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy (val, value, VLENGTH);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:467: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).
	lval = strlen (value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:469:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy (val, value, VLENGTH);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:700:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    lval = strlen (value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:704:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (stri, value, lstri-1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:751: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).
	lkey = strlen (keyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:781: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).
	lval = strlen (value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:785:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy (str, value, lstr-1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:818:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	nchar = strlen (value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:877:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy (keyword,keyword0, sizeof(keyword)-1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:900:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy (line,vpos,80);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1042:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    lkey = strlen (brack1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1114: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).
	lkey = strlen (keyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1220: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).
	lkey = strlen (keyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1325: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).
	lval = strlen (value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1349: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 (value) > 0)
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1380: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).
    ls1 = strlen (s1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1404: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).
    ls2 = strlen (s2);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1458: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).
    ls1 = strlen ((char *) s1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1484: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).
    ls2 = strlen (s2);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1608: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).
    lstr = strlen (string);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1683:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        lstr = strlen (string);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1719: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).
	strend = string + strlen (string);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1721: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).
	strend = str + strlen (str) - 1;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1726: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).
	    strend = string + strlen (string);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1736: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).
	lstr = strlen (string);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1748: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).
	lstr = strlen (string);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1775:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    lstr = strlen (string);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1788: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).
    lstr = strlen (string);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hget.c:1795: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).
	lstr = strlen (string);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:151: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).
	lval = (int) strlen (value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:225: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).
    lstr = (int) strlen (string);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:256:2:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
	strcpy (value, "T");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:258:2:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
	strcpy (value, "F");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:283: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).
    lkw = (int) strlen (keyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:294:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	lroot = (int) strlen (keyroot);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:304: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).
    lcv = (int) strlen (cval);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:307:2:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
	strcat (newkey, "_");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:363: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).
    lkeyword = (int) strlen (keyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:369: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).
    lcval = (int) strlen (cval);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:375:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy (&value[1],cval,lcval);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:412: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).
    lkeyword = (int) strlen (keyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:413: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).
    lval = (int) strlen (value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:442:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy (v2, v1, 80);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:448:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (v1,keyword,7);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:460:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (v1+9,value,lv1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:491:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy (v2, ve, 80);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:509:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (line, v1, 80);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:528:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy (newcom, c1+2, lcom);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:544:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy (v1, keyword, lkeyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:553:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (vp, value, lval);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:561:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (vp, value, lval);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:578:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy (vp, newcom, lcom);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:611: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).
    lkeyword = (int) strlen (keyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:613: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).
    lcom = (int) strlen (comment);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:635:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (v2, v1, 80);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:640:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (v1, keyword, lkeyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:663:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (line, v1, 80);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:708:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy (c0, " / ",3);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:719:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (c1, comment, lcom);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:778:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	    strncpy (v, v2, 80);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:819:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (v2, v, 80);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:823: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).
    lkey = (int) strlen (keyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:824:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy (hplace, keyword, lkey);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:861: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).
	lv2 = (int) strlen (keyword2);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1006: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).
    ltstr = (int) strlen (tstring);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1010:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (string, tstring, lstr-1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1149: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).
    ltstr = (int) strlen (tstring);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1153:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (string, tstring, lstr-1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1202: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).
    ltstr = (int) strlen (tstring);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/hput.c:1206:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (string, tstring, lstr-1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/iget.c:331:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    lval = strlen (value);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/iget.c:335:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy (str, value, lstr-1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/iget.c:466: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).
    lkey = strlen (keyword);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:277: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).
    lpname = strlen (pixname);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:293: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).
	len = strlen (newpixname);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:507:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    (void)strncpy (endline,"END", 3);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:553:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy (fitsheader, endline, 80);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:629:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((lstr = strlen (objname)) < 8) {
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:678:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	lname = strlen (hdrname);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:784:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		(void)strncpy (fhead, fitsline, 80);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:796:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			(void)strncpy (fhead, fitsline, 80);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:826:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		    (void)strncpy (fhead, fitsline, 80);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:837:10:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			(void)strncpy (fhead, fitsline, 80);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:853:11:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    (void)strncpy (fhead, endline, 80);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:861:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
    strncpy (endline,"   ",3);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:863:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	(void)strncpy (fp, endline,80);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:1043:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	(void)strncpy (newpixname, hdrname, SZ_IM2PIXFILE);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:1046: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).
	len = strlen (newpixname);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:1056: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).
	plen = strlen (pixname) - 4;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:1058:12:  [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.
	    (void)strncat (newpixname, &pixname[4], SZ_IM2PIXFILE - len);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:1060:12:  [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.
	    (void)strncat (newpixname, &pixname[4], plen);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:1065:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	(void)strncpy (newpixname, hdrname, SZ_IM2PIXFILE);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:1068: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).
	len = strlen (newpixname);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:1085:8:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	(void)strncpy (newpixname, hdrname, SZ_IM2PIXFILE);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:1086: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).
	len = strlen (newpixname);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/imhfile.c:1629:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    nc = strlen (string);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/slasubs.c:276: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).
   l = strlen ( order );
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:389:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy (ctype1, "XLON",4);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:511:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy (ctype2+1, "LAT",3);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:518:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
	strncpy (ctype2+1, "LAT",3);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1531: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).
	lcom = strlen (command);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1658: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 (coorsys == NULL || strlen (coorsys) < 1 ||
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1667: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(wcs->radecout) - 1;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1670: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(wcs->radecout) - 1;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1673: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(wcs->radecout) - 1;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1684:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		i = strlen(wcs->radecout) - 1;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1687: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(wcs->radecout) - 1;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1690: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(wcs->radecout) - 1;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1767: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 (coorsys == NULL || strlen (coorsys) < 1) {
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1775: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(wcs->radecin) - 1;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1778: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(wcs->radecin) - 1;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1781: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(wcs->radecin) - 1;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1792: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(wcs->radecin) - 1;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1795: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(wcs->radecin) - 1;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1798: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(wcs->radecin) - 1;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1935:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
		    strncpy (wcstring,"*********	**********",lstr);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1937:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
		    strncpy (wcstring,"*******************",lstr);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1964:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
		    strncpy (wcstring,"*************	*************",lstr);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:1967:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
		    strncpy (wcstring,"**************************",lstr);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2035: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).
	    if (lstr > (int) strlen(wcs->radecout)+1 && wcs->printsys) {
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2037: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 (wcstring,"	");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2039: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 (wcstring," ");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2048:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    lstring = strlen (rastr) + strlen (decstr) + 1;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2048:33:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    lstring = strlen (rastr) + strlen (decstr) + 1;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2049: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).
	    lunits = strlen (wcs->units[0]) + strlen (wcs->units[1]) + 2;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2049:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    lunits = strlen (wcs->units[0]) + strlen (wcs->units[1]) + 2;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2052: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 (wcs->units[0]) > 0) {
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2053: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 (rastr, " ");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2056: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 (wcs->units[1]) > 0) {
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2057: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 (decstr, " ");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2071:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
		    strncpy (wcstring,"**********	*********",lstr);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2073:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
		    strncpy (wcstring,"*******************",lstr);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2080: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 (wcs->units[0]) > 0) {
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2081: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 (wcstring, " ");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2084: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 (wcs->units[1]) > 0) {
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2085: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 (wcstring, " ");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2451: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 (filename) < 256)
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2454:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (wcsfile, filename, 255);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2466: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 (wcsfile) > 0)
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2508: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).
    lcom = strlen (wcscom) + 2;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2686:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy (newhead, *header, lhead);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2710: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 (kwdc, cwcs, 1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs.c:2721: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 (kwdc, cwcs, 1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:372: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).
  const char* te = tb + strlen(tb);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:656: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(name) + 1 > (bsz - (r - buff))) return 0;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:677: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).
  size_t lname = (name ? strlen(name) : 0);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:682:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(r,name,lname+1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:850:91:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#  define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:3210: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).
	if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:3319: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).
  return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:9515: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).
    size_t size = strlen((const char *)(arg2)) + 1;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:10445: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).
      size_t size = strlen(name)+1;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:10448:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(gv->name,name,size);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:10510: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).
              strlen(const_table[j].name)) == 0) {
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:10521:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:10525:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
              strncpy(buff, methods[i].ml_doc, ldoc);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcs_wrap.c:10527:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
              strncpy(buff, "swig_ptr: ", 10);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:372: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).
  const char* te = tb + strlen(tb);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:656: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(name) + 1 > (bsz - (r - buff))) return 0;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:677: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).
  size_t lname = (name ? strlen(name) : 0);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:682:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(r,name,lname+1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:850:91:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#  define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:3175: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).
	if (psize) *psize = vptr ? (strlen((char *)vptr) + 1) : 0;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:3797: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).
      size_t size = strlen(name)+1;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:3800:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(gv->name,name,size);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:3862: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).
              strlen(const_table[j].name)) == 0) {
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:3873:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
            size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:3877:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
              strncpy(buff, methods[i].ml_doc, ldoc);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcscon_wrap.c:3879:15:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
              strncpy(buff, "swig_ptr: ", 10);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:117: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 (upname) == 1)
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:151: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).
    lstring = strlen (string);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:259:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	wcs->wcsname = (char *) calloc (strlen (wcsname)+2, 1);
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:418:2:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
	strcpy (wcs->ctype[2], "");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:420:2:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
	strcpy (wcs->ctype[3], "");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcsinit.c:1303: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 (wcs->radecsys) == 0 || wcs->prjcode == WCS_LIN)
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:438:4:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
   strcpy(wcs->pcode, "");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:439:4:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
   strcpy(requir, "");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/wcslib.c:527:10:  [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(requir, "");
data/astlib-0.11.4/PyWCSTools/wcssubs-3.9.0/zpxpos.c:103: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).
	header1 = malloc (strlen(header)+200);

ANALYSIS SUMMARY:

Hits = 885
Lines analyzed = 52144 in approximately 1.61 seconds (32446 lines/second)
Physical Source Lines of Code (SLOC) = 36657
Hits@level = [0] 181 [1] 235 [2] 494 [3]   1 [4] 154 [5]   1
Hits@level+ = [0+] 1066 [1+] 885 [2+] 650 [3+] 156 [4+] 155 [5+]   1
Hits/KSLOC@level+ = [0+] 29.0804 [1+] 24.1427 [2+] 17.7319 [3+] 4.25567 [4+] 4.22839 [5+] 0.0272799
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.