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/tachyon-0.99~b6+dsx/pkgextra/volpack/data/dencopy.c
Examining data/tachyon-0.99~b6+dsx/pkgextra/volpack/data/denfile.c
Examining data/tachyon-0.99~b6+dsx/pkgextra/volpack/data/den2raw.c
Examining data/tachyon-0.99~b6+dsx/demosrc/tgatoyuv.c
Examining data/tachyon-0.99~b6+dsx/demosrc/mgfparse.c
Examining data/tachyon-0.99~b6+dsx/demosrc/mgfparse.h
Examining data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c
Examining data/tachyon-0.99~b6+dsx/demosrc/nffparse.h
Examining data/tachyon-0.99~b6+dsx/demosrc/trackball.h
Examining data/tachyon-0.99~b6+dsx/demosrc/trackball.c
Examining data/tachyon-0.99~b6+dsx/demosrc/nffparse.c
Examining data/tachyon-0.99~b6+dsx/demosrc/spaceball.c
Examining data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.h
Examining data/tachyon-0.99~b6+dsx/demosrc/glwin.h
Examining data/tachyon-0.99~b6+dsx/demosrc/getargs.h
Examining data/tachyon-0.99~b6+dsx/demosrc/spaceball.h
Examining data/tachyon-0.99~b6+dsx/demosrc/parse.h
Examining data/tachyon-0.99~b6+dsx/demosrc/glwin.c
Examining data/tachyon-0.99~b6+dsx/demosrc/parse.c
Examining data/tachyon-0.99~b6+dsx/demosrc/getargs.c
Examining data/tachyon-0.99~b6+dsx/demosrc/main.c
Examining data/tachyon-0.99~b6+dsx/demosrc/animskull.c
Examining data/tachyon-0.99~b6+dsx/demosrc/animspheres.c
Examining data/tachyon-0.99~b6+dsx/demosrc/animspheres2.c
Examining data/tachyon-0.99~b6+dsx/demosrc/fire.c
Examining data/tachyon-0.99~b6+dsx/demosrc/hypertex.c
Examining data/tachyon-0.99~b6+dsx/demosrc/mainanim.c
Examining data/tachyon-0.99~b6+dsx/src/triangle.h
Examining data/tachyon-0.99~b6+dsx/src/image.h
Examining data/tachyon-0.99~b6+dsx/src/intersect.h
Examining data/tachyon-0.99~b6+dsx/src/shade.h
Examining data/tachyon-0.99~b6+dsx/src/global.c
Examining data/tachyon-0.99~b6+dsx/src/sphere.h
Examining data/tachyon-0.99~b6+dsx/src/macros.h
Examining data/tachyon-0.99~b6+dsx/src/parvol.h
Examining data/tachyon-0.99~b6+dsx/src/global.h
Examining data/tachyon-0.99~b6+dsx/src/pngfile.h
Examining data/tachyon-0.99~b6+dsx/src/texture.h
Examining data/tachyon-0.99~b6+dsx/src/imap.h
Examining data/tachyon-0.99~b6+dsx/src/vol.h
Examining data/tachyon-0.99~b6+dsx/src/light.h
Examining data/tachyon-0.99~b6+dsx/src/render.h
Examining data/tachyon-0.99~b6+dsx/src/vector.c
Examining data/tachyon-0.99~b6+dsx/src/intersect.c
Examining data/tachyon-0.99~b6+dsx/src/apigeom.c
Examining data/tachyon-0.99~b6+dsx/src/box.h
Examining data/tachyon-0.99~b6+dsx/src/quadric.h
Examining data/tachyon-0.99~b6+dsx/src/extvol.h
Examining data/tachyon-0.99~b6+dsx/src/apitrigeom.h
Examining data/tachyon-0.99~b6+dsx/src/grid.h
Examining data/tachyon-0.99~b6+dsx/src/ring.h
Examining data/tachyon-0.99~b6+dsx/src/ui.h
Examining data/tachyon-0.99~b6+dsx/src/psd.h
Examining data/tachyon-0.99~b6+dsx/src/tgafile.h
Examining data/tachyon-0.99~b6+dsx/src/plane.h
Examining data/tachyon-0.99~b6+dsx/src/trace.h
Examining data/tachyon-0.99~b6+dsx/src/vector.h
Examining data/tachyon-0.99~b6+dsx/src/cylinder.h
Examining data/tachyon-0.99~b6+dsx/src/ppm.h
Examining data/tachyon-0.99~b6+dsx/src/camera.h
Examining data/tachyon-0.99~b6+dsx/src/winbmp.h
Examining data/tachyon-0.99~b6+dsx/src/shade.c
Examining data/tachyon-0.99~b6+dsx/src/jpeg.h
Examining data/tachyon-0.99~b6+dsx/src/apitrigeom.c
Examining data/tachyon-0.99~b6+dsx/src/coordsys.h
Examining data/tachyon-0.99~b6+dsx/src/sgirgb.h
Examining data/tachyon-0.99~b6+dsx/src/coordsys.c
Examining data/tachyon-0.99~b6+dsx/src/parallel.h
Examining data/tachyon-0.99~b6+dsx/src/imageio.h
Examining data/tachyon-0.99~b6+dsx/src/threads.c
Examining data/tachyon-0.99~b6+dsx/src/threads.h
Examining data/tachyon-0.99~b6+dsx/src/tachyon.h
Examining data/tachyon-0.99~b6+dsx/src/hash.c
Examining data/tachyon-0.99~b6+dsx/src/api.c
Examining data/tachyon-0.99~b6+dsx/src/box.c
Examining data/tachyon-0.99~b6+dsx/src/winbmp.c
Examining data/tachyon-0.99~b6+dsx/src/vol.c
Examining data/tachyon-0.99~b6+dsx/src/ui.c
Examining data/tachyon-0.99~b6+dsx/src/triangle.c
Examining data/tachyon-0.99~b6+dsx/src/trace.c
Examining data/tachyon-0.99~b6+dsx/src/tgafile.c
Examining data/tachyon-0.99~b6+dsx/src/texture.c
Examining data/tachyon-0.99~b6+dsx/src/sphere.c
Examining data/tachyon-0.99~b6+dsx/src/sgirgb.c
Examining data/tachyon-0.99~b6+dsx/src/ring.c
Examining data/tachyon-0.99~b6+dsx/src/render.c
Examining data/tachyon-0.99~b6+dsx/src/quadric.c
Examining data/tachyon-0.99~b6+dsx/src/psd.c
Examining data/tachyon-0.99~b6+dsx/src/ppm.c
Examining data/tachyon-0.99~b6+dsx/src/pngfile.c
Examining data/tachyon-0.99~b6+dsx/src/plane.c
Examining data/tachyon-0.99~b6+dsx/src/parvol.c
Examining data/tachyon-0.99~b6+dsx/src/parallel.c
Examining data/tachyon-0.99~b6+dsx/src/light.c
Examining data/tachyon-0.99~b6+dsx/src/jpeg.c
Examining data/tachyon-0.99~b6+dsx/src/imap.c
Examining data/tachyon-0.99~b6+dsx/src/imageio.c
Examining data/tachyon-0.99~b6+dsx/src/grid.c
Examining data/tachyon-0.99~b6+dsx/src/extvol.c
Examining data/tachyon-0.99~b6+dsx/src/cylinder.c
Examining data/tachyon-0.99~b6+dsx/src/camera.c
Examining data/tachyon-0.99~b6+dsx/src/util.c

FINAL RESULTS:

data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:67: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(textable[numtextures].name, name); 
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:82:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(dfile,"%s",data);
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:105:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(dfile, "%s", filehdr);
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:186:7:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  if (fscanf(dfile, "%s", objtype) != 1) {
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:207:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(dfile, "%s", texname);
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:398:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(dfile, "%s", objname);
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:399:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(dfile, "%s", token);
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:402:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(dfile, "%s", token);
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:406:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(dfile, "%s", token);
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:409:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(dfile, "%s", texname);
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:410:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(dfile, "%s", token);
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:414:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(dfile, "%s", token);
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:422:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(dfile, "%s", token);
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:428:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(dfile, "%s", token);
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:436:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(dfile, "%s", token);
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:447:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(dfile, "%s", urlname);
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:448:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(dfile, "%s", token);
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:452:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(dfile, "%s", token);
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:475:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(dfile, "%s", token);
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:479:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(dfile, "%s", token);
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:492:9:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
        fscanf(dfile, "%s", token);
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:497:9:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
        fscanf(dfile, "%s", token);
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:501:9:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
        fscanf(dfile, "%s", token);
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:542:7:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
      fscanf(dfile, "%s", token);
data/tachyon-0.99~b6+dsx/demosrc/animskull.c:79: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(fname2,RFILE);
data/tachyon-0.99~b6+dsx/demosrc/animskull.c:80:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(fname2, fname);
data/tachyon-0.99~b6+dsx/demosrc/animspheres2.c:190:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(fname2,RFILE);
data/tachyon-0.99~b6+dsx/demosrc/animspheres2.c:191:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(fname2, fname);
data/tachyon-0.99~b6+dsx/demosrc/fire.c:272: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(fname2,RFILE);
data/tachyon-0.99~b6+dsx/demosrc/fire.c:273:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(fname2, fname);
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:363:5:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    sscanf(argv[num + 1], "%s", (char *) &opt->outfilename);
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:372:5:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    sscanf(argv[num + 1], "%s", &opt->camfilename[0]);
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:382:5:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    sscanf(argv[num + 1], "%s", tmp);
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:538:5:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    sscanf(argv[num + 1], "%s", &str[0]);
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:572:5:  [4] (buffer) sscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    sscanf(argv[num + 1], "%s", &opt->spaceballport[0]);
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:620:13:  [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.
            printf(TACHYON_VERSION_STRING"\n");
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:638: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(opt->filenames[opt->numfiles], argv[i]);        
data/tachyon-0.99~b6+dsx/demosrc/hypertex.c:165: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(fname2,RFILE);
data/tachyon-0.99~b6+dsx/demosrc/hypertex.c:166:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(fname2, fname);
data/tachyon-0.99~b6+dsx/demosrc/main.c:532:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(outfilename, opt.outfilename, frameno);
data/tachyon-0.99~b6+dsx/demosrc/main.c:616:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(strbuf, "Tachyon Parallel/Multiprocessor Ray Tracer   Version %s   ",
data/tachyon-0.99~b6+dsx/demosrc/main.c:709:9:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
        sprintf(multioutfilename, opt.outfilename, fileindex);
data/tachyon-0.99~b6+dsx/demosrc/mainanim.c:144:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy(fname2, RFILE);
data/tachyon-0.99~b6+dsx/demosrc/mainanim.c:145:5:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
    strcat(fname2, fname);
data/tachyon-0.99~b6+dsx/demosrc/mgfparse.c:160: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(lastmat, curmatname);
data/tachyon-0.99~b6+dsx/demosrc/mgfparse.c:239:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(fname, mgfname);
data/tachyon-0.99~b6+dsx/demosrc/nffparse.c:47:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(dfile,"%s",data);
data/tachyon-0.99~b6+dsx/demosrc/nffparse.c:265:7:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  if (fscanf(dfile, "%s", objtype) != 1) 
data/tachyon-0.99~b6+dsx/demosrc/parse.c:84: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(ph->textable[ph->numtextures].name, name); 
data/tachyon-0.99~b6+dsx/demosrc/parse.c:212:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(ph->ifp, "%s", data);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:242:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(ph.ifp, "%s", tmp);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:334:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(ph->ifp, "%s", data);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:349:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(ph->ifp, "%s", data);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:404:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(ph->ifp, "%s", data);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:406:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(ph->ifp, "%s", data);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:467:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(ph->ifp, "%s", data);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:471:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(ph->ifp, "%s", data);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:488:7:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  if (fscanf(ph->ifp, "%s", objtype) == EOF) {
data/tachyon-0.99~b6+dsx/demosrc/parse.c:592:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(ph->ifp, "%s", includefile);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:678:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(ph->ifp, "%s", texname);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:702:9:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
        fscanf(ph->ifp, "%s", clrstr);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:756:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(ph->ifp, "%s", texname);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:766:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(ph->ifp, "%s", texname);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:767:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(ph->ifp, "%s", aliasname);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:778:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(ph->ifp, "%s", tmp);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:822:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(ph->ifp, "%s", tmp);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:824:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(ph->ifp, "%s", tmp);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:828:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(ph->ifp, "%s", tmp); /* read next item */
data/tachyon-0.99~b6+dsx/demosrc/parse.c:835:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(ph->ifp, "%s", tmp); /* read next item */
data/tachyon-0.99~b6+dsx/demosrc/parse.c:839:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(ph->ifp, "%s", tmp);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:853:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(ph->ifp, "%s", tmp);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:898:9:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
        fscanf(ph->ifp, "%s", tex.imap);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:908:9:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
        fscanf(ph->ifp, "%s", tex.imap);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:922:9:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
        fscanf(ph->ifp, "%s", tex.imap);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:969:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(ph->ifp, "%s", tmp);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:999:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(ph->ifp, "%s", tmp);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:1079:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(ph->ifp, "%s", tmp);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:1116:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(ph->ifp, "%s", tmp); 
data/tachyon-0.99~b6+dsx/demosrc/parse.c:1165:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(ph->ifp, "%s", gradienttype); /* read next array type */
data/tachyon-0.99~b6+dsx/demosrc/parse.c:1333:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(ph->ifp, "%s", fname);  
data/tachyon-0.99~b6+dsx/demosrc/parse.c:1496:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(ph->ifp, "%s", arraytype); /* read next array type */
data/tachyon-0.99~b6+dsx/demosrc/parse.c:1511:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(ph->ifp, "%s", arraytype); /* read next array type */
data/tachyon-0.99~b6+dsx/demosrc/parse.c:1573:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(ph->ifp, "%s", arraytype); /* read next array type */
data/tachyon-0.99~b6+dsx/demosrc/parse.c:1581:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(ph->ifp, "%s", arraytype); /* read next array type */
data/tachyon-0.99~b6+dsx/demosrc/parse.c:1593:5:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    fscanf(ph->ifp, "%s", arraytype); /* read next array type */
data/tachyon-0.99~b6+dsx/demosrc/parse.c:1779:7:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
      fscanf(ph->ifp, "%s", arraytype); /* read next array type */
data/tachyon-0.99~b6+dsx/demosrc/parse.c:1848:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(ph->ifp, "%s", ifname);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:1892:7:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  if (fscanf(ph->ifp, "%s", objtype) == EOF) {
data/tachyon-0.99~b6+dsx/demosrc/parse.c:1930:3:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  fscanf(ph->ifp, "%s", ifname); /* get MGF filename */
data/tachyon-0.99~b6+dsx/demosrc/tgatoyuv.c:137:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(tganame, "%s.%04d.tga", argv[1], i);
data/tachyon-0.99~b6+dsx/demosrc/tgatoyuv.c:138:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(yuvname, "%s.%04d.yuv", argv[1], i);
data/tachyon-0.99~b6+dsx/src/api.c:222: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((char *) &scene->outfilename, outname);
data/tachyon-0.99~b6+dsx/src/imageio.c:35:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(msgtxt, "Error loading image %s.  Faking it using solid gray.", name);
data/tachyon-0.99~b6+dsx/src/imageio.c:85:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(msgtxt, "Short read encountered while loading image %s", name);
data/tachyon-0.99~b6+dsx/src/imageio.c:93:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(msgtxt, "Cannot read unsupported format for image %s", name);
data/tachyon-0.99~b6+dsx/src/imap.c:71: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(newimage->name, filename);
data/tachyon-0.99~b6+dsx/src/imap.c:105: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(newimage->name, filename);
data/tachyon-0.99~b6+dsx/src/ppm.c:27:9:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
    if (fscanf(dfile, "%s", ch) == 1) {
data/tachyon-0.99~b6+dsx/src/ppm.c:48:9:  [4] (buffer) fscanf:
  The scanf() family's %s operation, without a limit specification, permits
  buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a
  different input function.
  cnt = fscanf(ifp, "%s", data);
data/tachyon-0.99~b6+dsx/src/render.c:239:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(msgtxt,
data/tachyon-0.99~b6+dsx/src/tgafile.c:36:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(msgtxt, "Cannot create %s for output!", name);
data/tachyon-0.99~b6+dsx/src/tgafile.c:77:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(msgtxt, "Cannot open %s for output!", filename);
data/tachyon-0.99~b6+dsx/src/vol.c:68: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(vol->name, fname);
data/tachyon-0.99~b6+dsx/src/vol.c:280:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(msgtxt, "Can't load volume %s, using object color", vol->name); 
data/tachyon-0.99~b6+dsx/src/vol.c:287:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(msgtxt, "Loading %dx%dx%d volume set from %s",
data/tachyon-0.99~b6+dsx/src/vol.c:297:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(msgtxt, "Can't load volume %s, using object color", vol->name); 
data/tachyon-0.99~b6+dsx/demosrc/fire.c:289:5:  [3] (random) srand:
  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.
    srand(i); /* reset random seed.. */
data/tachyon-0.99~b6+dsx/demosrc/glwin.c:294:30:  [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.
  handle->dpy = XOpenDisplay(getenv("DISPLAY"));
data/tachyon-0.99~b6+dsx/src/threads.c:180:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char *forcecount = getenv("RTFORCECPUCOUNT");
data/tachyon-0.99~b6+dsx/src/threads.c:444:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection(mp);
data/tachyon-0.99~b6+dsx/src/threads.c:465:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection(mp);
data/tachyon-0.99~b6+dsx/src/threads.c:512:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection(mp);
data/tachyon-0.99~b6+dsx/src/threads.c:644:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection(&cvp->waiters_lock);
data/tachyon-0.99~b6+dsx/src/threads.c:657:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&cvp->waiters_lock);
data/tachyon-0.99~b6+dsx/src/threads.c:674:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection(mp);
data/tachyon-0.99~b6+dsx/src/threads.c:698:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection(&cvp->waiters_lock);
data/tachyon-0.99~b6+dsx/src/threads.c:730:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection(&cvp->waiters_lock);
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:65:40:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 errcode add_texture(void * tex, char name[TEXNAMELEN]) {
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c: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 data[100];
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:94: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 filehdr[255];
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:100:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dfile=fopen(modelfile,"r");
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:184: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 objtype[80];
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:205: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 texname[TEXNAMELEN];
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:379: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 token[256], objname[128], name[128], texname[128], urlname[100];
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.h:24: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[TEXNAMELEN];
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.h:38:40:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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 errcode add_texture(void * tex, char name[TEXNAMELEN]);
data/tachyon-0.99~b6+dsx/demosrc/animskull.c:22: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];         /* Volume data filename              */
data/tachyon-0.99~b6+dsx/demosrc/animskull.c:48:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fname[1000];
data/tachyon-0.99~b6+dsx/demosrc/animskull.c: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 fname2[2000];
data/tachyon-0.99~b6+dsx/demosrc/animskull.c:78: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(fname,"-%4.4d.tga",i);
data/tachyon-0.99~b6+dsx/demosrc/animspheres.c:180:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fname[100];
data/tachyon-0.99~b6+dsx/demosrc/animspheres.c:250: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(fname,"animspheres-%4.4d.tga",i);
data/tachyon-0.99~b6+dsx/demosrc/animspheres2.c:157:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fname[100];
data/tachyon-0.99~b6+dsx/demosrc/animspheres2.c:158: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 fname2[200];
data/tachyon-0.99~b6+dsx/demosrc/animspheres2.c:189: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(fname,"-%4.4d.tga",i);
data/tachyon-0.99~b6+dsx/demosrc/fire.c:41: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[96];         /* Volume data filename              */
data/tachyon-0.99~b6+dsx/demosrc/fire.c:64:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char fire[2][XS*YS*ZS + 10000];
data/tachyon-0.99~b6+dsx/demosrc/fire.c:174: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(&fire[0], &fire[1], (XS*YS*ZS));
data/tachyon-0.99~b6+dsx/demosrc/fire.c: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 fname[1000];
data/tachyon-0.99~b6+dsx/demosrc/fire.c:188: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 fname2[2000];
data/tachyon-0.99~b6+dsx/demosrc/fire.c:247: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((char *) &p1.imap, "imaps/leafy.ppm");
data/tachyon-0.99~b6+dsx/demosrc/fire.c:271: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(fname,"-%4.4d.tga",i);
data/tachyon-0.99~b6+dsx/demosrc/fire.c:300: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(&interlacedimage[(yy>>1)*XRES*3], &rawimage[yy*XRES*3], XRES*3);
data/tachyon-0.99~b6+dsx/demosrc/fire.c:301: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(&interlacedimage[((yy>>1)+1)*XRES*3], &rawimage[(yy+1)*XRES*3], XRES*3);
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:212:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy(opt->outfilename, "cam.%04d");
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:214:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy(opt->outfilename, "outfile.%04d");
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:216:7:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
      strcpy(opt->outfilename, "outfile");
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:221:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(opt->outfilename, ".ppm");
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:225:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(opt->outfilename, ".bmp");
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:229:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(opt->outfilename, ".rgb");
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:233:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(opt->outfilename, ".jpg");
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:237:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(opt->outfilename, ".png");
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:241:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(opt->outfilename, ".psd");
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:245:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(opt->outfilename, ".ppm");
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:250:9:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
        strcat(opt->outfilename, ".tga");
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:381:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[1024];
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:537:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char str[80];
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:637:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        (char *) malloc(sizeof(char) * strlen(argv[i]) + 1);
data/tachyon-0.99~b6+dsx/demosrc/getargs.h:11: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 outfilename[FILENAME_MAX];   /**< name of output image file */
data/tachyon-0.99~b6+dsx/demosrc/getargs.h:19: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 camfilename[FILENAME_MAX];   /**< camera filename */
data/tachyon-0.99~b6+dsx/demosrc/getargs.h:38: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 spaceballport[FILENAME_MAX]; /**< spaceball serial port device */
data/tachyon-0.99~b6+dsx/demosrc/glwin.c:427: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 keybuf[10];
data/tachyon-0.99~b6+dsx/demosrc/hypertex.c:46: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];         /* Volume data filename              */
data/tachyon-0.99~b6+dsx/demosrc/hypertex.c:117:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fname[1000];
data/tachyon-0.99~b6+dsx/demosrc/hypertex.c:118: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 fname2[2000];
data/tachyon-0.99~b6+dsx/demosrc/hypertex.c:153: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((char *) &p1.imap, "imaps/leafy-cube.ppm");
data/tachyon-0.99~b6+dsx/demosrc/hypertex.c:156: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((char *) &p1.imap, "imaps/leafy.ppm");
data/tachyon-0.99~b6+dsx/demosrc/hypertex.c:164: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(fname,"-%4.4d.tga",i);
data/tachyon-0.99~b6+dsx/demosrc/main.c:132:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char logstring[256];
data/tachyon-0.99~b6+dsx/demosrc/main.c:380: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 outfilename[1];
data/tachyon-0.99~b6+dsx/demosrc/main.c:477: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 outfilename[1000];
data/tachyon-0.99~b6+dsx/demosrc/main.c:489: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 ((camfp = fopen(opt.camfilename, "r")) != NULL) {
data/tachyon-0.99~b6+dsx/demosrc/main.c:615:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char strbuf[1024];
data/tachyon-0.99~b6+dsx/demosrc/main.c:619: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(strbuf, "Copyright 1994-2013,    John E. Stone <john.stone@gmail.com> ");
data/tachyon-0.99~b6+dsx/demosrc/main.c:621: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(strbuf, "------------------------------------------------------------ "); 
data/tachyon-0.99~b6+dsx/demosrc/main.c:708:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char multioutfilename[FILENAME_MAX];
data/tachyon-0.99~b6+dsx/demosrc/mainanim.c:32:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fname[200];
data/tachyon-0.99~b6+dsx/demosrc/mainanim.c:33: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 fname2[200];
data/tachyon-0.99~b6+dsx/demosrc/mainanim.c:143: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(fname,"-%4.4d.tga",i);
data/tachyon-0.99~b6+dsx/demosrc/mgfparse.c:148:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char lastmat[256];
data/tachyon-0.99~b6+dsx/demosrc/mgfparse.c:235:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fname[1024];
data/tachyon-0.99~b6+dsx/demosrc/mgfparse.c:240:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
  strcat(fname, ".scn");
data/tachyon-0.99~b6+dsx/demosrc/mgfparse.c:241:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((ifp = fopen(fname, "r")) == NULL) {
data/tachyon-0.99~b6+dsx/demosrc/nffparse.c: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 data[100];
data/tachyon-0.99~b6+dsx/demosrc/nffparse.c:75:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    dfile=fopen(nffname,"r");
data/tachyon-0.99~b6+dsx/demosrc/nffparse.c:264: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 objtype[80];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:173: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 cbuf[ERROR_READBUF_SIZE];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:210: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 data[255];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:229:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  ph.ifp=fopen(modelfile, "r");
data/tachyon-0.99~b6+dsx/demosrc/parse.c:241:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char tmp[256];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:289:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  ph->ifp=fopen(includefile, "r");
data/tachyon-0.99~b6+dsx/demosrc/parse.c:332: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 data[255];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:402: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 data[255];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:486:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char objtype[256];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:591:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char includefile[FILENAME_MAX];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:672: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 texname[TEXNAMELEN];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:697:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char clrstr[1024];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:754: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 texname[TEXNAMELEN];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:763: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 texname[TEXNAMELEN];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:764: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 aliasname[TEXNAMELEN];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:775: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 tmp[255];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:789: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 tmp[255];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:958: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 tmp[255];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:983: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 tmp[255];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:1052: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 tmp[255];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:1111: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 tmp[255];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:1159: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 gradienttype[1024];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:1322:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char fname[255];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:1482: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 arraytype[1024];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:1559: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 arraytype[1024];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:1822: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 ifname[255];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:1852:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((ifp=fopen(ifname, "r")) == NULL) {
data/tachyon-0.99~b6+dsx/demosrc/parse.c:1890: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 objtype[256];
data/tachyon-0.99~b6+dsx/demosrc/parse.c:1928: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 ifname[255];
data/tachyon-0.99~b6+dsx/demosrc/tgatoyuv.c:21:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char hdr[40];
data/tachyon-0.99~b6+dsx/demosrc/tgatoyuv.c:24:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  ifp = fopen(fname, "r");
data/tachyon-0.99~b6+dsx/demosrc/tgatoyuv.c:39:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  ofp = fopen(fname, "w+b");
data/tachyon-0.99~b6+dsx/demosrc/tgatoyuv.c:97: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 tganame[800];
data/tachyon-0.99~b6+dsx/demosrc/tgatoyuv.c:98: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 yuvname[800];
data/tachyon-0.99~b6+dsx/demosrc/tgatoyuv.c:133:8:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  fs = atoi(argv[2]);
data/tachyon-0.99~b6+dsx/demosrc/tgatoyuv.c:134:8:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  fe = atoi(argv[3]); 
data/tachyon-0.99~b6+dsx/pkgextra/volpack/data/den2raw.c:33: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(rawfilename+rawfilenamelen-3, "%dx%dx%d", xlen, ylen, zlen);
data/tachyon-0.99~b6+dsx/pkgextra/volpack/data/denfile.c:59:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((fd = open(filename, 0)) < 0) {
data/tachyon-0.99~b6+dsx/src/api.c:786: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(newtex, oldtex, sizeof(standard_texture)); 
data/tachyon-0.99~b6+dsx/src/grid.c:210: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 t[256]; /* msgtxt */
data/tachyon-0.99~b6+dsx/src/grid.c:212: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(t, "Grid:  X:%3d  Y:%3d  Z:%3d  Cells:%9d  Obj:%9d  Obj/Cell: %7.3f",
data/tachyon-0.99~b6+dsx/src/grid.c:223: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 msgtxt[128];
data/tachyon-0.99~b6+dsx/src/grid.c:231: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(msgtxt, "Scene contains %d objects.", numobj);
data/tachyon-0.99~b6+dsx/src/grid.c:240: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 t[256]; /* msgtxt */
data/tachyon-0.99~b6+dsx/src/grid.c:241: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(t, "Global bounds: %g %g %g -> %g %g %g", 
data/tachyon-0.99~b6+dsx/src/grid.c:245: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(t, "Creating top level grid: X:%d Y:%d Z:%d", 
data/tachyon-0.99~b6+dsx/src/grid.c:256: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 t[256]; /* msgtxt */
data/tachyon-0.99~b6+dsx/src/grid.c:258: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(t, "Scene contains %d non-gridded objects\n", numobj);
data/tachyon-0.99~b6+dsx/src/hash.c:261:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static char buf[1024];
data/tachyon-0.99~b6+dsx/src/hash.c:263: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(buf, "%u slots, %u entries, and %1.2f ALOS",
data/tachyon-0.99~b6+dsx/src/image.h:25: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[FILENAME_MAX]; /**< filename or remote access identifier */
data/tachyon-0.99~b6+dsx/src/imageio.c:34:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msgtxt[2048];
data/tachyon-0.99~b6+dsx/src/imageio.c: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 msgtxt[2048];
data/tachyon-0.99~b6+dsx/src/imap.c:305:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msgtxt[1024];
data/tachyon-0.99~b6+dsx/src/imap.c:306: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(msgtxt, "Creating MIP Map: xlevels: %d  ylevels: %d  zlevels: %d  levels: %d", xlevels, ylevels, zlevels, mip->levels);
data/tachyon-0.99~b6+dsx/src/jpeg.c:44:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((ifp = fopen(name, "rb")) == NULL) 
data/tachyon-0.99~b6+dsx/src/jpeg.c:96:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((ofp = fopen(name, "wb")) == NULL) {
data/tachyon-0.99~b6+dsx/src/parallel.c:83: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 namebuf[MPI_MAX_PROCESSOR_NAME];
data/tachyon-0.99~b6+dsx/src/parallel.c:108: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((*nodes)[mynode].machname, "Windows");
data/tachyon-0.99~b6+dsx/src/parallel.c:110: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((*nodes)[mynode].machname, "Mercury");
data/tachyon-0.99~b6+dsx/src/pngfile.c:67:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((ifp = fopen(name, "rb")) == NULL) 
data/tachyon-0.99~b6+dsx/src/pngfile.c:137:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((ofp = fopen(name, "wb")) == NULL) {
data/tachyon-0.99~b6+dsx/src/ppm.c:21:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char ch[256];
data/tachyon-0.99~b6+dsx/src/ppm.c:38: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 data[256];  
data/tachyon-0.99~b6+dsx/src/ppm.c:43:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  ifp=fopen(name, "r");  
data/tachyon-0.99~b6+dsx/src/ppm.c:86:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  ofp=fopen(name, "wb");
data/tachyon-0.99~b6+dsx/src/ppm.c:112:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  ofp=fopen(name, "wb");
data/tachyon-0.99~b6+dsx/src/psd.c:20: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 width[4];
data/tachyon-0.99~b6+dsx/src/psd.c:21: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 height[4];
data/tachyon-0.99~b6+dsx/src/psd.c:28:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  ofp=fopen(name, "wb");
data/tachyon-0.99~b6+dsx/src/render.c:230:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msgtxt[1024];
data/tachyon-0.99~b6+dsx/src/render.c:249: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(msgtxt, "  Total CPUs: %d", totalcpus);
data/tachyon-0.99~b6+dsx/src/render.c:251: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(msgtxt, "  Total Speed: %f\n", totalspeed);
data/tachyon-0.99~b6+dsx/src/render.c:320:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msgtxt[256];
data/tachyon-0.99~b6+dsx/src/render.c:321: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(msgtxt, "Preprocessing Time: %10.4f seconds",runtime);
data/tachyon-0.99~b6+dsx/src/render.c:332: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 msgtxt[256];
data/tachyon-0.99~b6+dsx/src/render.c:383: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(msgtxt, "    Image I/O Time: %10.4f seconds", iotime);
data/tachyon-0.99~b6+dsx/src/render.c:455:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msgtxt[256];
data/tachyon-0.99~b6+dsx/src/render.c:459: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(msgtxt, "\n  Ray Tracing Time: %10.4f seconds", runtime);
data/tachyon-0.99~b6+dsx/src/sgirgb.c:18:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf[1];
data/tachyon-0.99~b6+dsx/src/sgirgb.c:24:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf[2];
data/tachyon-0.99~b6+dsx/src/sgirgb.c:31:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char buf[4];
data/tachyon-0.99~b6+dsx/src/sgirgb.c:41: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 iname[80];               /* Image name */
data/tachyon-0.99~b6+dsx/src/sgirgb.c:44:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if ((ofp = fopen(name, "wb")) != NULL) {
data/tachyon-0.99~b6+dsx/src/sgirgb.c:58:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(iname, "Tachyon Ray Tracer Image");
data/tachyon-0.99~b6+dsx/src/tachyon.h:217: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 imap[96];   /**< name of image map */ 
data/tachyon-0.99~b6+dsx/src/tachyon.h:1047: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[96];         /**< image filename (with path)     */
data/tachyon-0.99~b6+dsx/src/tachyon.h:1064: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[96];         /**< Volume data filename              */
data/tachyon-0.99~b6+dsx/src/tachyon.h:1222: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 machname[512];        /**< machine/node name                       */
data/tachyon-0.99~b6+dsx/src/tachyon.h:1252: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 outfilename[256];     /**< name of the output image                */
data/tachyon-0.99~b6+dsx/src/tgafile.c:33:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    ofp=fopen(name, "w+b");
data/tachyon-0.99~b6+dsx/src/tgafile.c:35: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 msgtxt[2048];
data/tachyon-0.99~b6+dsx/src/tgafile.c:74:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  tga->ofp=fopen(filename, "r+b");
data/tachyon-0.99~b6+dsx/src/tgafile.c:76:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msgtxt[2048];
data/tachyon-0.99~b6+dsx/src/tgafile.c:130:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char msgtxt[256];
data/tachyon-0.99~b6+dsx/src/tgafile.c:131: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(msgtxt, "File write problem, %d bytes written.", numbytes);  
data/tachyon-0.99~b6+dsx/src/tgafile.c:153:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char msgtxt[256];
data/tachyon-0.99~b6+dsx/src/tgafile.c:154: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(msgtxt, "File write problem, %d bytes written.", numbytes);  
data/tachyon-0.99~b6+dsx/src/tgafile.c:182:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  ifp=fopen(name, "r");  
data/tachyon-0.99~b6+dsx/src/tgafile.c:229: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(copytmp, &((*imgdata)[rowsize*i]), rowsize);
data/tachyon-0.99~b6+dsx/src/tgafile.c:230: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(&(*imgdata)[rowsize*i], &(*imgdata)[rowsize*(height - 1 - i)], rowsize);
data/tachyon-0.99~b6+dsx/src/tgafile.c:231: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(&(*imgdata)[rowsize*(height - 1 - i)], copytmp, rowsize);
data/tachyon-0.99~b6+dsx/src/threads.c:142:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    ifp = fopen("/sys/devices/system/cpu/present", "r");
data/tachyon-0.99~b6+dsx/src/threads.c:1469: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(thrpool->devlist, devlist, sizeof(int) * workercount);
data/tachyon-0.99~b6+dsx/src/vol.c:277:9:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  dfile=fopen(vol->name, "r");
data/tachyon-0.99~b6+dsx/src/vol.c:279:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msgtxt[2048];
data/tachyon-0.99~b6+dsx/src/vol.c:286:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msgtxt[2048];
data/tachyon-0.99~b6+dsx/src/vol.c:296:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char msgtxt[2048];
data/tachyon-0.99~b6+dsx/src/winbmp.c:34:18:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if ((dfile = fopen(filename, "wb")) != NULL) {
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:30:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  s=strlen(a);
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:31:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  l=strlen(b);
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:50:35:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   while ((!feof(dfile)) && ((c = fgetc(dfile)) != '"'));
data/tachyon-0.99~b6+dsx/demosrc/ac3dparse.c:53:35:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   while ((!feof(dfile)) && ((c = fgetc(dfile)) != '"')) {
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:26:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(a) != strlen(b)) 
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:26:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(a) != strlen(b)) 
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:29:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return strupncmp(a, b, strlen(a));
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:256:5:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
    strcpy(opt->outfilename, "\0");
data/tachyon-0.99~b6+dsx/demosrc/getargs.c:637:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        (char *) malloc(sizeof(char) * strlen(argv[i]) + 1);
data/tachyon-0.99~b6+dsx/demosrc/glwin.c:1264:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    endext = ext + strlen(ext);
data/tachyon-0.99~b6+dsx/demosrc/glwin.c:1267:12:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      if ((strlen(extname) == n) && (strncmp(extname, ext, n) == 0)) {
data/tachyon-0.99~b6+dsx/demosrc/main.c:133:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(logstring, msg, sizeof(logstring)-2);
data/tachyon-0.99~b6+dsx/demosrc/main.c:134:3:  [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(logstring, "\n");
data/tachyon-0.99~b6+dsx/demosrc/main.c:646: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).
    len = strlen(filename);
data/tachyon-0.99~b6+dsx/demosrc/nffparse.c:29:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  s=strlen(a);
data/tachyon-0.99~b6+dsx/demosrc/nffparse.c:30:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  l=strlen(b);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:31:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  s=strlen(a);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:32:5:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  l=strlen(b);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:83:47:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ph->textable[ph->numtextures].name = malloc(strlen(name) + 1);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:249:11:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c=fgetc(ph.ifp);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:576:9:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c=fgetc(ph->ifp);
data/tachyon-0.99~b6+dsx/demosrc/parse.c:707:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	switch (strlen(clrstr)) {
data/tachyon-0.99~b6+dsx/pkgextra/volpack/data/den2raw.c:30:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	rawfilenamelen=strlen(argv[2]);
data/tachyon-0.99~b6+dsx/pkgextra/volpack/data/denfile.c:265:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(fd, buf, n) != n)
data/tachyon-0.99~b6+dsx/pkgextra/volpack/data/denfile.c:298:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(fd, buf, n) != n)
data/tachyon-0.99~b6+dsx/pkgextra/volpack/data/denfile.c:347:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	if (read(fd, buf, n) != n)
data/tachyon-0.99~b6+dsx/src/api.c:221:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (strlen(outname) > 0) {
data/tachyon-0.99~b6+dsx/src/imap.c:68: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(filename);
data/tachyon-0.99~b6+dsx/src/imap.c:102: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(filename);
data/tachyon-0.99~b6+dsx/src/parallel.c:95:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy((char *) &(*nodes)[mynode].machname, namebuf,
data/tachyon-0.99~b6+dsx/src/tgafile.c:84:16:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  tga->width = fgetc(tga->ofp);
data/tachyon-0.99~b6+dsx/src/tgafile.c:85:17:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  tga->width |= fgetc(tga->ofp) << 8;
data/tachyon-0.99~b6+dsx/src/tgafile.c:86:17:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  tga->height = fgetc(tga->ofp);
data/tachyon-0.99~b6+dsx/src/tgafile.c:87:18:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  tga->height |= fgetc(tga->ofp) << 8;
data/tachyon-0.99~b6+dsx/src/tgafile.c:188:3:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  getc(ifp); /* ID length */
data/tachyon-0.99~b6+dsx/src/tgafile.c:189:3:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  getc(ifp); /* colormap type */
data/tachyon-0.99~b6+dsx/src/tgafile.c:190:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  format = getc(ifp); /* image type */
data/tachyon-0.99~b6+dsx/src/tgafile.c:191:3:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  getc(ifp); /* color map origin */
data/tachyon-0.99~b6+dsx/src/tgafile.c:192:3:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  getc(ifp); /* color map origin */
data/tachyon-0.99~b6+dsx/src/tgafile.c:193:3:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  getc(ifp); /* color map length */
data/tachyon-0.99~b6+dsx/src/tgafile.c:194:3:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  getc(ifp); /* color map length */
data/tachyon-0.99~b6+dsx/src/tgafile.c:195:3:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  getc(ifp); /* color map entry size */
data/tachyon-0.99~b6+dsx/src/tgafile.c:196:3:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  getc(ifp); /* x origin */
data/tachyon-0.99~b6+dsx/src/tgafile.c:197:3:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  getc(ifp); /* x origin */
data/tachyon-0.99~b6+dsx/src/tgafile.c:198:3:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  getc(ifp); /* y origin */
data/tachyon-0.99~b6+dsx/src/tgafile.c:199:3:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  getc(ifp); /* y origin */
data/tachyon-0.99~b6+dsx/src/tgafile.c:200:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  w1 = getc(ifp); /* width (low) */
data/tachyon-0.99~b6+dsx/src/tgafile.c:201:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  w2 = getc(ifp); /* width (hi) */
data/tachyon-0.99~b6+dsx/src/tgafile.c:202:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  h1 = getc(ifp); /* height (low) */
data/tachyon-0.99~b6+dsx/src/tgafile.c:203:8:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  h2 = getc(ifp); /* height (hi) */
data/tachyon-0.99~b6+dsx/src/tgafile.c:204:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  depth = getc(ifp); /* image pixel size */
data/tachyon-0.99~b6+dsx/src/tgafile.c:205:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  flags = getc(ifp); /* image descriptor byte */
data/tachyon-0.99~b6+dsx/src/util.c:245: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).
    len = strlen(find);

ANALYSIS SUMMARY:

Hits = 347
Lines analyzed = 24671 in approximately 0.71 seconds (34553 lines/second)
Physical Source Lines of Code (SLOC) = 16988
Hits@level = [0] 391 [1]  53 [2] 177 [3]  11 [4] 106 [5]   0
Hits@level+ = [0+] 738 [1+] 347 [2+] 294 [3+] 117 [4+] 106 [5+]   0
Hits/KSLOC@level+ = [0+] 43.4424 [1+] 20.4262 [2+] 17.3063 [3+] 6.88721 [4+] 6.2397 [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.