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/source-extractor-2.25.0+ds/src/analyse.c
Examining data/source-extractor-2.25.0+ds/src/assoc.c
Examining data/source-extractor-2.25.0+ds/src/assoc.h
Examining data/source-extractor-2.25.0+ds/src/astrom.c
Examining data/source-extractor-2.25.0+ds/src/astrom.h
Examining data/source-extractor-2.25.0+ds/src/back.c
Examining data/source-extractor-2.25.0+ds/src/back.h
Examining data/source-extractor-2.25.0+ds/src/bpro.c
Examining data/source-extractor-2.25.0+ds/src/bpro.h
Examining data/source-extractor-2.25.0+ds/src/check.c
Examining data/source-extractor-2.25.0+ds/src/check.h
Examining data/source-extractor-2.25.0+ds/src/dgeo.c
Examining data/source-extractor-2.25.0+ds/src/dgeo.h
Examining data/source-extractor-2.25.0+ds/src/fft.c
Examining data/source-extractor-2.25.0+ds/src/fft.h
Examining data/source-extractor-2.25.0+ds/src/field.c
Examining data/source-extractor-2.25.0+ds/src/field.h
Examining data/source-extractor-2.25.0+ds/src/fits/fitscheck.c
Examining data/source-extractor-2.25.0+ds/src/fits/fitsconv.c
Examining data/source-extractor-2.25.0+ds/src/fits/fitshead.c
Examining data/source-extractor-2.25.0+ds/src/fits/fitskey.c
Examining data/source-extractor-2.25.0+ds/src/fits/fitsmisc.c
Examining data/source-extractor-2.25.0+ds/src/fits/fitsread.c
Examining data/source-extractor-2.25.0+ds/src/fits/fitstab.c
Examining data/source-extractor-2.25.0+ds/src/fits/fitsutil.c
Examining data/source-extractor-2.25.0+ds/src/fits/fitswrite.c
Examining data/source-extractor-2.25.0+ds/src/fits/fitscleanup.c
Examining data/source-extractor-2.25.0+ds/src/fits/fitsbody.c
Examining data/source-extractor-2.25.0+ds/src/fits/fitscat.c
Examining data/source-extractor-2.25.0+ds/src/fits/fitscat.h
Examining data/source-extractor-2.25.0+ds/src/fits/fitscat_defs.h
Examining data/source-extractor-2.25.0+ds/src/fitswcs.c
Examining data/source-extractor-2.25.0+ds/src/fitswcs.h
Examining data/source-extractor-2.25.0+ds/src/flag.c
Examining data/source-extractor-2.25.0+ds/src/flag.h
Examining data/source-extractor-2.25.0+ds/src/graph.c
Examining data/source-extractor-2.25.0+ds/src/growth.c
Examining data/source-extractor-2.25.0+ds/src/growth.h
Examining data/source-extractor-2.25.0+ds/src/header.c
Examining data/source-extractor-2.25.0+ds/src/header.h
Examining data/source-extractor-2.25.0+ds/src/image.c
Examining data/source-extractor-2.25.0+ds/src/image.h
Examining data/source-extractor-2.25.0+ds/src/interpolate.c
Examining data/source-extractor-2.25.0+ds/src/interpolate.h
Examining data/source-extractor-2.25.0+ds/src/key.h
Examining data/source-extractor-2.25.0+ds/src/ldactoasc.c
Examining data/source-extractor-2.25.0+ds/src/ldactoasc.h
Examining data/source-extractor-2.25.0+ds/src/levmar/Axb.c
Examining data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c
Examining data/source-extractor-2.25.0+ds/src/levmar/compiler.h
Examining data/source-extractor-2.25.0+ds/src/levmar/expfit.c
Examining data/source-extractor-2.25.0+ds/src/levmar/levmar.h
Examining data/source-extractor-2.25.0+ds/src/levmar/lm.c
Examining data/source-extractor-2.25.0+ds/src/levmar/lm.h
Examining data/source-extractor-2.25.0+ds/src/levmar/lm_core.c
Examining data/source-extractor-2.25.0+ds/src/levmar/lmbc.c
Examining data/source-extractor-2.25.0+ds/src/levmar/lmbc_core.c
Examining data/source-extractor-2.25.0+ds/src/levmar/lmblec.c
Examining data/source-extractor-2.25.0+ds/src/levmar/lmblec_core.c
Examining data/source-extractor-2.25.0+ds/src/levmar/lmbleic.c
Examining data/source-extractor-2.25.0+ds/src/levmar/lmbleic_core.c
Examining data/source-extractor-2.25.0+ds/src/levmar/lmdemo.c
Examining data/source-extractor-2.25.0+ds/src/levmar/lmlec.c
Examining data/source-extractor-2.25.0+ds/src/levmar/lmlec_core.c
Examining data/source-extractor-2.25.0+ds/src/levmar/matlab/levmar.c
Examining data/source-extractor-2.25.0+ds/src/levmar/misc.c
Examining data/source-extractor-2.25.0+ds/src/levmar/misc.h
Examining data/source-extractor-2.25.0+ds/src/levmar/misc_core.c
Examining data/source-extractor-2.25.0+ds/src/makeit.c
Examining data/source-extractor-2.25.0+ds/src/manobjlist.c
Examining data/source-extractor-2.25.0+ds/src/neurro.c
Examining data/source-extractor-2.25.0+ds/src/neurro.h
Examining data/source-extractor-2.25.0+ds/src/paramprofit.h
Examining data/source-extractor-2.25.0+ds/src/pattern.c
Examining data/source-extractor-2.25.0+ds/src/pattern.h
Examining data/source-extractor-2.25.0+ds/src/pc.c
Examining data/source-extractor-2.25.0+ds/src/photom.c
Examining data/source-extractor-2.25.0+ds/src/photom.h
Examining data/source-extractor-2.25.0+ds/src/prefs.c
Examining data/source-extractor-2.25.0+ds/src/profit.c
Examining data/source-extractor-2.25.0+ds/src/profit.h
Examining data/source-extractor-2.25.0+ds/src/readimage.c
Examining data/source-extractor-2.25.0+ds/src/refine.c
Examining data/source-extractor-2.25.0+ds/src/scan.c
Examining data/source-extractor-2.25.0+ds/src/sexhead.h
Examining data/source-extractor-2.25.0+ds/src/sexheadsc.h
Examining data/source-extractor-2.25.0+ds/src/threads.h
Examining data/source-extractor-2.25.0+ds/src/types.h
Examining data/source-extractor-2.25.0+ds/src/wcs/cel.c
Examining data/source-extractor-2.25.0+ds/src/wcs/cel.h
Examining data/source-extractor-2.25.0+ds/src/wcs/lin.c
Examining data/source-extractor-2.25.0+ds/src/wcs/lin.h
Examining data/source-extractor-2.25.0+ds/src/wcs/poly.c
Examining data/source-extractor-2.25.0+ds/src/wcs/poly.h
Examining data/source-extractor-2.25.0+ds/src/wcs/proj.c
Examining data/source-extractor-2.25.0+ds/src/wcs/proj.h
Examining data/source-extractor-2.25.0+ds/src/wcs/sph.c
Examining data/source-extractor-2.25.0+ds/src/wcs/sph.h
Examining data/source-extractor-2.25.0+ds/src/wcs/tnx.c
Examining data/source-extractor-2.25.0+ds/src/wcs/tnx.h
Examining data/source-extractor-2.25.0+ds/src/wcs/wcs.c
Examining data/source-extractor-2.25.0+ds/src/wcs/wcs.h
Examining data/source-extractor-2.25.0+ds/src/wcs/wcsmath.h
Examining data/source-extractor-2.25.0+ds/src/wcs/wcstrig.c
Examining data/source-extractor-2.25.0+ds/src/wcs/wcstrig.h
Examining data/source-extractor-2.25.0+ds/src/wcscelsys.h
Examining data/source-extractor-2.25.0+ds/src/weight.c
Examining data/source-extractor-2.25.0+ds/src/weight.h
Examining data/source-extractor-2.25.0+ds/src/winpos.c
Examining data/source-extractor-2.25.0+ds/src/winpos.h
Examining data/source-extractor-2.25.0+ds/src/xml.h
Examining data/source-extractor-2.25.0+ds/src/misc.c
Examining data/source-extractor-2.25.0+ds/src/define.h
Examining data/source-extractor-2.25.0+ds/src/catout.c
Examining data/source-extractor-2.25.0+ds/src/xml.c
Examining data/source-extractor-2.25.0+ds/src/clean.c
Examining data/source-extractor-2.25.0+ds/src/clean.h
Examining data/source-extractor-2.25.0+ds/src/extract.c
Examining data/source-extractor-2.25.0+ds/src/extract.h
Examining data/source-extractor-2.25.0+ds/src/filter.c
Examining data/source-extractor-2.25.0+ds/src/filter.h
Examining data/source-extractor-2.25.0+ds/src/globals.h
Examining data/source-extractor-2.25.0+ds/src/main.c
Examining data/source-extractor-2.25.0+ds/src/param.h
Examining data/source-extractor-2.25.0+ds/src/plist.c
Examining data/source-extractor-2.25.0+ds/src/plist.h
Examining data/source-extractor-2.25.0+ds/src/preflist.h
Examining data/source-extractor-2.25.0+ds/src/prefs.h
Examining data/source-extractor-2.25.0+ds/src/psf.c
Examining data/source-extractor-2.25.0+ds/src/psf.h
Examining data/source-extractor-2.25.0+ds/src/retina.c
Examining data/source-extractor-2.25.0+ds/src/retina.h
Examining data/source-extractor-2.25.0+ds/src/sexhead1.h
Examining data/source-extractor-2.25.0+ds/src/som.c
Examining data/source-extractor-2.25.0+ds/src/som.h

FINAL RESULTS:

data/source-extractor-2.25.0+ds/src/assoc.c:126: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(str2, str);
data/source-extractor-2.25.0+ds/src/catout.c:740:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(ascfile, skycathead, 8.0);
data/source-extractor-2.25.0+ds/src/catout.c:745:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(gstr, "\t%s", key->printf);
data/source-extractor-2.25.0+ds/src/catout.c:745:36:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        sprintf(gstr, "\t%s", key->printf);
data/source-extractor-2.25.0+ds/src/catout.c:746:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(key->printf, gstr);
data/source-extractor-2.25.0+ds/src/catout.c:746:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        strcpy(key->printf, gstr);
data/source-extractor-2.25.0+ds/src/catout.c:761: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(fitscat->filename, prefs.cat_name);
data/source-extractor-2.25.0+ds/src/catout.c:818:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(str, "%s%d", d?"x":" arraysize=\"", key->naxisn[d]);
data/source-extractor-2.25.0+ds/src/catout.c:819:9:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
        strcat(arraysize, str);
data/source-extractor-2.25.0+ds/src/check.c:369: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(cat->filename, filename);
data/source-extractor-2.25.0+ds/src/define.h:137:21:  [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, (def)); \
data/source-extractor-2.25.0+ds/src/define.h:170:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		   sprintf(gstr, #ptr " (" #nel "=%lld elements) " \
data/source-extractor-2.25.0+ds/src/define.h:180:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		   sprintf(gstr, #ptr " (" #nel "=%lld elements) " \
data/source-extractor-2.25.0+ds/src/define.h:190:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		   sprintf(gstr, #ptr " (" #nel "=%lld elements) " \
data/source-extractor-2.25.0+ds/src/define.h:200:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		   sprintf(gstr, #ptr " (" #nel "=%lld elements) " \
data/source-extractor-2.25.0+ds/src/define.h:211:8:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		     sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \
data/source-extractor-2.25.0+ds/src/define.h:230:34:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
				|| prefs.verbose_type==WARN) fprintf
data/source-extractor-2.25.0+ds/src/define.h:238:51:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define	QPRINTF		if (prefs.verbose_type != QUIET)	fprintf
data/source-extractor-2.25.0+ds/src/define.h:240:50:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define	FPRINTF		if (prefs.verbose_type == FULL)	fprintf
data/source-extractor-2.25.0+ds/src/fft.h:43:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		   sprintf(gstr, #ptr " (" #nel "=%lld elements) " \
data/source-extractor-2.25.0+ds/src/field.c:93: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 (field->filename, filename);
data/source-extractor-2.25.0+ds/src/field.c:101: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(field->hfilename, filename);
data/source-extractor-2.25.0+ds/src/field.c:104:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(pstr, "%s", prefs.head_suffix);
data/source-extractor-2.25.0+ds/src/field.c:106:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(gstr, "Looking for %s", field->rfilename);
data/source-extractor-2.25.0+ds/src/fits/fitsbody.c:119:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp",
data/source-extractor-2.25.0+ds/src/fits/fitsbody.c:220:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tab->swapname, "%s/vm%05ld_%05x.tmp",
data/source-extractor-2.25.0+ds/src/fits/fitsbody.c:1197: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(body_swapdirname, dirname);
data/source-extractor-2.25.0+ds/src/fits/fitscat.c:140:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(str2, "%s %.65s", str2, str);
data/source-extractor-2.25.0+ds/src/fits/fitscat.h:129:9:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  char		printf[80];		/* printing format (C Convention) */
data/source-extractor-2.25.0+ds/src/fits/fitscat_defs.h:129:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		   sprintf(gstr, #ptr " (" #nel "=%lld elements) " \
data/source-extractor-2.25.0+ds/src/fits/fitscat_defs.h:139:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		   sprintf(gstr, #ptr " (" #nel "=%lld elements) " \
data/source-extractor-2.25.0+ds/src/fits/fitscat_defs.h:149:6:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		   sprintf(gstr, #ptr " (" #nel "=%lld elements) " \
data/source-extractor-2.25.0+ds/src/fits/fitscat_defs.h:160:8:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		     sprintf(gstr, #ptrout " (" #nel "=%lld elements) " \
data/source-extractor-2.25.0+ds/src/fits/fitscat_defs.h:172:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define	QPRINTF		if (qflag) fprintf
data/source-extractor-2.25.0+ds/src/fits/fitscleanup.c:99: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(cleanup_filename[cleanup_nfiles++], filename);
data/source-extractor-2.25.0+ds/src/fits/fitsconv.c:106: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(key->comment, comment+strspn(comment, " "));
data/source-extractor-2.25.0+ds/src/fits/fitsconv.c:123:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(comment, "%s keyword found twice in ",
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:259:39:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fitsread(tab->headbuf, strk, key->printf, H_STRING, T_STRING);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:260:15:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    if (*key->printf)
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:261:26:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      tdisptoprintf(key->printf, key->printf);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:261:39:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      tdisptoprintf(key->printf, key->printf);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:428:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(str2, n?", %d%n":"%d%n", key->naxisn[n],&j);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:440:15:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    if (*key->printf)
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:444:56:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fitswrite(tab->headbuf, strk, printftotdisp(key->printf, str),
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:197: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(key->name, keyname);
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:529: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(names[i],key->name);
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:684:15:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
              fprintf(stream, skycathead, 6.0);
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:698:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	      strcpy(key->name,  map->newname);
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:737:15:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
              strcpy(key->name, map->newname);
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:825:20:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                   fprintf(stream, *key->printf?key->printf:"%d",
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:825:42:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                   fprintf(stream, *key->printf?key->printf:"%d",
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:825:54:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                   fprintf(stream, *key->printf?key->printf:"%d",
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:845:20:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                   fprintf(stream, *key->printf?key->printf:"%d",
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:845:42:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                   fprintf(stream, *key->printf?key->printf:"%d",
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:845:54:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                   fprintf(stream, *key->printf?key->printf:"%d",
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:866:20:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                   fprintf(stream, *key->printf?key->printf:"%lld",
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:866:42:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                   fprintf(stream, *key->printf?key->printf:"%lld",
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:866:54:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                   fprintf(stream, *key->printf?key->printf:"%lld",
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:869:20:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                   fprintf(stream, *key->printf?key->printf:"%d",
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:869:42:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                   fprintf(stream, *key->printf?key->printf:"%d",
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:869:54:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                   fprintf(stream, *key->printf?key->printf:"%d",
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:889:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    fprintf(stream, *key->printf?key->printf:"%g",
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:889:43:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    fprintf(stream, *key->printf?key->printf:"%g",
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:889:55:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    fprintf(stream, *key->printf?key->printf:"%g",
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:909:20:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                   fprintf(stream, *key->printf?key->printf:"%f",
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:909:42:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                   fprintf(stream, *key->printf?key->printf:"%f",
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:909:54:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                   fprintf(stream, *key->printf?key->printf:"%f",
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:940:22:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                     fprintf(stream, *key->printf?key->printf:"%d",
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:940:44:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                     fprintf(stream, *key->printf?key->printf:"%d",
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:940:56:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                     fprintf(stream, *key->printf?key->printf:"%d",
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:986:6:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
     fprintf(stream, skycattail, 1.0);
data/source-extractor-2.25.0+ds/src/fits/fitsread.c:60: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(cat->filename, filename);
data/source-extractor-2.25.0+ds/src/fits/fitsread.c:98: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(ccat->filename, *filenames);
data/source-extractor-2.25.0+ds/src/fits/fitstab.c:446: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(tab->extname, tabname);
data/source-extractor-2.25.0+ds/src/fits/fitstab.c:709: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(names[i],tab->extname);
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:413:21:  [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).
    case H_COMMENT:	strcpy(ptr,str+9);
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:416:22:  [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).
    case H_HCOMMENT:	strcpy(ptr,str+33);
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:558:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		        sprintf(str, "'%s'", str2);
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:564:21:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    case H_COMMENT:	sprintf(str, "%-70s", (char *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:569:22:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    case H_HCOMMENT:	sprintf(str, " / %-47s", (char *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:59: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(cat->filename, filename);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:418:11:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%g", *(float *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:418:33:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%g", *(float *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:418:45:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%g", *(float *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:423:11:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%f", *(double *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:423:33:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%f", *(double *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:423:45:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%f", *(double *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:428:11:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%d", *(short *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:428:33:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%d", *(short *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:428:45:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%d", *(short *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:433:11:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%d", *(int *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:433:33:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%d", *(int *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:433:45:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%d", *(int *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:438:11:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%lld", *(SLONGLONG *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:438:33:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%lld", *(SLONGLONG *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:438:45:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%lld", *(SLONGLONG *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:451:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(stream, key->printf?key->printf:"%d", (int)*ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:451:34:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(stream, key->printf?key->printf:"%d", (int)*ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:451:46:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(stream, key->printf?key->printf:"%d", (int)*ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:504:11:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%g", *(float *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:504:33:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%g", *(float *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:504:45:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%g", *(float *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:509:11:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%f", *(double *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:509:33:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%f", *(double *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:509:45:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%f", *(double *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:514:11:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%d", *(short *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:514:33:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%d", *(short *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:514:45:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%d", *(short *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:519:11:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%d", *(int *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:519:33:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%d", *(int *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:519:45:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%d", *(int *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:524:11:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%lld", *(SLONGLONG *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:524:33:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%lld", *(SLONGLONG *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:524:45:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
          fprintf(stream, *key->printf?key->printf:"%lld", *(SLONGLONG *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:537:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(stream, key->printf?key->printf:"%d", (int)*ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:537:34:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(stream, key->printf?key->printf:"%d", (int)*ptr);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:537:46:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(stream, key->printf?key->printf:"%d", (int)*ptr);
data/source-extractor-2.25.0+ds/src/fitswcs.c:348: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, (def)); \
data/source-extractor-2.25.0+ds/src/fitswcs.c:1223: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(strlng, wcs->ctype[olng]);
data/source-extractor-2.25.0+ds/src/fitswcs.c:1224: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(strlat, wcs->ctype[olat]);
data/source-extractor-2.25.0+ds/src/fitswcs.c:1225: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(wcs->ctype[lng], strlng);
data/source-extractor-2.25.0+ds/src/fitswcs.c:1226: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(wcs->ctype[lat], strlat);
data/source-extractor-2.25.0+ds/src/ldactoasc.c:94: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(catname, argv[a]);
data/source-extractor-2.25.0+ds/src/ldactoasc.h:135:15:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		{if (!(file=popen(cmdline, flag))) \
data/source-extractor-2.25.0+ds/src/ldactoasc.h:140:50:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define	NPRINTF		if (prefs.verbose_type == NORM) fprintf
data/source-extractor-2.25.0+ds/src/ldactoasc.h:145:50:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define	FPRINTF		if (prefs.verbose_type == FULL)	fprintf
data/source-extractor-2.25.0+ds/src/ldactoasc.h:147:51:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define QPRINTF		if (prefs.verbose_type != QUIET)	fprintf
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:190:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, RCAT("memory allocation in ", AX_EQ_B_QR) "() failed!\n");
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:198:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, RCAT("memory allocation in ", AX_EQ_B_QR) "() failed!\n");
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:218:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT("LAPACK error: illegal value for argument %d of ", GEQRF) " in ", AX_EQ_B_QR) "()\n", -info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:222:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT("Unknown LAPACK error %d for ", GEQRF) " in ", AX_EQ_B_QR) "()\n", info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:238:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT("LAPACK error: illegal value for argument %d of ", ORGQR) " in ", AX_EQ_B_QR) "()\n", -info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:242:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT("Unknown LAPACK error (%d) in ", AX_EQ_B_QR) "()\n", info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:263:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT("LAPACK error: illegal value for argument %d of ", TRTRS) " in ", AX_EQ_B_QR) "()\n", -info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:267:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT("LAPACK error: the %d-th diagonal element of A is zero (singular matrix) in ", AX_EQ_B_QR) "()\n", info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:329:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		  fprintf(stderr, RCAT("Normal equations require that the number of rows is greater than number of columns in ", AX_EQ_B_QRLS) "() [%d x %d]! -- try transposing\n", m, n);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:354:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, RCAT("memory allocation in ", AX_EQ_B_QRLS) "() failed!\n");
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:362:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, RCAT("memory allocation in ", AX_EQ_B_QRLS) "() failed!\n");
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:389:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT("LAPACK error: illegal value for argument %d of ", GEQRF) " in ", AX_EQ_B_QRLS) "()\n", -info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:393:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT("Unknown LAPACK error %d for ", GEQRF) " in ", AX_EQ_B_QRLS) "()\n", info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:417:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT("LAPACK error: illegal value for argument %d of ", TRTRS) " in ", AX_EQ_B_QRLS) "()\n", -info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:421:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT("LAPACK error: the %d-th diagonal element of A is zero (singular matrix) in ", AX_EQ_B_QRLS) "()\n", info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:435:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT("LAPACK error: illegal value for argument %d of ", TRTRS) " in ", AX_EQ_B_QRLS) "()\n", -info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:439:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT("LAPACK error: the %d-th diagonal element of A is zero (singular matrix) in ", AX_EQ_B_QRLS) "()\n", info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:506:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, RCAT("memory allocation in ", AX_EQ_B_CHOL) "() failed!\n");
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:514:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, RCAT("memory allocation in ", AX_EQ_B_CHOL) "() failed!\n");
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:533:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT(RCAT("LAPACK error: illegal value for argument %d of ", POTF2) "/", POTRF) " in ",
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:538:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT(RCAT("LAPACK error: the leading minor of order %d is not positive definite,\nthe factorization could not be completed for ", POTF2) "/", POTRF) " in ", AX_EQ_B_CHOL) "()\n", info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:550:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, RCAT(RCAT("LAPACK error: illegal value for argument %d of ", POTRS) " in ", AX_EQ_B_CHOL) "()\n", -info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:560:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT("LAPACK error: illegal value for argument %d of ", TRTRS) " in ", AX_EQ_B_CHOL) "()\n", -info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:564:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT("LAPACK error: the %d-th diagonal element of A is zero (singular matrix) in ", AX_EQ_B_CHOL) "()\n", info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:578:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT("LAPACK error: illegal value for argument %d of ", TRTRS) "in ", AX_EQ_B_CHOL) "()\n", -info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:582:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT("LAPACK error: the %d-th diagonal element of A is zero (singular matrix) in ", AX_EQ_B_CHOL) "()\n", info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:693:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, RCAT("memory allocation in ", AX_EQ_B_PLASMA_CHOL) "() failed!\n");
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:701:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT("memory allocation in ", AX_EQ_B_PLASMA_CHOL) "() failed!\n");
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:718:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, RCAT("\n", AX_EQ_B_PLASMA_CHOL) "(): PLASMA is running on %d cores.\n\n", PLASMA_ncores);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:726:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT("LAPACK error: illegal value for argument %d of ", PLASMA_POSV) " in ",
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:731:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT("LAPACK error: the leading minor of order %d is not positive definite,\n"
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:800:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, RCAT("memory allocation in ", AX_EQ_B_LU) "() failed!\n");
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:808:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, RCAT("memory allocation in ", AX_EQ_B_LU) "() failed!\n");
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:828:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT("argument %d of ", GETRF) " illegal in ", AX_EQ_B_LU) "()\n", -info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:832:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT("singular matrix A for ", GETRF) " in ", AX_EQ_B_LU) "()\n");
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:845:4:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			fprintf(stderr, RCAT(RCAT("argument %d of ", GETRS) " illegal in ", AX_EQ_B_LU) "()\n", -info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:849:4:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
			fprintf(stderr, RCAT(RCAT("unknown error for ", GETRS) " in ", AX_EQ_B_LU) "()\n");
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:932:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT("memory allocation in ", AX_EQ_B_SVD) "() failed!\n");
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:940:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT("memory allocation in ", AX_EQ_B_SVD) "() failed!\n");
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:964:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT(RCAT("LAPACK error: illegal value for argument %d of ", GESVD), "/" GESDD) " in ", AX_EQ_B_SVD) "()\n", -info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:968:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT("LAPACK error: dgesdd (dbdsdc)/dgesvd (dbdsqr) failed to converge in ", AX_EQ_B_SVD) "() [info=%d]\n", info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:1070:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT("memory allocation in ", AX_EQ_B_BK) "() failed!\n");
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:1078:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, RCAT("memory allocation in ", AX_EQ_B_BK) "() failed!\n");
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:1097:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT("LAPACK error: illegal value for argument %d of ", SYTRF) " in ", AX_EQ_B_BK) "()\n", -info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:1101:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT("LAPACK error: singular block diagonal matrix D for", SYTRF) " in ", AX_EQ_B_BK)"() [D(%d, %d) is zero]\n", info, info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:1113:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, RCAT(RCAT("LAPACK error: illegal value for argument %d of ", SYTRS) " in ", AX_EQ_B_BK) "()\n", -info);
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:1213:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT("memory allocation in ", AX_EQ_B_LU) "() failed!\n");
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:1221:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT("memory allocation in ", AX_EQ_B_LU) "() failed!\n");
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:1241:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, RCAT("Singular matrix A in ", AX_EQ_B_LU) "()!\n");
data/source-extractor-2.25.0+ds/src/levmar/lm_core.c:149:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, LCAT(LEVMAR_DER, "(): cannot solve a problem with fewer measurements [%d] than unknowns [%d]\n"), n, m);
data/source-extractor-2.25.0+ds/src/levmar/lm_core.c:154:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, RCAT("No function specified for computing the Jacobian in ", LEVMAR_DER)
data/source-extractor-2.25.0+ds/src/levmar/lm_core.c:178:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, LCAT(LEVMAR_DER, "(): memory allocation request failed\n"));
data/source-extractor-2.25.0+ds/src/levmar/lm_core.c:530:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, LCAT(LEVMAR_DIF, "(): cannot solve a problem with fewer measurements [%d] than unknowns [%d]\n"), n, m);
data/source-extractor-2.25.0+ds/src/levmar/lm_core.c:559:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, LCAT(LEVMAR_DIF, "(): memory allocation request failed\n"));
data/source-extractor-2.25.0+ds/src/levmar/lmbc_core.c:468:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, LCAT(LEVMAR_BC_DER, "(): cannot solve a problem with fewer measurements [%d] than unknowns [%d]\n"), n, m);
data/source-extractor-2.25.0+ds/src/levmar/lmbc_core.c:473:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, RCAT("No function specified for computing the Jacobian in ", LEVMAR_BC_DER)
data/source-extractor-2.25.0+ds/src/levmar/lmbc_core.c:479:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, LCAT(LEVMAR_BC_DER, "(): at least one lower bound exceeds the upper one\n"));
data/source-extractor-2.25.0+ds/src/levmar/lmbc_core.c:486:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, LCAT(LEVMAR_BC_DER, "(): scaling constants should be positive (scale %d: %g <= 0)\n"), i, dscl[i]);
data/source-extractor-2.25.0+ds/src/levmar/lmbc_core.c:492:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, LCAT(LEVMAR_BC_DER, "(): memory allocation request failed\n"));
data/source-extractor-2.25.0+ds/src/levmar/lmbc_core.c:516:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, LCAT(LEVMAR_BC_DER, "(): memory allocation request failed\n"));
data/source-extractor-2.25.0+ds/src/levmar/lmbc_core.c:546:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT("Warning: component %d of starting point not feasible in ", LEVMAR_BC_DER) "()! [%g projected to %g]\n",
data/source-extractor-2.25.0+ds/src/levmar/lmbc_core.c:1137:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, LCAT(LEVMAR_BC_DIF, "(): memory allocation request failed\n"));
data/source-extractor-2.25.0+ds/src/levmar/lmblec_core.c:257:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, RCAT("No function specified for computing the Jacobian in ", LEVMAR_BLEC_DER)
data/source-extractor-2.25.0+ds/src/levmar/lmblec_core.c:263:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, RCAT(LCAT(LEVMAR_BLEC_DER, "(): lower and upper bounds for box constraints cannot be both NULL, use "),
data/source-extractor-2.25.0+ds/src/levmar/lmblec_core.c:269:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, LCAT(LEVMAR_BLEC_DER, "(): at least one lower bound exceeds the upper one\n"));
data/source-extractor-2.25.0+ds/src/levmar/lmblec_core.c:277:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, LCAT(LEVMAR_BLEC_DER, "(): memory allocation request #1 failed\n"));
data/source-extractor-2.25.0+ds/src/levmar/lmblec_core.c:291:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, LCAT(LEVMAR_BLEC_DER, "(): memory allocation request #2 failed\n"));
data/source-extractor-2.25.0+ds/src/levmar/lmblec_core.c:372:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, RCAT(LCAT(LEVMAR_BLEC_DIF, "(): lower and upper bounds for box constraints cannot be both NULL, use "),
data/source-extractor-2.25.0+ds/src/levmar/lmblec_core.c:378:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, LCAT(LEVMAR_BLEC_DER, "(): at least one lower bound exceeds the upper one\n"));
data/source-extractor-2.25.0+ds/src/levmar/lmblec_core.c:386:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, LCAT(LEVMAR_BLEC_DER, "(): memory allocation request #1 failed\n"));
data/source-extractor-2.25.0+ds/src/levmar/lmblec_core.c:400:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, LCAT(LEVMAR_BLEC_DER, "(): memory allocation request #2 failed\n"));
data/source-extractor-2.25.0+ds/src/levmar/lmbleic_core.c:185:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, RCAT("No function specified for computing the Jacobian in ", LEVMAR_BLEIC_DER)
data/source-extractor-2.25.0+ds/src/levmar/lmbleic_core.c:191:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, RCAT(LCAT(LEVMAR_BLEIC_DER, "(): missing inequality constraints, use "), LEVMAR_BLEC_DER) "() in this case!\n");
data/source-extractor-2.25.0+ds/src/levmar/lmbleic_core.c:200:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, LCAT(LEVMAR_BLEIC_DER, "(): cannot solve a problem with fewer measurements + equality constraints [%d + %d] than unknowns [%d]\n"), n, k1, m);
data/source-extractor-2.25.0+ds/src/levmar/lmbleic_core.c:207:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, LCAT(LEVMAR_BLEIC_DER, "(): memory allocation request failed\n"));
data/source-extractor-2.25.0+ds/src/levmar/lmbleic_core.c:349:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, RCAT(LCAT(LEVMAR_BLEIC_DIF, "(): missing inequality constraints, use "), LEVMAR_BLEC_DIF) "() in this case!\n");
data/source-extractor-2.25.0+ds/src/levmar/lmbleic_core.c:357:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, LCAT(LEVMAR_BLEIC_DIF, "(): cannot solve a problem with fewer measurements + equality constraints [%d + %d] than unknowns [%d]\n"), n, k1, m);
data/source-extractor-2.25.0+ds/src/levmar/lmbleic_core.c:364:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, LCAT(LEVMAR_BLEIC_DIF, "(): memory allocation request failed\n"));
data/source-extractor-2.25.0+ds/src/levmar/lmlec_core.c:127:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, RCAT("matrix of constraints cannot have more rows than columns in", LMLEC_ELIM) "()!\n");
data/source-extractor-2.25.0+ds/src/levmar/lmlec_core.c:148:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, RCAT("Memory allocation request failed in ", LMLEC_ELIM) "()\n");
data/source-extractor-2.25.0+ds/src/levmar/lmlec_core.c:178:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT("LAPACK error: illegal value for argument %d of ", GEQP3) " in ", LMLEC_ELIM) "()\n", -info);
data/source-extractor-2.25.0+ds/src/levmar/lmlec_core.c:181:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT("unknown LAPACK error (%d) for ", GEQP3) " in ", LMLEC_ELIM) "()\n", info);
data/source-extractor-2.25.0+ds/src/levmar/lmlec_core.c:205:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, RCAT("\nConstraints matrix in ",  LMLEC_ELIM) "() is not of full row rank (i.e. %d < %d)!\n"
data/source-extractor-2.25.0+ds/src/levmar/lmlec_core.c:226:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT("LAPACK error: illegal value for argument %d of ", TRTRI) " in ", LMLEC_ELIM) "()\n", -info);
data/source-extractor-2.25.0+ds/src/levmar/lmlec_core.c:229:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT("A(%d, %d) is exactly zero for ", TRTRI) " (singular matrix) in ", LMLEC_ELIM) "()\n", info, info);
data/source-extractor-2.25.0+ds/src/levmar/lmlec_core.c:252:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT("LAPACK error: illegal value for argument %d of ", ORGQR) " in ", LMLEC_ELIM) "()\n", -info);
data/source-extractor-2.25.0+ds/src/levmar/lmlec_core.c:255:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT("unknown LAPACK error (%d) for ", ORGQR) " in ", LMLEC_ELIM) "()\n", info);
data/source-extractor-2.25.0+ds/src/levmar/lmlec_core.c:444:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, RCAT("No function specified for computing the Jacobian in ", LEVMAR_LEC_DER)
data/source-extractor-2.25.0+ds/src/levmar/lmlec_core.c:452:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, LCAT(LEVMAR_LEC_DER, "(): cannot solve a problem with fewer measurements + equality constraints [%d + %d] than unknowns [%d]\n"), n, k, m);
data/source-extractor-2.25.0+ds/src/levmar/lmlec_core.c:458:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, LCAT(LEVMAR_LEC_DER, "(): memory allocation request failed\n"));
data/source-extractor-2.25.0+ds/src/levmar/lmlec_core.c:500:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT("Warning: component %d of starting point not feasible in ", LEVMAR_LEC_DER) "()! [%.10g reset to %.10g]\n",
data/source-extractor-2.25.0+ds/src/levmar/lmlec_core.c:578:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, LCAT(LEVMAR_LEC_DIF, "(): cannot solve a problem with fewer measurements + equality constraints [%d + %d] than unknowns [%d]\n"), n, k, m);
data/source-extractor-2.25.0+ds/src/levmar/lmlec_core.c:584:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, LCAT(LEVMAR_LEC_DIF, "(): memory allocation request failed\n"));
data/source-extractor-2.25.0+ds/src/levmar/lmlec_core.c:626:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT("Warning: component %d of starting point not feasible in ", LEVMAR_LEC_DIF) "()! [%.10g reset to %.10g]\n",
data/source-extractor-2.25.0+ds/src/levmar/lmlec_core.c:648:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, LCAT(LEVMAR_LEC_DIF, "(): memory allocation request failed\n"));
data/source-extractor-2.25.0+ds/src/levmar/matlab/levmar.c:76:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buf, fmt, args);
data/source-extractor-2.25.0+ds/src/levmar/matlab/levmar.c:89:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(buf, fmt, args);
data/source-extractor-2.25.0+ds/src/levmar/misc_core.c:297:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, LCAT(LEVMAR_CHKJAC, "(): memory allocation request failed\n"));
data/source-extractor-2.25.0+ds/src/levmar/misc_core.c:385:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT("memory allocation in ", LEVMAR_PSEUDOINVERSE) "() failed!\n");
data/source-extractor-2.25.0+ds/src/levmar/misc_core.c:408:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT(RCAT(RCAT("LAPACK error: illegal value for argument %d of ", GESVD), "/" GESDD) " in ", LEVMAR_PSEUDOINVERSE) "()\n", -info);
data/source-extractor-2.25.0+ds/src/levmar/misc_core.c:411:7:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      fprintf(stderr, RCAT("LAPACK error: dgesdd (dbdsdc)/dgesvd (dbdsqr) failed to converge in ", LEVMAR_PSEUDOINVERSE) "() [info=%d]\n", info);
data/source-extractor-2.25.0+ds/src/levmar/misc_core.c:475:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, RCAT("memory allocation in ", LEVMAR_LUINVERSE) "() failed!\n");
data/source-extractor-2.25.0+ds/src/levmar/misc_core.c:494:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr, RCAT("Singular matrix A in ", LEVMAR_LUINVERSE) "()!\n");
data/source-extractor-2.25.0+ds/src/levmar/misc_core.c:679:5:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    fprintf(stderr, RCAT("memory allocation request failed in ", LEVMAR_R2) "()\n");
data/source-extractor-2.25.0+ds/src/main.c:112:15:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
              strcpy(prefs.prefs_name, argv[++a]);
data/source-extractor-2.25.0+ds/src/makeit.c:737:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(error, "%s%s", msg1,msg2);
data/source-extractor-2.25.0+ds/src/pc.c:109: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(pc->name, ci+1);
data/source-extractor-2.25.0+ds/src/pc.c:111: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(pc->name, filename);
data/source-extractor-2.25.0+ds/src/prefs.c:109: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(keylist[i], key[i].name);
data/source-extractor-2.25.0+ds/src/prefs.c:126:11:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
          strcpy(str, *(dp++)+1);
data/source-extractor-2.25.0+ds/src/prefs.c:128:11:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
          strcpy(str, *(dp++));
data/source-extractor-2.25.0+ds/src/prefs.c:141:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(str, "%s %s", argkey[argi], argval[argi]);
data/source-extractor-2.25.0+ds/src/prefs.c:220:13:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
            strcpy((char *)key[nkey].ptr, value);
data/source-extractor-2.25.0+ds/src/prefs.c:323:15:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
              strcpy(((char **)key[nkey].ptr)[i], value);
data/source-extractor-2.25.0+ds/src/prefs.c:742: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(thecat.filter_name, str+1);
data/source-extractor-2.25.0+ds/src/prefs.c:744: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(thecat.filter_name, prefs.filter_name);
data/source-extractor-2.25.0+ds/src/prefs.c:747: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(thecat.prefs_name, str+1);
data/source-extractor-2.25.0+ds/src/prefs.c:749: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(thecat.prefs_name, prefs.prefs_name);
data/source-extractor-2.25.0+ds/src/prefs.c:752: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(thecat.nnw_name, str+1);
data/source-extractor-2.25.0+ds/src/prefs.c:754: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(thecat.nnw_name, prefs.nnw_name);
data/source-extractor-2.25.0+ds/src/prefs.c:757: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(thecat.image_name, str+1);
data/source-extractor-2.25.0+ds/src/prefs.c:759: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(thecat.image_name, prefs.image_name[prefs.nimage_name-1]);
data/source-extractor-2.25.0+ds/src/prefs.c:761:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(thecat.soft_name, "%s %s", BANNER, VERSION);
data/source-extractor-2.25.0+ds/src/psf.c:148: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(psf->name, ci+1);
data/source-extractor-2.25.0+ds/src/psf.c:150: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(psf->name, filename);
data/source-extractor-2.25.0+ds/src/psf.c:168:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(gstr, "*Error*: The POLNAXIS parameter in %s exceeds %d",
data/source-extractor-2.25.0+ds/src/psf.c:210:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf(gstr, "*Error*: %s CONTEXT parameter in %s unknown",
data/source-extractor-2.25.0+ds/src/psf.c:350:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(gstr, "*Error*: %s parameter not found in the header of ",
data/source-extractor-2.25.0+ds/src/readimage.c:293:20:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                   strcpy(str, (def)); \
data/source-extractor-2.25.0+ds/src/wcs/wcs.c:505: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/source-extractor-2.25.0+ds/src/wcs/wcs.c:511: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/source-extractor-2.25.0+ds/src/wcs/wcs.c:517: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/source-extractor-2.25.0+ds/src/wcs/wcs.c:523: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/source-extractor-2.25.0+ds/src/xml.c:113: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(x->ext_date, sexcat->ext_date);
data/source-extractor-2.25.0+ds/src/xml.c:114: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(x->ext_time, sexcat->ext_time);
data/source-extractor-2.25.0+ds/src/xml.c:116: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(x->ident[0], dfield->ident); 
data/source-extractor-2.25.0+ds/src/xml.c:117: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(x->ident[1], field->ident); 
data/source-extractor-2.25.0+ds/src/xml.c:615:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(uunit, " unit=\"%s\"", unit);
data/source-extractor-2.25.0+ds/src/xml.c:621:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf(value, format, *((double *)key[i].ptr));
data/source-extractor-2.25.0+ds/src/xml.c:630:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(value, format, ((double *)key[i].ptr)[0]);
data/source-extractor-2.25.0+ds/src/xml.c:636:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
          sprintf(value, format, ((double *)key[i].ptr)[j]);
data/source-extractor-2.25.0+ds/src/xml.c:647:7:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
      sprintf(value, format, *((int *)key[i].ptr));
data/source-extractor-2.25.0+ds/src/xml.c:656:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(value, format, ((int *)key[i].ptr)[0]);
data/source-extractor-2.25.0+ds/src/xml.c:662:11:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
          sprintf(value, format, ((int *)key[i].ptr)[j]);
data/source-extractor-2.25.0+ds/src/xml.c:699:2:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	sprintf(value, "%s", (char *)key[i].ptr);
data/source-extractor-2.25.0+ds/src/xml.c:708:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(value, "%s", ((char **)key[i].ptr)[0]);
data/source-extractor-2.25.0+ds/src/xml.c:714:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf(value, "%s", ((char **)key[i].ptr)[j]);
data/source-extractor-2.25.0+ds/src/xml.c:725:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(value, "%s", key[i].keylist[*((int *)key[i].ptr)]);
data/source-extractor-2.25.0+ds/src/xml.c:734:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(value, "%s", key[i].keylist[((int *)key[i].ptr)[0]]);
data/source-extractor-2.25.0+ds/src/xml.c:740:11:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
          sprintf(value, "%s", key[i].keylist[((int *)key[i].ptr)[j]]);
data/source-extractor-2.25.0+ds/src/levmar/expfit.c:50:27:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#define INIT_RANDOM(seed) srandom(seed)
data/source-extractor-2.25.0+ds/src/levmar/expfit.c:52:27:  [3] (random) srandom:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
#define INIT_RANDOM(seed) srandom((int)GETPID()) // seed unused
data/source-extractor-2.25.0+ds/src/levmar/expfit.c:60:15:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  r1=((double)random())/DBL_RAND_MAX;
data/source-extractor-2.25.0+ds/src/levmar/expfit.c:61:15:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  r2=((double)random())/DBL_RAND_MAX;
data/source-extractor-2.25.0+ds/src/prefs.c:176:26:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
            if (!(envval=getenv(envname)))
data/source-extractor-2.25.0+ds/src/xml.c:258:16:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  if (!(psuser=getenv("USERNAME")))	/* Cygwin,... */
data/source-extractor-2.25.0+ds/src/xml.c:259:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    psuser = getenv("LOGNAME");		/* Linux,... */
data/source-extractor-2.25.0+ds/src/xml.c:260:12:  [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.
  pspath = getenv("PWD");
data/source-extractor-2.25.0+ds/src/xml.c:261:12:  [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.
  pshost = getenv("HOSTNAME");
data/source-extractor-2.25.0+ds/src/assoc.c:104: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[MAXCHARL], str2[MAXCHARL], *sstr;
data/source-extractor-2.25.0+ds/src/assoc.c:109:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (!(file = fopen(filename, "r")))
data/source-extractor-2.25.0+ds/src/assoc.c:148:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(gstr, "no more than %d ASSOC parameters available: ", ncol);
data/source-extractor-2.25.0+ds/src/assoc.c:194: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(str2, "Reading input list... (%d objects)", i);
data/source-extractor-2.25.0+ds/src/assoc.c:324:9:  [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(assoc->data, input, assoc->ndata*sizeof(double));
data/source-extractor-2.25.0+ds/src/assoc.c:334: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.
            memcpy(data, input, assoc->ndata*sizeof(double));
data/source-extractor-2.25.0+ds/src/assoc.c:360: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.
            memcpy(data, input, assoc->ndata*sizeof(double));
data/source-extractor-2.25.0+ds/src/assoc.c:367: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.
            memcpy(data, input, assoc->ndata*sizeof(double));
data/source-extractor-2.25.0+ds/src/back.c:749: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(back, back2, (size_t)np*sizeof(float));
data/source-extractor-2.25.0+ds/src/back.c:792: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(back, back2, np*sizeof(float));
data/source-extractor-2.25.0+ds/src/back.c:795: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(sigma, sigma2, np*sizeof(float));
data/source-extractor-2.25.0+ds/src/bpro.c:53: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(bpann->neuron[0], invec, bpann->nn[0]*sizeof(float));
data/source-extractor-2.25.0+ds/src/bpro.c:84: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		*head, str[80];
data/source-extractor-2.25.0+ds/src/bpro.c:107: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, "WEIGHT_LAYER%d", l+1);
data/source-extractor-2.25.0+ds/src/catout.c:62: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[MAXCHAR], *keyword, *sstr;
data/source-extractor-2.25.0+ds/src/catout.c:68:17:  [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 ((infile = fopen(filename,"r")) == NULL)
data/source-extractor-2.25.0+ds/src/catout.c:97:41:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            if (!(size*=(key->naxisn[i]=atoi(sstr))))
data/source-extractor-2.25.0+ds/src/catout.c:720:23:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if (!(ascfile = fopen(prefs.cat_name, "w+")))
data/source-extractor-2.25.0+ds/src/catout.c:803: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		datatype[40], arraysize[40], str[40];
data/source-extractor-2.25.0+ds/src/catout.c:825:20:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      case T_BYTE:	strcpy(datatype, "unsignedByte"); break;
data/source-extractor-2.25.0+ds/src/catout.c:826:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      case T_SHORT:	strcpy(datatype, "short"); break;
data/source-extractor-2.25.0+ds/src/catout.c:827:20:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      case T_LONG:	strcpy(datatype, "int"); break;
data/source-extractor-2.25.0+ds/src/catout.c:828:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      case T_FLOAT:	strcpy(datatype, "float"); break;
data/source-extractor-2.25.0+ds/src/catout.c:829:22:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      case T_DOUBLE:	strcpy(datatype, "double"); break;
data/source-extractor-2.25.0+ds/src/catout.c:888: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(objtab->extname, "LDAC_OBJECTS");
data/source-extractor-2.25.0+ds/src/catout.c:915: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(objtab->extname, "TPX_OBJECTS");
data/source-extractor-2.25.0+ds/src/check.c:553:9:  [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(check->pix, field->sigma, check->npix*sizeof(float));
data/source-extractor-2.25.0+ds/src/check.c:555:9:  [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(check->pix, field->back, check->npix*sizeof(float));
data/source-extractor-2.25.0+ds/src/check.c:606: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((PIXTYPE *)check->pix + w*(check->y++), data, w*sizeof(PIXTYPE));
data/source-extractor-2.25.0+ds/src/define.h:132:6:  [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).
				 atoi(strncat(st, &point[10], 70)) \
data/source-extractor-2.25.0+ds/src/define.h:216:20:  [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(ptrout, ptrin, (size_t)(nel)*sizeof(typ)); \
data/source-extractor-2.25.0+ds/src/dgeo.c:109: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(destx, &DGEOPIXX(dgeofield, xmin, y), w2*sizeof(PIXTYPE));
data/source-extractor-2.25.0+ds/src/dgeo.c:112: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(desty, &DGEOPIXY(dgeofield, xmin, y), w2*sizeof(PIXTYPE));
data/source-extractor-2.25.0+ds/src/extract.c:197:9:  [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(pixel, plistint, (size_t)plistsize);
data/source-extractor-2.25.0+ds/src/field.c:115: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(gstr, " [%d/%d]", ext, cat->tab->naxis<2? cat->ntab-1 : cat->ntab);
data/source-extractor-2.25.0+ds/src/filter.c:119: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		str[MAXCHAR], *sstr, *null = NULL;
data/source-extractor-2.25.0+ds/src/filter.c:126:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (!(file = fopen(filename, "r")))
data/source-extractor-2.25.0+ds/src/filter.c:360: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(vig2, vig1, width*height*sizeof(float));
data/source-extractor-2.25.0+ds/src/fits/fitsbody.c:52: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	body_swapdirname[MAXCHARS] = BODY_DEFSWAPDIR;
data/source-extractor-2.25.0+ds/src/fits/fitsbody.c:122:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!(file=fopen(tab->swapname, "wb+")))
data/source-extractor-2.25.0+ds/src/fits/fitsbody.c:223:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if (!(file=fopen(tab->swapname, "wb+")))
data/source-extractor-2.25.0+ds/src/fits/fitsbody.c:564:11:  [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(&val16, bufdata, 2);
data/source-extractor-2.25.0+ds/src/fits/fitsbody.c:571: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.
            memcpy(&dval,bufdata,4);
data/source-extractor-2.25.0+ds/src/fits/fitsbody.c:611:11:  [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(&val16, bufdata, 2);
data/source-extractor-2.25.0+ds/src/fits/fitsbody.c:744:11:  [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(&val16, bufdata, 2);
data/source-extractor-2.25.0+ds/src/fits/fitsbody.c:751: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.
            memcpy(&dval,bufdata,4);
data/source-extractor-2.25.0+ds/src/fits/fitsbody.c:791:11:  [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(&val16, bufdata, 2);
data/source-extractor-2.25.0+ds/src/fits/fitscat.c:45: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		gstr[MAXCHAR];
data/source-extractor-2.25.0+ds/src/fits/fitscat.c:120: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			str2[82];
data/source-extractor-2.25.0+ds/src/fits/fitscat.c:293: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(tab->headbuf, bintabtemplate, sizeof(bintabtemplate));
data/source-extractor-2.25.0+ds/src/fits/fitscat.c:410:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((cat->file = fopen(cat->filename, at==WRITE_ONLY?"wb":"rb")) == NULL)
data/source-extractor-2.25.0+ds/src/fits/fitscat.h:124: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		name[80];		/* name */
data/source-extractor-2.25.0+ds/src/fits/fitscat.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		comment[80];		/* a comment */
data/source-extractor-2.25.0+ds/src/fits/fitscat.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		printf[80];		/* printing format (C Convention) */
data/source-extractor-2.25.0+ds/src/fits/fitscat.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		unit[80];		/* physical unit */
data/source-extractor-2.25.0+ds/src/fits/fitscat.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		voucd[80];		/* VO ucd */
data/source-extractor-2.25.0+ds/src/fits/fitscat.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		vounit[80];		/* VO unit */
data/source-extractor-2.25.0+ds/src/fits/fitscat.h:148: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		filename[MAXCHARS];	/* file name */
data/source-extractor-2.25.0+ds/src/fits/fitscat.h:178: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		xtension[82];		/* FITS extension type */
data/source-extractor-2.25.0+ds/src/fits/fitscat.h:179: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		extname[82];		/* FITS extension name */
data/source-extractor-2.25.0+ds/src/fits/fitscat.h:192: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		swapname[MAXCHARS];	/* name of the swapfile */
data/source-extractor-2.25.0+ds/src/fits/fitscat_defs.h:165:20:  [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(ptrout, ptrin, (size_t)(nel)*sizeof(typ)); \
data/source-extractor-2.25.0+ds/src/fits/fitscheck.c:105: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			cbuf[16];
data/source-extractor-2.25.0+ds/src/fits/fitscheck.c:227: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(buf, (char *)tab->bodybuf+tab->tabsize-size, size);
data/source-extractor-2.25.0+ds/src/fits/fitscheck.c:269: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[32],
data/source-extractor-2.25.0+ds/src/fits/fitscheck.c:289: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(str, "%u", sum);
data/source-extractor-2.25.0+ds/src/fits/fitsconv.c:64: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		comment[82], keyword[16], ptr[82];
data/source-extractor-2.25.0+ds/src/fits/fitsconv.c:94: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.
      char line[81];
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:109: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[88];
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:110: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		key[12], name[16],
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:115:46:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  filename = (tab->cat? tab->cat->filename : strcpy(name, "internal header"));
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:136: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(key,"NAXIS%-3d", i+1);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:189:34:  [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).
    tab->bodysum = (unsigned int)atoi(str);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:210: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		strf[88], strk[16];
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:248: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(strk, "TTYPE%-3d", i+1);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:256: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(strk, "TUNIT%-3d", i+1);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:258: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(strk, "TDISP%-3d", i+1);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:263: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(strk, "TFORM%-3d", i+1);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:293: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(strk, "TDIM%-3d", i+1);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:340: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		strk[88], str[88];
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:362:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(strk, "NAXIS%-3d", i+1);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:410: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(strk, "TTYPE%-3d", i+1);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:413: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(strk, "TFORM%-3d", i+1);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:421: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(strk, "TDIM%-3d", i+1);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:436:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(strk, "TUNIT%-3d", i+1);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:442: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(strk, "TDISP%-3d", i+1);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:457: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, "%u", tab->bodysum);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:662: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(str, "%d%c", n, t);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:747: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		control[4];
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:761:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(str, "%%%dc",w);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:764: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, "%%%dd",w);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:768:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "%%%d.%dd",w,d);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:770:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "%%%dd",w);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:774:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "%%%d.%dx",w,d);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:776:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "%%%dx",w);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:780:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "%%%d.%do",w,d);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:782:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "%%%do",w);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:786:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "%%%d.%df",w,d);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:788:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "%%%df",w);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:792:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "%%%d.%dE",w,d);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:794:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "%%%dE",w);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:798:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "%%%d.%dG",w,d);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:800:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "%%%dG",w);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:847: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, "A%d",w);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:850: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, "A%d",w);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:854:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "I%d.%d",w,d);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:856:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "I%d",w);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:860:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "O%d.%d",w,d);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:862:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "O%d",w);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:866:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "Z%d.%d",w,d);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:868:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "Z%d",w);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:872:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "F%d.%d",w,d);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:874:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "F%d",w);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:878:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "E%d.%d",w,d);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:880:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "E%d",w);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:884:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "G%d.%d",w,d);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:886:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "G%d",w);
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:606: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.
      char    oldname[80];         /* Name of the original pipeline key */
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:607: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.
      char    newname[80];         /* Name of the skycat required key   */
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:665:24:  [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).
          key_col[i] = atoi(++t);
data/source-extractor-2.25.0+ds/src/fits/fitskey.c:814:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
          ptr = memcpy(rfield, buf+key->pos, key->nbytes);
data/source-extractor-2.25.0+ds/src/fits/fitsmisc.c:44: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	warning_historystr[WARNING_NMAX][192]={""};
data/source-extractor-2.25.0+ds/src/fits/fitsmisc.c:89: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(warning_historystr[(nwarning++)%WARNING_NMAX],
data/source-extractor-2.25.0+ds/src/fits/fitsread.c:41: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	padbuf[FBSIZE];
data/source-extractor-2.25.0+ds/src/fits/fitstab.c:445:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(tab->xtension, "BINTABLE");
data/source-extractor-2.25.0+ds/src/fits/fitstab.c:457: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(tab->headbuf, bintabtemplate, sizeof(bintabtemplate));
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:61: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[82];
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:79:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "NAXIS%-3d", i);
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:116: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, "%-8.8s %-71.71s",
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:119: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, "%-8.8s=                      / %-47.47s",
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:122: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, "%-8.8s=                        %-47.47s",
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:124: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(key_ptr, str, 80);
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:208: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(keyword, fitsline, 8);
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:282:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      *((int *)ptr) = atoi(fitsline+j);
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:344: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		s[4], str[82];
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:481: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[81],str2[81];
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:494: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(str, "%20d", *(int *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:496: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(str, "%20d", *(short *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:499: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(str, "%20lld", *(SLONGLONG *)ptr);
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:503:19:  [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.
    case H_FLOAT:	sprintf(str, "    %16.8f", (ttype==T_DOUBLE)?
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:507:18:  [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.
    case H_EXPO:	sprintf(str, " %19.12E", (ttype==T_DOUBLE)?
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:513: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(str, "                   T");
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:515: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(str, "                   F");
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:531: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(str, "'%-18.18s ", str2);
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:537: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(str, "'%-68.68s ", str2);
data/source-extractor-2.25.0+ds/src/fits/fitswrite.c:256: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.
   static char  padbuf[FBSIZE];
data/source-extractor-2.25.0+ds/src/fitswcs.c:350: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[MAXCHARS];
data/source-extractor-2.25.0+ds/src/fitswcs.c:351: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		wstr1[TNX_MAXCHARS], wstr2[TNX_MAXCHARS];
data/source-extractor-2.25.0+ds/src/fitswcs.c:356: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		name[16],
data/source-extractor-2.25.0+ds/src/fitswcs.c:360:46:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  filename = (tab->cat? tab->cat->filename : strcpy(name, "internal header"));
data/source-extractor-2.25.0+ds/src/fitswcs.c:378: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, "CTYPE%-3d", l+1);
data/source-extractor-2.25.0+ds/src/fitswcs.c:381: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, "CUNIT%-3d", l+1);
data/source-extractor-2.25.0+ds/src/fitswcs.c:384: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, "CRVAL%-3d", l+1);
data/source-extractor-2.25.0+ds/src/fitswcs.c:386: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, "CRPIX%-3d", l+1);
data/source-extractor-2.25.0+ds/src/fitswcs.c:388: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, "CDELT%-3d", l+1);
data/source-extractor-2.25.0+ds/src/fitswcs.c:390: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, "CRDER%-3d", l+1);
data/source-extractor-2.25.0+ds/src/fitswcs.c:392: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, "CSYER%-3d", l+1);
data/source-extractor-2.25.0+ds/src/fitswcs.c:404:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "CD%d_%d", l+1, j+1);
data/source-extractor-2.25.0+ds/src/fitswcs.c:412:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "PC%d_%d", l+1, j+1);
data/source-extractor-2.25.0+ds/src/fitswcs.c:421:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "PC%03d%03d", l+1, j+1);
data/source-extractor-2.25.0+ds/src/fitswcs.c:463: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).
          dpar[l] = atoi(pstr);
data/source-extractor-2.25.0+ds/src/fitswcs.c:541:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "WAT1_001");
data/source-extractor-2.25.0+ds/src/fitswcs.c:544:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf(str, "WAT1_%03d", j);
data/source-extractor-2.25.0+ds/src/fitswcs.c:548:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "WAT2_001");
data/source-extractor-2.25.0+ds/src/fitswcs.c:551:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf(str, "WAT2_%03d", j);
data/source-extractor-2.25.0+ds/src/fitswcs.c:589:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf(str, "PROJP%-3d", j);
data/source-extractor-2.25.0+ds/src/fitswcs.c:597: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(str, "PV%d_%d ", l+1, j);
data/source-extractor-2.25.0+ds/src/fitswcs.c:633: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[MAXCHARS];
data/source-extractor-2.25.0+ds/src/fitswcs.c:643: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, "NAXIS%-3d", l+1);
data/source-extractor-2.25.0+ds/src/fitswcs.c:678: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, "CTYPE%-3d", l+1);
data/source-extractor-2.25.0+ds/src/fitswcs.c:681: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, "CUNIT%-3d", l+1);
data/source-extractor-2.25.0+ds/src/fitswcs.c:684: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, "CRVAL%-3d", l+1);
data/source-extractor-2.25.0+ds/src/fitswcs.c:687: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, "CRPIX%-3d", l+1);
data/source-extractor-2.25.0+ds/src/fitswcs.c:692: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, "CD%d_%d", l+1, j+1);
data/source-extractor-2.25.0+ds/src/fitswcs.c:699:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(str, "PV%d_%d", l+1, j);
data/source-extractor-2.25.0+ds/src/fitswcs.c:799: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	projcode[28][5] =
data/source-extractor-2.25.0+ds/src/fitswcs.c:1210: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		strlng[80], strlat[80];
data/source-extractor-2.25.0+ds/src/fitswcs.c:2078: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(str,"%02d:%02d:%05.2f", hh, mm, ss);
data/source-extractor-2.25.0+ds/src/fitswcs.c:2105: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(str,"%c%02d:%02d:%04.1f", sign, dd, dm, ds);
data/source-extractor-2.25.0+ds/src/fitswcs.h:71: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[NAXIS][9];	/* FITS CTYPE strings */
data/source-extractor-2.25.0+ds/src/fitswcs.h:72: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		cunit[NAXIS][32];	/* FITS CUNIT strings */
data/source-extractor-2.25.0+ds/src/header.c:56: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         keyword[88],data[88],comment[88], str[88];
data/source-extractor-2.25.0+ds/src/header.c:62:13:  [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 ((file=fopen(filename, "r")))
data/source-extractor-2.25.0+ds/src/image.c:91: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(dest, &PIX(field, xmin, y), w2*sizeof(PIXTYPE));
data/source-extractor-2.25.0+ds/src/key.h:39: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		name[32];
data/source-extractor-2.25.0+ds/src/key.h:45: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		keylist[32][32];	/* List of keywords */
data/source-extractor-2.25.0+ds/src/ldactoasc.c:51: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			catname[MAXCHAR];
data/source-extractor-2.25.0+ds/src/ldactoasc.h:132:20:  [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(ptrout, ptrin, (size_t)(nel)*sizeof(typ));};;}
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:232: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(r, a, r_sz*sizeof(LM_REAL));
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:524: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(a, A, a_sz*sizeof(LM_REAL));
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:525: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(x, B, m*sizeof(LM_REAL));
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:711: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(a, A, a_sz*sizeof(LM_REAL));
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:712: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(x, B, m*sizeof(LM_REAL));
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:1090: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(a, A, a_sz*sizeof(LM_REAL));
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:1091: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(x, B, m*sizeof(LM_REAL));
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:1231: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(a, A, a_sz*sizeof(LM_REAL));
data/source-extractor-2.25.0+ds/src/levmar/Axb_core.c:1232: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(x, B, m*sizeof(LM_REAL));
data/source-extractor-2.25.0+ds/src/levmar/matlab/levmar.c:72: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  buf[256];
data/source-extractor-2.25.0+ds/src/levmar/matlab/levmar.c:85: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  buf[256];
data/source-extractor-2.25.0+ds/src/main.c:69: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[MAXCHARL],
data/source-extractor-2.25.0+ds/src/main.c:91: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(prefs.image_name[0], "image");
data/source-extractor-2.25.0+ds/src/main.c:92: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(prefs.prefs_name, "default.sex");
data/source-extractor-2.25.0+ds/src/makeit.c:96: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(prefs.sdate_start,"%04d-%02d-%02d",
data/source-extractor-2.25.0+ds/src/makeit.c:98: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(prefs.stime_start,"%02d:%02d:%02d",
data/source-extractor-2.25.0+ds/src/makeit.c:249: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(gstr,"%d", prefs.somfit_vectorsize);
data/source-extractor-2.25.0+ds/src/makeit.c:657: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(prefs.sdate_end,"%04d-%02d-%02d",
data/source-extractor-2.25.0+ds/src/makeit.c:659: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(prefs.stime_end,"%02d:%02d:%02d",
data/source-extractor-2.25.0+ds/src/makeit.c:735: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			error[MAXCHAR];
data/source-extractor-2.25.0+ds/src/manobjlist.c:105: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(plist2, plist1+i, (size_t)plistsize);
data/source-extractor-2.25.0+ds/src/neurro.c: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	str[MAXCHAR], *sstr, *null;
data/source-extractor-2.25.0+ds/src/neurro.c:117:17:  [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 ((infile = fopen(prefs.nnw_name,"r")) == NULL)
data/source-extractor-2.25.0+ds/src/neurro.c:134:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
        case 1:	brain->layersnb = atoi(strtok(sstr, " \t\n"));
data/source-extractor-2.25.0+ds/src/neurro.c:136:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
		  brain->nn[i] = atoi(strtok(NULL, " \t\n"));
data/source-extractor-2.25.0+ds/src/pc.c:96: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		*head, str[80], *ci, *filename;
data/source-extractor-2.25.0+ds/src/pc.c:128: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, "PCAXIS%1d ", i+1);
data/source-extractor-2.25.0+ds/src/pc.c:179: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, "CODE_P%d", i+1);
data/source-extractor-2.25.0+ds/src/pc.c:182: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, "CODE_M%d", i+1);
data/source-extractor-2.25.0+ds/src/preflist.h:176: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		keylist[sizeof(key)/sizeof(pkeystruct)][32];
data/source-extractor-2.25.0+ds/src/prefs.c:89: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          *cp, str[MAXCHARL], *keyword, *value, **dp;
data/source-extractor-2.25.0+ds/src/prefs.c:93: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.
   static char	value2[MAXCHARL],envname[MAXCHAR];
data/source-extractor-2.25.0+ds/src/prefs.c:98:17:  [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 ((infile = fopen(filename,"r")) == NULL)
data/source-extractor-2.25.0+ds/src/prefs.c:210:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
            ival = atoi(value);
data/source-extractor-2.25.0+ds/src/prefs.c:220:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
            strcpy((char *)key[nkey].ptr, value);
data/source-extractor-2.25.0+ds/src/prefs.c:321:22:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              free(((char **)key[nkey].ptr)[i]);
data/source-extractor-2.25.0+ds/src/prefs.c:322:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              QMALLOC(((char **)key[nkey].ptr)[i], char, MAXCHAR);
data/source-extractor-2.25.0+ds/src/prefs.c:323:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
              strcpy(((char **)key[nkey].ptr)[i], value);
data/source-extractor-2.25.0+ds/src/prefs.c:406: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[80];
data/source-extractor-2.25.0+ds/src/prefs.c:448: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, "NTHREADS defaulted to %d", prefs.nthreads);
data/source-extractor-2.25.0+ds/src/prefs.c:534: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(prefs.coosys, "ICRS");
data/source-extractor-2.25.0+ds/src/prefs.h:52: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		prefs_name[MAXCHAR];			/* prefs filename*/
data/source-extractor-2.25.0+ds/src/prefs.h:53: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		image_name[2][MAXCHAR];			/* image filenames */
data/source-extractor-2.25.0+ds/src/prefs.h:55: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		cat_name[MAXCHAR];			/* catalog filename*/
data/source-extractor-2.25.0+ds/src/prefs.h:56: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		head_suffix[MAXCHAR];			/* ext. header suffix */
data/source-extractor-2.25.0+ds/src/prefs.h:71: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		filter_name[MAXCHAR];			/* mask filename */
data/source-extractor-2.25.0+ds/src/prefs.h:76: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		satur_key[8];				/* saturation keyword */
data/source-extractor-2.25.0+ds/src/prefs.h:80: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		*(fimage_name[MAXFLAG]);		/* flagmap filenames */
data/source-extractor-2.25.0+ds/src/prefs.h:92: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		*(wimage_name[2]);       		/* weight filenames */
data/source-extractor-2.25.0+ds/src/prefs.h:102: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		dgeoimage_name[MAXCHAR];		/* diff.geo. filename */
data/source-extractor-2.25.0+ds/src/prefs.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		gain_key[8];				/* gain keyword */
data/source-extractor-2.25.0+ds/src/prefs.h:126: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		nnw_name[MAXCHAR];			/* nnw filename */
data/source-extractor-2.25.0+ds/src/prefs.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		back_name[MAXCHAR];			/* bkgnd filename */
data/source-extractor-2.25.0+ds/src/prefs.h:146: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		param_name[MAXCHAR];			/* param. filename */
data/source-extractor-2.25.0+ds/src/prefs.h:151:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char		xml_name[MAXCHAR];			/* XML file name */
data/source-extractor-2.25.0+ds/src/prefs.h:152:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char		xsl_name[MAXCHAR];			/* XSL file name (or URL) */
data/source-extractor-2.25.0+ds/src/prefs.h:153:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char		sdate_start[12];			/* SCAMP start date */
data/source-extractor-2.25.0+ds/src/prefs.h:154:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char		stime_start[12];			/* SCAMP start time */
data/source-extractor-2.25.0+ds/src/prefs.h:155:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char		sdate_end[12];				/* SCAMP end date */
data/source-extractor-2.25.0+ds/src/prefs.h:156:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char		stime_end[12];				/* SCAMP end time */
data/source-extractor-2.25.0+ds/src/prefs.h:162: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		*(check_name[MAXCHECK]);       		/* check-image names */
data/source-extractor-2.25.0+ds/src/prefs.h:167: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		assoc_name[MAXCHAR];			/* ASSOC-list name */
data/source-extractor-2.25.0+ds/src/prefs.h:181: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		retina_name[MAXCHAR];			/* retina filename */
data/source-extractor-2.25.0+ds/src/prefs.h:187: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		som_name[MAXCHAR];			/* SOM filename */
data/source-extractor-2.25.0+ds/src/prefs.h:206: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		coosys[16];				/* VOTable coord.sys */
data/source-extractor-2.25.0+ds/src/prefs.h:221: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		*(psf_name[2]);				/* PSF filename */
data/source-extractor-2.25.0+ds/src/profit.c:1621: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		filename[256];
data/source-extractor-2.25.0+ds/src/profit.c:1632: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(filename, "check_%d_%04d.fits", the_gal, itero);
data/source-extractor-2.25.0+ds/src/profit.c:1738:11:  [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(profit->modpix, prof[c]->pix, profit->nmodpix*sizeof(float));
data/source-extractor-2.25.0+ds/src/profit.c:1784:9:  [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(profit->modpix2, prof[c]->pix, profit->nmodpix*sizeof(float));
data/source-extractor-2.25.0+ds/src/profit.c:1786:9:  [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(prof[c]->pix, profit->modpix2, profit->nmodpix*sizeof(float));
data/source-extractor-2.25.0+ds/src/profit.c:1878: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(profit->cmodpix, profit->modpix, profit->nmodpix*sizeof(float));
data/source-extractor-2.25.0+ds/src/psf.c:134: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			rkeyname[80],
data/source-extractor-2.25.0+ds/src/psf.c:189:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(gstr, "POLGRP%1d", i+1);
data/source-extractor-2.25.0+ds/src/psf.c:195: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(gstr, "POLNAME%1d", i+1);
data/source-extractor-2.25.0+ds/src/psf.c:214:60:  [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).
        keyn = (pstr = strtok_r(NULL,"([{}])", &pstrbuf))? atoi(pstr) - 1 : 0;
data/source-extractor-2.25.0+ds/src/psf.c:243: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(gstr, "POLZERO%1d", i+1);
data/source-extractor-2.25.0+ds/src/psf.c:247: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(gstr, "POLSCAL%1d", i+1);
data/source-extractor-2.25.0+ds/src/psf.c:260: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(gstr, "POLDEG%1d", i+1);
data/source-extractor-2.25.0+ds/src/psf.c:296: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(gstr, "PSFAXIS%1d", i+1);
data/source-extractor-2.25.0+ds/src/psf.h:58: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		name[MAXCHAR];	/* PC filename */
data/source-extractor-2.25.0+ds/src/psf.h:77: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		name[MAXCHAR];	/* Name of the file containing the PSF data */
data/source-extractor-2.25.0+ds/src/readimage.c:279: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(field->strip+offset, field->reffield->strip+offset,
data/source-extractor-2.25.0+ds/src/refine.c:313: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(pixt2, pixt, (size_t)plistsize);
data/source-extractor-2.25.0+ds/src/scan.c:384:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf(gstr, "%d,%d", xl+1, yl+1);
data/source-extractor-2.25.0+ds/src/scan.c:652: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(gstr, "Object at position %.0f,%.0f ",
data/source-extractor-2.25.0+ds/src/scan.c:659: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(gstr, "Object at position %.0f,%.0f ",
data/source-extractor-2.25.0+ds/src/scan.c:821: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(gstr, "%.0f,%.0f", obj.mx+1, obj.my+1);
data/source-extractor-2.25.0+ds/src/scan.c:843:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(gstr, "%.0f,%.0f", cobj->mx+1, cobj->my+1);
data/source-extractor-2.25.0+ds/src/scan.c:868:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf(gstr, "Object at position %.0f,%.0f ",
data/source-extractor-2.25.0+ds/src/scan.c:875:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf(gstr, "Object at position %.0f,%.0f ",
data/source-extractor-2.25.0+ds/src/som.c:609: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		*head, str[80];
data/source-extractor-2.25.0+ds/src/som.c:631: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, "%d", INPUT_MAXDIM);
data/source-extractor-2.25.0+ds/src/som.c:641: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, "INPAXIS%1d", i+1);
data/source-extractor-2.25.0+ds/src/som.c:663: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, "SOMAXIS%1d", i+1);
data/source-extractor-2.25.0+ds/src/types.h:558: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		filename[MAXCHAR];	/* pointer to the image filename */
data/source-extractor-2.25.0+ds/src/types.h:560: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		hfilename[MAXCHAR];	/* external header filename */
data/source-extractor-2.25.0+ds/src/types.h:562: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		ident[MAXCHAR];		/* field identifier (read from FITS)*/
data/source-extractor-2.25.0+ds/src/types.h:563: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		rident[MAXCHAR];	/* field identifier (relative) */
data/source-extractor-2.25.0+ds/src/types.h:636: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		prefs_name[MAXCHAR];			/* Prefs filename*/
data/source-extractor-2.25.0+ds/src/types.h:637:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char		image_name[MAXCHAR];			/* image filename*/
data/source-extractor-2.25.0+ds/src/types.h:638: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		psf_name[MAXCHAR];			/* PSF filename*/
data/source-extractor-2.25.0+ds/src/types.h:639: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		nnw_name[MAXCHAR];			/* NNW name */
data/source-extractor-2.25.0+ds/src/types.h:640: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		filter_name[MAXCHAR];			/* Filter name */
data/source-extractor-2.25.0+ds/src/types.h:641: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		soft_name[MAXCHAR];			/* Sextractor version*/
data/source-extractor-2.25.0+ds/src/types.h:643: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		ext_date[16],ext_time[16];		/* date and time */
data/source-extractor-2.25.0+ds/src/wcs/cel.c:287: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[27][4] =
data/source-extractor-2.25.0+ds/src/wcs/cel.c:313: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/source-extractor-2.25.0+ds/src/wcs/cel.c:570: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/source-extractor-2.25.0+ds/src/wcs/cel.c:599: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/source-extractor-2.25.0+ds/src/wcs/cel.h:71: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[27][4];
data/source-extractor-2.25.0+ds/src/wcs/poly.c:65: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(ptrout, ptrin, (size_t)(nel)*sizeof(typ));};;}
data/source-extractor-2.25.0+ds/src/wcs/poly.c:94: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/source-extractor-2.25.0+ds/src/wcs/poly.c:102: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/source-extractor-2.25.0+ds/src/wcs/poly.c:135: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/source-extractor-2.25.0+ds/src/wcs/wcs.c:464: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/source-extractor-2.25.0+ds/src/wcs/wcs.c:498: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/source-extractor-2.25.0+ds/src/wcs/wcs.c:502: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/source-extractor-2.25.0+ds/src/wcs/wcs.c:503: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/source-extractor-2.25.0+ds/src/wcs/wcs.c:508: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/source-extractor-2.25.0+ds/src/wcs/wcs.c:509: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/source-extractor-2.25.0+ds/src/wcs/wcs.c:514: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/source-extractor-2.25.0+ds/src/wcs/wcs.c:515: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/source-extractor-2.25.0+ds/src/wcs/wcs.c:520: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/source-extractor-2.25.0+ds/src/wcs/wcs.c:521: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/source-extractor-2.25.0+ds/src/wcs/wcs.c:593: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/source-extractor-2.25.0+ds/src/wcs/wcs.c:727: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/source-extractor-2.25.0+ds/src/wcs/wcs.h:73: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/source-extractor-2.25.0+ds/src/wcs/wcs.h:74: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/source-extractor-2.25.0+ds/src/xml.c:152:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (!(file = fopen(prefs.xml_name, "w")))
data/source-extractor-2.25.0+ds/src/xml.c:248: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(prefs.sdate_end,"%04d-%02d-%02d",
data/source-extractor-2.25.0+ds/src/xml.c:250: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(prefs.stime_end,"%02d:%02d:%02d",
data/source-extractor-2.25.0+ds/src/xml.c:607: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		value[MAXCHAR], uunit[MAXCHAR];
data/source-extractor-2.25.0+ds/src/xml.c:673: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(value, "%c", *((int *)key[i].ptr)? 'T':'F');
data/source-extractor-2.25.0+ds/src/xml.c:682:9:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
        sprintf(value, "%c", ((int *)key[i].ptr)[0]? 'T':'F');
data/source-extractor-2.25.0+ds/src/xml.c:688:11:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
          sprintf(value, "%c", ((int *)key[i].ptr)[j]? 'T':'F');
data/source-extractor-2.25.0+ds/src/xml.c:699:24:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	sprintf(value, "%s", (char *)key[i].ptr);
data/source-extractor-2.25.0+ds/src/xml.c:708:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        sprintf(value, "%s", ((char **)key[i].ptr)[0]);
data/source-extractor-2.25.0+ds/src/xml.c:714:34:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          sprintf(value, "%s", ((char **)key[i].ptr)[j]);
data/source-extractor-2.25.0+ds/src/xml.c:772:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if (!(file = fopen(filename, "w")))
data/source-extractor-2.25.0+ds/src/xml.h:49: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 		ext_date[16],ext_time[16];		/* date and time */
data/source-extractor-2.25.0+ds/src/xml.h:51: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		ident[2][MAXCHAR];			/* identifiants */
data/source-extractor-2.25.0+ds/src/catout.c:821: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(arraysize, "\"");
data/source-extractor-2.25.0+ds/src/define.h:127:10:  [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.
				atof(strncat(st, &point[10], 70)) \
data/source-extractor-2.25.0+ds/src/define.h:132:11:  [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.
				 atoi(strncat(st, &point[10], 70)) \
data/source-extractor-2.25.0+ds/src/field.c:103:29:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    pstr = field->hfilename+strlen(field->hfilename);
data/source-extractor-2.25.0+ds/src/fits/fitsconv.c:96:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(line, lptr, 80);
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:423:7:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
      sprintf(str, "(");
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:431:7:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
      sprintf(str2, ")");
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:492: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(tab->headbuf, "SIMPLE  =                    T "
data/source-extractor-2.25.0+ds/src/fits/fitshead.c:523: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(tab->headbuf, "XTENSION= 'IMAGE   '           "
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:148: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).
  len = strlen(keyword);
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:175:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if (!strncmp(fitsbuf, str, strlen(str)))
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:350:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(str,fitsbuf+80*pos,80);
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:373:18:  [1] (buffer) sscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    case H_BOOL:	sscanf(str+10, "%1s", s);
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:529: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).
			if (strlen(str2)<=18)
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:590:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (posoff==10 && i && (l=69-strlen(str))>0)
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:592:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(str2, cstr, i);
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:594:5:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
    strcat(str, " ");
data/source-extractor-2.25.0+ds/src/fits/fitsutil.c:595:5:  [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(str, str2, l);
data/source-extractor-2.25.0+ds/src/fitswcs.c:130:7:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
      strncpy(wcs->ctype[l], ctype[l], 8);
data/source-extractor-2.25.0+ds/src/fitswcs.c:132: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(wcs->ctype[l], "RA---AIT", 8);
data/source-extractor-2.25.0+ds/src/fitswcs.c:134: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(wcs->ctype[l], "DEC--AIT", 8);
data/source-extractor-2.25.0+ds/src/fitswcs.c:380:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(wcs->ctype[l], str, 8);
data/source-extractor-2.25.0+ds/src/fitswcs.c:383:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(wcs->cunit[l], str, 32);
data/source-extractor-2.25.0+ds/src/fitswcs.c:545: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).
          pstr += strlen(pstr);
data/source-extractor-2.25.0+ds/src/fitswcs.c:552: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).
          pstr += strlen(pstr);
data/source-extractor-2.25.0+ds/src/main.c:100:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if (strlen(argv[a])<4 || opt == '-')
data/source-extractor-2.25.0+ds/src/main.c:144:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(str, argv[a], MAXCHARL-1);
data/source-extractor-2.25.0+ds/src/main.c:147:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(prefs.image_name[nim], pstr, MAXCHAR-1);
data/source-extractor-2.25.0+ds/src/prefs.c:172:13:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
            strncpy(envname, valuet, nc=strcspn(valuet,"}/:\"\'\\"));
data/source-extractor-2.25.0+ds/src/psf.c:205:9:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
        strncpy(rkeyname, psf->contextname[i],40);
data/source-extractor-2.25.0+ds/src/wcs/wcs.c:466: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/source-extractor-2.25.0+ds/src/wcs/wcs.c:467: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/source-extractor-2.25.0+ds/src/wcs/wcs.c:535: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, "");

ANALYSIS SUMMARY:

Hits = 649
Lines analyzed = 58988 in approximately 1.78 seconds (33199 lines/second)
Physical Source Lines of Code (SLOC) = 39674
Hits@level = [0] 284 [1]  33 [2] 330 [3]   9 [4] 277 [5]   0
Hits@level+ = [0+] 933 [1+] 649 [2+] 616 [3+] 286 [4+] 277 [5+]   0
Hits/KSLOC@level+ = [0+] 23.5167 [1+] 16.3583 [2+] 15.5265 [3+] 7.20875 [4+] 6.9819 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.