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/nauty-2.7r1+ds/naugstrings.c
Examining data/nauty-2.7r1+ds/nautinv.c
Examining data/nauty-2.7r1+ds/lztest.c
Examining data/nauty-2.7r1+ds/planarity.c
Examining data/nauty-2.7r1+ds/rng.c
Examining data/nauty-2.7r1+ds/nautyex9.c
Examining data/nauty-2.7r1+ds/converseg.c
Examining data/nauty-2.7r1+ds/catg.c
Examining data/nauty-2.7r1+ds/rng.h
Examining data/nauty-2.7r1+ds/showg.c
Examining data/nauty-2.7r1+ds/NRswitchg.c
Examining data/nauty-2.7r1+ds/bliss2dre.c
Examining data/nauty-2.7r1+ds/naugstrings.h
Examining data/nauty-2.7r1+ds/nautyex3.c
Examining data/nauty-2.7r1+ds/directg.c
Examining data/nauty-2.7r1+ds/splay.c
Examining data/nauty-2.7r1+ds/nautyex8.c
Examining data/nauty-2.7r1+ds/nauty.c
Examining data/nauty-2.7r1+ds/nautyex10.c
Examining data/nauty-2.7r1+ds/planarg.c
Examining data/nauty-2.7r1+ds/gentreeg.c
Examining data/nauty-2.7r1+ds/gutil2.c
Examining data/nauty-2.7r1+ds/dretodot.c
Examining data/nauty-2.7r1+ds/planarity.h
Examining data/nauty-2.7r1+ds/testg.c
Examining data/nauty-2.7r1+ds/naurng.c
Examining data/nauty-2.7r1+ds/nautyex7.c
Examining data/nauty-2.7r1+ds/twohamg.c
Examining data/nauty-2.7r1+ds/shortg.c
Examining data/nauty-2.7r1+ds/schreier.c
Examining data/nauty-2.7r1+ds/hamheuristic.c
Examining data/nauty-2.7r1+ds/nauthread1.c
Examining data/nauty-2.7r1+ds/gtools.c
Examining data/nauty-2.7r1+ds/underlyingg.c
Examining data/nauty-2.7r1+ds/edgetransg.c
Examining data/nauty-2.7r1+ds/naugraph.c
Examining data/nauty-2.7r1+ds/assembleg.c
Examining data/nauty-2.7r1+ds/complg.c
Examining data/nauty-2.7r1+ds/nautest.c
Examining data/nauty-2.7r1+ds/deledgeg.c
Examining data/nauty-2.7r1+ds/genquarticg.c
Examining data/nauty-2.7r1+ds/nautyex1.c
Examining data/nauty-2.7r1+ds/ranlabg.c
Examining data/nauty-2.7r1+ds/linegraphg.c
Examining data/nauty-2.7r1+ds/copyg.c
Examining data/nauty-2.7r1+ds/biplabg.c
Examining data/nauty-2.7r1+ds/gutil1.c
Examining data/nauty-2.7r1+ds/delptg.c
Examining data/nauty-2.7r1+ds/dretog.c
Examining data/nauty-2.7r1+ds/multig.c
Examining data/nauty-2.7r1+ds/addedgeg.c
Examining data/nauty-2.7r1+ds/sorttemplates.c
Examining data/nauty-2.7r1+ds/numleaves.c
Examining data/nauty-2.7r1+ds/nautyex2.c
Examining data/nauty-2.7r1+ds/nautil.c
Examining data/nauty-2.7r1+ds/nauthread2.c
Examining data/nauty-2.7r1+ds/nautaux.c
Examining data/nauty-2.7r1+ds/nautyex4.c
Examining data/nauty-2.7r1+ds/naututil.c
Examining data/nauty-2.7r1+ds/quarticirred28.h
Examining data/nauty-2.7r1+ds/sumlines.c
Examining data/nauty-2.7r1+ds/nautaux.h
Examining data/nauty-2.7r1+ds/traces.c
Examining data/nauty-2.7r1+ds/gentourng.c
Examining data/nauty-2.7r1+ds/foo.h
Examining data/nauty-2.7r1+ds/vcolg.c
Examining data/nauty-2.7r1+ds/nausparse.c
Examining data/nauty-2.7r1+ds/naugroup.c
Examining data/nauty-2.7r1+ds/naucompare.c
Examining data/nauty-2.7r1+ds/nautyex5.c
Examining data/nauty-2.7r1+ds/checks6.c
Examining data/nauty-2.7r1+ds/newedgeg.c
Examining data/nauty-2.7r1+ds/nautyex6.c
Examining data/nauty-2.7r1+ds/callgeng.c
Examining data/nauty-2.7r1+ds/poptest.c
Examining data/nauty-2.7r1+ds/listg.c
Examining data/nauty-2.7r1+ds/subdivideg.c
Examining data/nauty-2.7r1+ds/amtog.c
Examining data/nauty-2.7r1+ds/labelg.c
Examining data/nauty-2.7r1+ds/gtnauty.c
Examining data/nauty-2.7r1+ds/blisstog.c
Examining data/nauty-2.7r1+ds/watercluster2.c
Examining data/nauty-2.7r1+ds/genbg.c
Examining data/nauty-2.7r1+ds/geng.c
Examining data/nauty-2.7r1+ds/genrang.c
Examining data/nauty-2.7r1+ds/genspecialg.c
Examining data/nauty-2.7r1+ds/cubhamg.c
Examining data/nauty-2.7r1+ds/naugroup.h
Examining data/nauty-2.7r1+ds/naurng.h
Examining data/nauty-2.7r1+ds/nausparse.h
Examining data/nauty-2.7r1+ds/nautinv.h
Examining data/nauty-2.7r1+ds/schreier.h
Examining data/nauty-2.7r1+ds/traces.h
Examining data/nauty-2.7r1+ds/gutils.h
Examining data/nauty-2.7r1+ds/dreadnaut.c
Examining data/nauty-2.7r1+ds/nautycliquer.c
Examining data/nauty-2.7r1+ds/nautycliquer.h

FINAL RESULTS:

data/nauty-2.7r1+ds/cubhamg.c:1977:3:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
		fprintf(msgfile," " COUNTER_FMT,numtries[i]);
data/nauty-2.7r1+ds/directg.c:727:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr,"; " COUNTER_FMT ,dg_nout);
data/nauty-2.7r1+ds/dreadnaut.c:195:52:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define NOSPARSEYET(c) else if (SPARSEREP(mode)) { fprintf(ERRFILE,\
data/nauty-2.7r1+ds/dreadnaut.c:197:49:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define NODENSEYET else if (!SPARSEREP(mode)) { fprintf(ERRFILE,\
data/nauty-2.7r1+ds/dreadnaut.c:199:47:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define NOTRACESYET if (mode==TRACES_MODE) {  fprintf(ERRFILE,\
data/nauty-2.7r1+ds/dreadnaut.c:407:2:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	fprintf(ERRFILE,USAGE);
data/nauty-2.7r1+ds/dreadnaut.c:1541:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                fprintf(outfile,actmult == 1 ?
data/nauty-2.7r1+ds/dreadnaut.c:1742:21:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    fprintf(outfile,actmult == 1 ?
data/nauty-2.7r1+ds/dretodot.c:130:21:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    strcpy(aux, NShape[i].color);
data/nauty-2.7r1+ds/dretodot.c:132:21:  [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(NShape[i].color, aux);
data/nauty-2.7r1+ds/dretodot.c:135:21:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    strcpy(aux, NShape[i].color);
data/nauty-2.7r1+ds/dretodot.c:137:21:  [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(NShape[i].color, aux);
data/nauty-2.7r1+ds/dretodot.c:140:21:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    strcpy(aux, NShape[i].color);
data/nauty-2.7r1+ds/dretodot.c:142:21:  [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(NShape[i].color, aux);
data/nauty-2.7r1+ds/dretodot.c:145:21:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    strcpy(aux, NShape[i].color);
data/nauty-2.7r1+ds/dretodot.c:147:21:  [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(NShape[i].color, aux);
data/nauty-2.7r1+ds/dretodot.c:150:21:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    strcpy(aux, NShape[i].color);
data/nauty-2.7r1+ds/dretodot.c:152:21:  [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(NShape[i].color, aux);
data/nauty-2.7r1+ds/dretodot.c:155:21:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    strcpy(aux, NShape[i].color);
data/nauty-2.7r1+ds/dretodot.c:157:21:  [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(NShape[i].color, aux);
data/nauty-2.7r1+ds/dretodot.c:160:21:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    strcpy(aux, NShape[i].color);
data/nauty-2.7r1+ds/dretodot.c:162:21:  [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(NShape[i].color, aux);
data/nauty-2.7r1+ds/dretodot.c:165:21:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    strcpy(aux, NShape[i].color);
data/nauty-2.7r1+ds/dretodot.c:167:21:  [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(NShape[i].color, aux);
data/nauty-2.7r1+ds/dretodot.c:170:21:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    strcpy(aux, NShape[i].color);
data/nauty-2.7r1+ds/dretodot.c:172:21:  [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(NShape[i].color, aux);
data/nauty-2.7r1+ds/dretodot.c:175:21:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    strcpy(aux, NShape[i].color);
data/nauty-2.7r1+ds/dretodot.c:177:21:  [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(NShape[i].color, aux);
data/nauty-2.7r1+ds/dretodot.c:180:21:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    strcpy(aux, NShape[i].color);
data/nauty-2.7r1+ds/dretodot.c:182:21:  [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(NShape[i].color, aux);
data/nauty-2.7r1+ds/dretodot.c:185:21:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    strcpy(aux, NShape[i].color);
data/nauty-2.7r1+ds/dretodot.c:187:21:  [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(NShape[i].color, aux);
data/nauty-2.7r1+ds/dretodot.c:190:21:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    strcpy(aux, NShape[i].color);
data/nauty-2.7r1+ds/dretodot.c:192:21:  [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(NShape[i].color, aux);
data/nauty-2.7r1+ds/dretodot.c:195:21:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    strcpy(aux, NShape[i].color);
data/nauty-2.7r1+ds/dretodot.c:197:21:  [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(NShape[i].color, aux);
data/nauty-2.7r1+ds/dretodot.c:200:21:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    strcpy(aux, NShape[i].color);
data/nauty-2.7r1+ds/dretodot.c:202:21:  [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(NShape[i].color, aux);
data/nauty-2.7r1+ds/dretodot.c:205:21:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
                    strcpy(aux, NShape[i].color);
data/nauty-2.7r1+ds/dretodot.c:207:21:  [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(NShape[i].color, aux);
data/nauty-2.7r1+ds/geng.c:2413:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr,COUNTER_FMT " (" COUNTER_FMT
data/nauty-2.7r1+ds/genrang.c:955:32:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define NOBIP if (bipartite) { fprintf(stderr, \
data/nauty-2.7r1+ds/gentourng.c:1434:6:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	    fprintf(stderr,COUNTER_FMT " (%lu rigid, %lu fertile)\n",
data/nauty-2.7r1+ds/gtools.c:32:14:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
extern FILE *popen(const char*,const char*);
data/nauty-2.7r1+ds/gtools.c:127:17:  [4] (shell) popen:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
            f = popen(filename,"r");
data/nauty-2.7r1+ds/multig.c:845:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(stderr,COUNTER_FMT " skipped; ",mg_skipped);
data/nauty-2.7r1+ds/nausparse.h:35:46:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define CHECK_SWG(sg,id) do { if ((sg)->w) { fprintf(stderr, \
data/nauty-2.7r1+ds/shortg.c:174:27:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                if (keep) execlp(VSORTCOMMAND2,NULL);
data/nauty-2.7r1+ds/shortg.c:175:27:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                else      execlp(VSORTCOMMAND1,NULL);
data/nauty-2.7r1+ds/shortg.c:177:17:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                execlp(SORTCOMMAND,NULL);
data/nauty-2.7r1+ds/shortg.c:182:27:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                if (keep) execlp(VSORTCOMMANDT2,NULL);
data/nauty-2.7r1+ds/shortg.c:183:27:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                else      execlp(VSORTCOMMANDT1,NULL);
data/nauty-2.7r1+ds/shortg.c:185:17:  [4] (shell) execlp:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                execlp(SORTCOMMANDT,NULL);
data/nauty-2.7r1+ds/sumlines.c:348:17:  [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(dout,val[n++].d);
data/nauty-2.7r1+ds/sumlines.c:350:17:  [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(fout,val[n++].f);
data/nauty-2.7r1+ds/sumlines.c:352:17:  [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(vout,val[n++].f/count);
data/nauty-2.7r1+ds/sumlines.c:354:17:  [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(Xout,val[n++].f);
data/nauty-2.7r1+ds/sumlines.c:373:7:  [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(hmsout1,mins/60,mins%60,nsecs);
data/nauty-2.7r1+ds/sumlines.c:375:7:  [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(hmsout2,mins/60,mins%60,secs);
data/nauty-2.7r1+ds/sumlines.c:382:21:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                    printf(dout,val[n].l->val[i]);
data/nauty-2.7r1+ds/sumlines.c:665: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(new_node->fmt,fmt);
data/nauty-2.7r1+ds/sumlines.c:1307:9:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
        strcpy(format[*numformatsp].fmt,line);
data/nauty-2.7r1+ds/sumlines.c:1343:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(filename,"%s/sumlines.fmt",homedir);
data/nauty-2.7r1+ds/sumlines.c:1613:33:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                                printf(dout,seq);
data/nauty-2.7r1+ds/sumlines.c:1619:33:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                                printf(dout,lastseq[i]+1);
data/nauty-2.7r1+ds/sumlines.c:1621:33:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                                printf(dout,seq-1);
data/nauty-2.7r1+ds/sumlines.c:1627:33:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                                printf(dout,seq-1);
data/nauty-2.7r1+ds/testg.c:502:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                fprintf(f,VALUE_FMT,VAL(ki));
data/nauty-2.7r1+ds/testg.c:523:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                fprintf(f,"%s=" VALUE_FMT,ID(ki),VAL(ki));
data/nauty-2.7r1+ds/testg.c:573:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                fprintf(f,VALUE_FMT " " VALUE_FMT,val[i].lo,val[i].hi);
data/nauty-2.7r1+ds/testg.c:575:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                fprintf(f,VALUE_FMT,val[i].lo);
data/nauty-2.7r1+ds/testg.c:609:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                fprintf(f,"%s=" VALUE_FMT ":" VALUE_FMT,
data/nauty-2.7r1+ds/testg.c:612:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                fprintf(f,"%s=" VALUE_FMT,ID(ki),val[i].lo);
data/nauty-2.7r1+ds/traces.c:368:72:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define PRINTCAND(V, Lev) PRINTCHAR(" ") for (tmp=1; tmp<=Lev; tmp++) {fprintf(outfile, tv->digstring, V->lab[Spine[tmp].tgtpos]+labelorg);}
data/nauty-2.7r1+ds/traces.c:373:29:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
for (tmp=1; tmp<=5; tmp++) {fprintf(outfile, tv->digstring, V->lab[Spine[tmp].tgtpos]+labelorg);} \
data/nauty-2.7r1+ds/traces.c:375:35:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
for (tmp=Lev-4; tmp<=Lev; tmp++) {fprintf(outfile, tv->digstring, V->lab[Spine[tmp].tgtpos]+labelorg);} }
data/nauty-2.7r1+ds/traces.c:377:63:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define LINE(K, c) { PRINTCHAR(c) for (tmp=1; tmp<=K; tmp++) {fprintf(outfile, c);} }
data/nauty-2.7r1+ds/traces.c:637:1:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
fprintf(outfile, tv->digstring, NextCand->vertex+labelorg); \
data/nauty-2.7r1+ds/traces.c:681:55:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
#define PRINTF2(A, B) if (tv->options->verbosity > 3) printf(A, B)
data/nauty-2.7r1+ds/traces.c:682:60:  [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.
#define PRINTF2_2(A, B, C) if (tv->options->verbosity > 3) printf(A, B, C)
data/nauty-2.7r1+ds/traces.c:683:63:  [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.
#define PRINTF2_3(A, B, C, D) if (tv->options->verbosity > 3) printf(A, B, C, D)
data/nauty-2.7r1+ds/traces.c:684:66:  [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.
#define PRINTF2_4(A, B, C, D, E) if (tv->options->verbosity > 3) printf(A, B, C, D, E)
data/nauty-2.7r1+ds/traces.c:884:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(tv->digstring, "%s%dd ", "%", tv->digits);
data/nauty-2.7r1+ds/traces.c:6963:13:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
            fprintf(outfile, tv->digstring, n);
data/nauty-2.7r1+ds/traces.c:6968:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                fprintf(outfile, tv->digstring, k);
data/nauty-2.7r1+ds/twohamg.c:1194:6:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	    fprintf(stderr," " COUNTER_FMT,nphases[i]);
data/nauty-2.7r1+ds/lztest.c:67:15:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	    rb = bit[random() % WORDSIZE];
data/nauty-2.7r1+ds/poptest.c:55:15:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	    rb = bit[random() % WORDSIZE];
data/nauty-2.7r1+ds/sumlines.c:1333:15:  [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.
    homedir = getenv("HOME");
data/nauty-2.7r1+ds/sumlines.c:1355:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if ((filename = getenv("SUMLINES.FMT")) != 0)
data/nauty-2.7r1+ds/NRswitchg.c:144:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/addedgeg.c:179:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/amtog.c:54: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 s[10];
data/nauty-2.7r1+ds/amtog.c:120:24:  [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).
    else if ((infile = fopen(infilename,"r")) == NULL)
data/nauty-2.7r1+ds/amtog.c:131:25:  [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).
    else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/assembleg.c:296:25:  [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).
    else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/biplabg.c:126:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/bliss2dre.c:30: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 s[2];
data/nauty-2.7r1+ds/blisstog.c:34: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 buffer[BUFSIZE];
data/nauty-2.7r1+ds/callgeng.c:27: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 *geng_argv[6];
data/nauty-2.7r1+ds/catg.c:37:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        f = fopen(filename,"r");
data/nauty-2.7r1+ds/catg.c:104: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 buff[1024];
data/nauty-2.7r1+ds/checks6.c:191:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/complg.c:147:25:  [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).
    else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/converseg.c:109:25:  [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).
    else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/copyg.c:205:25:  [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).
    else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/cubhamg.c:1760:28:  [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 ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/deledgeg.c:108:25:  [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).
    else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/delptg.c:208:25:  [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).
    else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/directg.c:544: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 msg[201];
data/nauty-2.7r1+ds/directg.c:673:29:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/dreadnaut.c:393: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 filename[515];
data/nauty-2.7r1+ds/dreadnaut.c:731:39:  [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 ((fileptr[curfile+1] = fopen(filename,"r")) == NULL)
data/nauty-2.7r1+ds/dreadnaut.c:735:38:  [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).
                fileptr[curfile+1] = fopen(filename,"r");
data/nauty-2.7r1+ds/dreadnaut.c:1018: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(savedg,canong,m*(size_t)n*sizeof(setword));
data/nauty-2.7r1+ds/dreadnaut.c:1193: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(canong,g,m*(size_t)n*sizeof(setword));
data/nauty-2.7r1+ds/dreadnaut.c:1363: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(templab,lab,n*sizeof(int));
data/nauty-2.7r1+ds/dreadnaut.c:1364: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(tempptn,ptn,n*sizeof(int));
data/nauty-2.7r1+ds/dreadnaut.c:1376: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(lab,templab,n*sizeof(int));
data/nauty-2.7r1+ds/dreadnaut.c:1377: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(ptn,tempptn,n*sizeof(int));
data/nauty-2.7r1+ds/dreadnaut.c:1450: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(tempptn,ptn,n*sizeof(int));
data/nauty-2.7r1+ds/dretodot.c:62: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 color[6];
data/nauty-2.7r1+ds/dretodot.c:112: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 aux[6];
data/nauty-2.7r1+ds/dretodot.c:131:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(NShape[i].color, "00");
data/nauty-2.7r1+ds/dretodot.c:136:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(NShape[i].color, "11");
data/nauty-2.7r1+ds/dretodot.c:141:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(NShape[i].color, "22");
data/nauty-2.7r1+ds/dretodot.c:146:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(NShape[i].color, "33");
data/nauty-2.7r1+ds/dretodot.c:151:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(NShape[i].color, "44");
data/nauty-2.7r1+ds/dretodot.c:156:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(NShape[i].color, "55");
data/nauty-2.7r1+ds/dretodot.c:161:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(NShape[i].color, "66");
data/nauty-2.7r1+ds/dretodot.c:166:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(NShape[i].color, "77");
data/nauty-2.7r1+ds/dretodot.c:171:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(NShape[i].color, "88");
data/nauty-2.7r1+ds/dretodot.c:176:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(NShape[i].color, "99");
data/nauty-2.7r1+ds/dretodot.c:181:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(NShape[i].color, "AA");
data/nauty-2.7r1+ds/dretodot.c:186:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(NShape[i].color, "BB");
data/nauty-2.7r1+ds/dretodot.c:191:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(NShape[i].color, "CC");
data/nauty-2.7r1+ds/dretodot.c:196:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(NShape[i].color, "DD");
data/nauty-2.7r1+ds/dretodot.c:201:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(NShape[i].color, "EE");
data/nauty-2.7r1+ds/dretodot.c:206:21:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
                    strcpy(NShape[i].color, "FF");
data/nauty-2.7r1+ds/dretodot.c:262:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[10];
data/nauty-2.7r1+ds/dretodot.c:263:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char model[10];
data/nauty-2.7r1+ds/dretodot.c:351:21:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	else if ((infile = fopen(infilename, "r")) == NULL)
data/nauty-2.7r1+ds/dretodot.c:362:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	else if ((outfile = fopen(outfilename, "w")) == NULL)
data/nauty-2.7r1+ds/dretodot.c:459:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	else if ((drefile = fopen(drefilename, "w")) == NULL)
data/nauty-2.7r1+ds/dretodot.c:502:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(ptn,orbits,n*sizeof(int));
data/nauty-2.7r1+ds/dretodot.c:508:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(model, "neato");
data/nauty-2.7r1+ds/dretodot.c:511:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(model, "fdp");
data/nauty-2.7r1+ds/dretodot.c:514:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(model, "sfdp");
data/nauty-2.7r1+ds/dretodot.c:517:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(model, "twopi");
data/nauty-2.7r1+ds/dretodot.c:520:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(model, "circo");
data/nauty-2.7r1+ds/dretodot.c:523:13:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
            strcpy(model, "dot");
data/nauty-2.7r1+ds/dretog.c:49:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[10];
data/nauty-2.7r1+ds/dretog.c:111:21:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	else if ((infile = fopen(infilename,"r")) == NULL)
data/nauty-2.7r1+ds/dretog.c:122:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/edgetransg.c:225:25:  [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).
    else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/genbg.c:280: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 s[(MAXN*(MAXN-1)/2 + 5)/6 + 4];
data/nauty-2.7r1+ds/genbg.c:339: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 grestr[MAXN*MAXN+MAXN+5];
data/nauty-2.7r1+ds/genbg.c:1423: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 msg[201];
data/nauty-2.7r1+ds/genbg.c:1641:25:  [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).
    else if ((outfile = fopen(outfilename,
data/nauty-2.7r1+ds/geng.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 s[(MAXN*(MAXN-1)/2 + 5)/6 + 4];
data/nauty-2.7r1+ds/geng.c:2047: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 msg[201];
data/nauty-2.7r1+ds/geng.c:2249:25:  [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).
    else if ((outfile = fopen(outfilename,
data/nauty-2.7r1+ds/genquarticg.c:1309: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        msg[201];
data/nauty-2.7r1+ds/genquarticg.c:1455:25:  [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).
    else if ((outfile = fopen(outfilename, "w")) == NULL)
data/nauty-2.7r1+ds/genrang.c:1122:25:  [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).
    else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/genspecialg.c:961:25:  [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).
    else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/gentourng.c:291:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char s[MAXN*(MAXN-1)/2+2];
data/nauty-2.7r1+ds/gentourng.c:1193:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char msg[201];
data/nauty-2.7r1+ds/gentourng.c:1350:29:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/gentreeg.c:124:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char outstring[MAXOUTLEN];
data/nauty-2.7r1+ds/gentreeg.c:138:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char *pout,*p,one[8];
data/nauty-2.7r1+ds/gentreeg.c:165:4:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
   char *pout,*p,one[8];
data/nauty-2.7r1+ds/gentreeg.c:417:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char msg[201];
data/nauty-2.7r1+ds/gentreeg.c:541:29:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/gtools.c:133:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
            f = fopen(filename,"r");
data/nauty-2.7r1+ds/hamheuristic.c:351:29:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/labelg.c:269:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/linegraphg.c:282:25:  [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).
    else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/listg.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 s[40];
data/nauty-2.7r1+ds/listg.c:152: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 s[20];
data/nauty-2.7r1+ds/listg.c:221:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char s[20];
data/nauty-2.7r1+ds/listg.c:623:25:  [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).
    else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/lztest.c:248:6:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	k = atoi(argv[1]);
data/nauty-2.7r1+ds/lztest.c:250:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	iters = atoi(argv[2]);
data/nauty-2.7r1+ds/multig.c:634: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 msg[201];
data/nauty-2.7r1+ds/multig.c:787:29:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/naucompare.c:13:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char line1[MAXLINELEN+1];
data/nauty-2.7r1+ds/naucompare.c:14:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char line2[MAXLINELEN+1];
data/nauty-2.7r1+ds/naucompare.c:15:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char line1mod[MAXLINELEN+100];
data/nauty-2.7r1+ds/naucompare.c:16:8:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static char line2mod[MAXLINELEN+100];
data/nauty-2.7r1+ds/naucompare.c:218:20:  [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).
    else if ((f1 = fopen(argv[1],"r")) == NULL)
data/nauty-2.7r1+ds/naucompare.c:226:20:  [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).
    else if ((f2 = fopen(argv[2],"r")) == NULL)
data/nauty-2.7r1+ds/nausparse.c:1331: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 s[12];
data/nauty-2.7r1+ds/nausparse.c:1461: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(v2,v1,n*sizeof(size_t));
data/nauty-2.7r1+ds/nausparse.c:1462: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(d2,d1,n*sizeof(int));
data/nauty-2.7r1+ds/nausparse.c:1463: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(e2,e1,k*sizeof(int));
data/nauty-2.7r1+ds/nausparse.c:1464:14:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    if (wt1) memcpy(wt2,wt1,k*sizeof(sg_weight));
data/nauty-2.7r1+ds/nautil.c:307: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 s[30];
data/nauty-2.7r1+ds/naututil.c:396: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 s[40];
data/nauty-2.7r1+ds/naututil.c:441: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 s[50],c;
data/nauty-2.7r1+ds/naututil.c:1216: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 s[60];
data/nauty-2.7r1+ds/naututil.c:1277: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 s[60];
data/nauty-2.7r1+ds/naututil.c:1320: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 s[20];
data/nauty-2.7r1+ds/naututil.c:1390: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 s[20];
data/nauty-2.7r1+ds/naututil.c:1463: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 s[50];
data/nauty-2.7r1+ds/naututil.c:1563:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char s[50];
data/nauty-2.7r1+ds/naututil.c:2914: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 s[60];
data/nauty-2.7r1+ds/naututil.c:2953: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 s[60];
data/nauty-2.7r1+ds/nauty.c:1113: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 s[30];
data/nauty-2.7r1+ds/newedgeg.c:197:22:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/planarg.c:266:29:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/poptest.c:241:6:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	k = atoi(argv[1]);
data/nauty-2.7r1+ds/poptest.c:243:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	iters = atoi(argv[2]);
data/nauty-2.7r1+ds/ranlabg.c:142:25:  [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).
    else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/schreier.c:295: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(pn->p,p,n*sizeof(int));
data/nauty-2.7r1+ds/schreier.c:564: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(workperm,p,n*sizeof(int));
data/nauty-2.7r1+ds/schreier.c:679: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(workperm2,pn->p,n*sizeof(int));
data/nauty-2.7r1+ds/schreier.c:836:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(workperm2,pn->p,n*sizeof(int));
data/nauty-2.7r1+ds/shortg.c:203: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 buff[30];
data/nauty-2.7r1+ds/shortg.c:220: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(buff,"\t%11llu\n",index);
data/nauty-2.7r1+ds/shortg.c:222: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(buff,"\t%10lu\n",index);
data/nauty-2.7r1+ds/shortg.c:572:24:  [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 ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/showg.c:356:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        f = fopen(filename,"r");
data/nauty-2.7r1+ds/showg.c:910: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 s[40];
data/nauty-2.7r1+ds/showg.c:986: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 s[20];
data/nauty-2.7r1+ds/showg.c:1031: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 s[20];
data/nauty-2.7r1+ds/showg.c:1187:25:  [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).
    else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/subdivideg.c:192:25:  [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).
    else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/sumlines.c:755: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 mp_line[MAXLINELEN+1],*mp;
data/nauty-2.7r1+ds/sumlines.c:1181: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 flagname[52];
data/nauty-2.7r1+ds/sumlines.c:1182:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[MAXLINELEN+3];
data/nauty-2.7r1+ds/sumlines.c:1190:19:  [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).
    else if ((f = fopen(filename,"r")) == NULL)
data/nauty-2.7r1+ds/sumlines.c:1331: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 filename[4097];
data/nauty-2.7r1+ds/sumlines.c:1436:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char line[MAXLINELEN+2];
data/nauty-2.7r1+ds/sumlines.c:1437: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 outf[MAXLINELEN+MAXVALUES+6];
data/nauty-2.7r1+ds/sumlines.c:1448: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 *glob_stdin_v[2];
data/nauty-2.7r1+ds/sumlines.c:1575:31:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
                if ((infile = fopen(filename,"r")) == NULL)
data/nauty-2.7r1+ds/testg.c:323:25:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define NOT_PRESENT(p) {memcpy((void*)p,(void*)new_val,SPLAYNODESIZE); \
data/nauty-2.7r1+ds/testg.c:1227:25:  [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).
    else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/traces.c:86: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 digstring[25];
data/nauty-2.7r1+ds/traces.c:328: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 void PrintWeightedGraph2(int n, char msg[30]);
data/nauty-2.7r1+ds/traces.c:358:1:  [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(W->lab, V->lab, n*sizeof(int)); \
data/nauty-2.7r1+ds/traces.c:359:1:  [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(W->invlab, V->invlab, n*sizeof(int)); \
data/nauty-2.7r1+ds/traces.c:450:26:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define COPYPART(P, Q) { memcpy(P->cls, Q->cls, n*sizeof(int)); \
data/nauty-2.7r1+ds/traces.c:451:1:  [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(P->inv, Q->inv, n*sizeof(int)); \
data/nauty-2.7r1+ds/traces.c:901:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(lab, IDENTITY_PERM, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:908: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(orbits_arg, IDENTITY_PERM, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:918:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(OrbList, gpB->orbits, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:922:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(OrbList, IDENTITY_PERM, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:931:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    if (g_arg->w) memcpy(tv->graph->w, g_arg->w, tv->graph->wlen*sizeof(int));
data/nauty-2.7r1+ds/traces.c:932: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(tv->graph->e, g_arg->e, tv->graph->elen*sizeof(int));
data/nauty-2.7r1+ds/traces.c:964: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(AUTPERM, IDENTITY_PERM, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:999:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(CurrCand->lab, IDENTITY_PERM, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:1000:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(CurrCand->invlab, IDENTITY_PERM, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:1006:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(CurrCand->lab, lab, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:1089:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(lab, CurrCand->lab, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:1090:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            if (canong_arg) memcpy(CurrPart->inv, CurrCand->invlab, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:1120:29:  [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(WorkArray1, tv->currorbit, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:1213:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(lab, BestCand->lab, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:1214:33:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                if (canong_arg) memcpy(CurrPart->inv, BestCand->invlab, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:1313: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(Cand->lab, lab, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:1407: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(CStack+1, TheTrace+SpineTL->trcstart, (Part->active)*sizeof(int));
data/nauty-2.7r1+ds/traces.c:3929: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(CStack+1, TheTrace+SpineTL->trcstart, (Part->active)*sizeof(int));
data/nauty-2.7r1+ds/traces.c:4612:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(tv->graph->w, sg->w, tv->graph->wlen*sizeof(int));
data/nauty-2.7r1+ds/traces.c:4614: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(tv->graph->e, sg->e, tv->graph->elen*sizeof(int));
data/nauty-2.7r1+ds/traces.c:4659:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(CurrCand->lab, lab, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:4691: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(lab, CurrCand->lab, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:4763: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(CStack+1, TheTrace, (Part->cells)*sizeof(int));
data/nauty-2.7r1+ds/traces.c:6415:21:  [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(TempOrbits, IDENTITY_PERM, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:6416:21:  [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(TempOrbList, IDENTITY_PERM, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:6423:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(NextCand->lab, CurrCand->lab, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:6424:17:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
                memcpy(NextCand->invlab, CurrCand->invlab, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:6480:25:  [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(NextPart->cls, CurrPart->cls, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:6481:25:  [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(NextPart->inv, CurrPart->inv, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:6798:41:  [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(TEMPLAB, SpTLliststart->lab, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:6799:41:  [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(TEMPINVLAB, SpTLliststart->invlab, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:6863: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(NextCand->lab, CurrCand->lab, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:6864: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(NextCand->invlab, CurrCand->invlab, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:6882:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(tv->currorbit, IDENTITY_PERM, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:6920:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(NextPart->cls, CurrPart->cls, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:6921:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(NextPart->inv, CurrPart->inv, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:7077:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(NextCand->lab, CurrCand->lab, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:7078:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(NextCand->invlab, CurrCand->invlab, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:7120:21:  [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(NextPart->cls, CurrPart->cls, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:7121:21:  [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(NextPart->inv, CurrPart->inv, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:7298:21:  [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(NextCand->lab, CurrCand->lab, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:7299:21:  [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(NextCand->invlab, CurrCand->invlab, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:7341:25:  [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(NextPart->cls, CurrPart->cls, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:7342:25:  [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(NextPart->inv, CurrPart->inv, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:7474:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(W->lab, lab, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:7475:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(W->invlab, invlab, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:7478:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(W->lab, V->lab, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:7479:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(W->invlab, V->invlab, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:7781: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(IDENTITY_PERM, orbits, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:7815: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(CanonIndices, IDENTITY_PERM, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:7864:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(tv->graph->e, sg_orig->e, tv->graph->elen*sizeof(int));
data/nauty-2.7r1+ds/traces.c:8207:21:  [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(WorkArray, CYLGTH, CyInd*sizeof(int));
data/nauty-2.7r1+ds/traces.c:8792:13:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
            memcpy(e_vtx+retdeg, WorkArray, singcount*sizeof(int));
data/nauty-2.7r1+ds/traces.c:9231:53:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void PrintWeightedGraph1(sparsegraph *g_arg, int n, char msg[30]) {
data/nauty-2.7r1+ds/traces.c:9249:33:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
void PrintWeightedGraph2(int n, char msg[30]) {
data/nauty-2.7r1+ds/traces.c:9286: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 s[60];
data/nauty-2.7r1+ds/traces.c:9597:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(AUTPERM, IDENTITY_PERM, n*sizeof(int));
data/nauty-2.7r1+ds/traces.c:10188: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(TheAuxGraph,TheGraph,n*sizeof(grph_strct));
data/nauty-2.7r1+ds/twohamg.c:1009:25:  [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).
    else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/underlyingg.c:108:25:  [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).
    else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/vcolg.c:516: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 msg[201];
data/nauty-2.7r1+ds/vcolg.c:625:29:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        else if ((outfile = fopen(outfilename,"w")) == NULL)
data/nauty-2.7r1+ds/watercluster2.c:126: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 *remember_operations[MAXN]; //the nonequivalent operations that are stored for every iteration
data/nauty-2.7r1+ds/watercluster2.c:438: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(generators+number_of_generators,perm,sizeof(permutation)*n);
data/nauty-2.7r1+ds/watercluster2.c:649: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(dummy,workg,aantal_toppen*sizeof(graph));
data/nauty-2.7r1+ds/watercluster2.c:1044: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(operations,buffer,size_operations);
data/nauty-2.7r1+ds/watercluster2.c:1097: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(operations,buffer,size_operations);
data/nauty-2.7r1+ds/watercluster2.c:1122: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(operations+(number_operations*blocklength),buffer_op,positie);
data/nauty-2.7r1+ds/watercluster2.c:1245: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 buffer[MAXN+4];
data/nauty-2.7r1+ds/watercluster2.c:1473: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 image[MAXN+4];
data/nauty-2.7r1+ds/watercluster2.c:1745: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(bufferlab,lab[orbitid],aantal_toppen*sizeof(nvector));
data/nauty-2.7r1+ds/watercluster2.c:1746: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(bufferptn,ptn[orbitid],aantal_toppen*sizeof(nvector));
data/nauty-2.7r1+ds/watercluster2.c:1886: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(g,workg,aantal_toppen*sizeof(graph));
data/nauty-2.7r1+ds/watercluster2.c:1962: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(rememberorbits[orbitid],orbits,sizeof(nvector)*aantal_toppen);
data/nauty-2.7r1+ds/watercluster2.c:1994: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(rememberorbits[orbitid],rememberorbits[orbitid-1],sizeof(nvector)*aantal_toppen);
data/nauty-2.7r1+ds/watercluster2.c:2067:4:  [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(bufferlab,lab[orbitid],aantal_toppen*sizeof(nvector));
data/nauty-2.7r1+ds/watercluster2.c:2068:4:  [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(bufferptn,ptn[orbitid],aantal_toppen*sizeof(nvector));
data/nauty-2.7r1+ds/watercluster2.c:2176: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(bufferlab,lab[orbitid],aantal_toppen*sizeof(nvector));
data/nauty-2.7r1+ds/watercluster2.c:2177: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(bufferptn,ptn[orbitid],aantal_toppen*sizeof(nvector));
data/nauty-2.7r1+ds/watercluster2.c:2207:8:  [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(remember_operations[iterationdepth]+START(j),operations+START(i),localblocklength);
data/nauty-2.7r1+ds/watercluster2.c:2214: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(remember_operations[iterationdepth],operations,localblocklength*number_operations);
data/nauty-2.7r1+ds/watercluster2.c:2284: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(rememberorbits[0],orbits,sizeof(nvector)*aantal_toppen);
data/nauty-2.7r1+ds/watercluster2.c:2365: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(g,staticg,aantal_toppen*sizeof(graph));
data/nauty-2.7r1+ds/watercluster2.c:2393: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(g,staticg,aantal_toppen*sizeof(graph));
data/nauty-2.7r1+ds/watercluster2.c:2446: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(g,staticg,aantal_toppen*sizeof(graph));
data/nauty-2.7r1+ds/watercluster2.c:2475: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(g,staticg,aantal_toppen*sizeof(graph));
data/nauty-2.7r1+ds/watercluster2.c:2868:8:  [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(buffergraph,workg,aantal_toppen*sizeof(graph));
data/nauty-2.7r1+ds/watercluster2.c:2879:8:  [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(workg,buffergraph,aantal_toppen*sizeof(graph));
data/nauty-2.7r1+ds/watercluster2.c:2887: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(bufferlab,lab[nextstep_depth],aantal_toppen*sizeof(nvector));
data/nauty-2.7r1+ds/watercluster2.c:2888: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(bufferptn,ptn[nextstep_depth],aantal_toppen*sizeof(nvector));
data/nauty-2.7r1+ds/watercluster2.c:2917: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(colour[nextstep_depth],orbits,aantal_toppen*sizeof(nvector));
data/nauty-2.7r1+ds/watercluster2.c:2994: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(bufferlab,lab[nextstep_depth],aantal_toppen*sizeof(nvector));
data/nauty-2.7r1+ds/watercluster2.c:2995: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(bufferptn,ptn[nextstep_depth],aantal_toppen*sizeof(nvector));
data/nauty-2.7r1+ds/watercluster2.c:3024: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(colour[nextstep_depth],orbits,aantal_toppen*sizeof(nvector));
data/nauty-2.7r1+ds/watercluster2.c:3098:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(bufferlab,lab[nextstep_depth],aantal_toppen*sizeof(nvector));
data/nauty-2.7r1+ds/watercluster2.c:3099:2:  [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(bufferptn,ptn[nextstep_depth],aantal_toppen*sizeof(nvector));
data/nauty-2.7r1+ds/watercluster2.c:3187: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(bufferlab,lab[nextstep_depth],aantal_toppen*sizeof(nvector));
data/nauty-2.7r1+ds/watercluster2.c:3188: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(bufferptn,ptn[nextstep_depth],aantal_toppen*sizeof(nvector));
data/nauty-2.7r1+ds/watercluster2.c:3506: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(bufferlab,lab[nextstep_depth],aantal_toppen*sizeof(nvector));
data/nauty-2.7r1+ds/watercluster2.c:3507: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(bufferptn,ptn[nextstep_depth],aantal_toppen*sizeof(nvector));
data/nauty-2.7r1+ds/watercluster2.c:3708: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(g,globalg,n*sizeof(graph));
data/nauty-2.7r1+ds/watercluster2.c:3709: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(deg,globaldeg,n*sizeof(int));
data/nauty-2.7r1+ds/watercluster2.c:3779: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(workg,g,n*sizeof(graph));
data/nauty-2.7r1+ds/watercluster2.c:3871: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(colour[0],orbits,aantal_toppen*sizeof(nvector));
data/nauty-2.7r1+ds/watercluster2.c:3980: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(workg,staticg,sizeof(graph)*aantal_toppen);
data/nauty-2.7r1+ds/watercluster2.c:4076:37:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      if (argv[i][0]=='i') maxindeg=atoi(argv[i]+1);
data/nauty-2.7r1+ds/watercluster2.c:4077:44:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      else  if (argv[i][0]=='o') maxoutdeg=atoi(argv[i]+1);
data/nauty-2.7r1+ds/amtog.c:166:12:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    while (fscanf(infile,"%1s",s) == 1)
data/nauty-2.7r1+ds/amtog.c:207:21:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
                if (fscanf(infile,"%1s",s) != 1)
data/nauty-2.7r1+ds/bliss2dre.c:32:9:  [1] (buffer) scanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
    if (scanf("%1s",s) != 1) return EOF;
data/nauty-2.7r1+ds/bliss2dre.c:54:18:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    while ((c = getchar()) != '\n' && c != EOF) putchar(c);
data/nauty-2.7r1+ds/blisstog.c:40:51:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		while (((gzgets(f,buffer,BUFSIZE)) != NULL) && (strlen(buffer) < (BUFSIZE-1)))
data/nauty-2.7r1+ds/blisstog.c:100:11:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	else if (strlen(buffer) == (BUFSIZE-1))
data/nauty-2.7r1+ds/catg.c:49:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    c = getc(f);
data/nauty-2.7r1+ds/catg.c:55:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = getc(f);
data/nauty-2.7r1+ds/catg.c:66:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            c = getc(f);
data/nauty-2.7r1+ds/directg.c:639:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        msglen = strlen(msg);
data/nauty-2.7r1+ds/directg.c:640:35:  [1] (buffer) strlen:
  Does not handle 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 (argnum > 0) msglen += strlen(infilename);
data/nauty-2.7r1+ds/directg.c:641:35:  [1] (buffer) strlen:
  Does not handle 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 (argnum > 1) msglen += strlen(outfilename);
data/nauty-2.7r1+ds/dreadnaut.c:383:49:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
    int i,j,k,worksize,numcells,savednc,refcode,umask,qinvar;
data/nauty-2.7r1+ds/dreadnaut.c:685:18:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if ((c = getc(INFILE)) == EOF || c == '\004')
data/nauty-2.7r1+ds/dreadnaut.c:752:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if ((d = getc(INFILE)) != '>') ungetc(d,INFILE);
data/nauty-2.7r1+ds/dreadnaut.c:792:21:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                c = getc(INFILE);
data/nauty-2.7r1+ds/dreadnaut.c:870:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    if ((d = getc(INFILE)) != '&') ungetc(d,INFILE);
data/nauty-2.7r1+ds/dreadnaut.c:978:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if ((d = getc(INFILE)) != '_') ungetc(d,INFILE);
data/nauty-2.7r1+ds/dreadnaut.c:1049:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if ((d = getc(INFILE)) != '#') ungetc(d,INFILE);
data/nauty-2.7r1+ds/dreadnaut.c:1131:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if ((d = getc(INFILE)) != 'v') ungetc(d,INFILE);
data/nauty-2.7r1+ds/dreadnaut.c:1215:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    d = getc(INFILE);
data/nauty-2.7r1+ds/dreadnaut.c:1590:25:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
                    if (umask & U_NODE)  options.usernodeproc = NODEPROC;
data/nauty-2.7r1+ds/dreadnaut.c:1592:25:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
                    if (umask & U_AUTOM) options.userautomproc = AUTOMPROC;
data/nauty-2.7r1+ds/dreadnaut.c:1594:25:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
                    if (umask & U_LEVEL) options.userlevelproc = LEVELPROC;
data/nauty-2.7r1+ds/dreadnaut.c:1596:25:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
                    if (umask & U_REF)   options.userrefproc = REFPROC;
data/nauty-2.7r1+ds/dreadnaut.c:1598:25:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
                    if (umask & U_CANON) options.usercanonproc = CANONPROC;
data/nauty-2.7r1+ds/dreadnaut.c:1663:25:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
                    if (umask & U_NODE)  options_sg.usernodeproc = NODEPROC;
data/nauty-2.7r1+ds/dreadnaut.c:1665:25:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
                    if (umask & U_AUTOM) options_sg.userautomproc = AUTOMPROC;
data/nauty-2.7r1+ds/dreadnaut.c:1667:25:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
                    if (umask & U_LEVEL) options_sg.userlevelproc = LEVELPROC;
data/nauty-2.7r1+ds/dreadnaut.c:1669:25:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
                    if (umask & U_REF)   options_sg.userrefproc = REFPROC;
data/nauty-2.7r1+ds/dreadnaut.c:1671:25:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
                    if (umask & U_CANON) options_sg.usercanonproc = CANONPROC;
data/nauty-2.7r1+ds/dreadnaut.c:1780:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    d = getc(INFILE);
data/nauty-2.7r1+ds/dreadnaut.c:1790:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    if ((d = getc(INFILE)) != '+')
data/nauty-2.7r1+ds/dreadnaut.c:1834:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if ((d = getc(INFILE)) != 'F') ungetc(d,INFILE);
data/nauty-2.7r1+ds/dreadnaut.c:1934:21:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
                if (umask < 0) umask = ~U_TCELL;
data/nauty-2.7r1+ds/dreadnaut.c:1936:17:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
            if (umask & U_TCELL)
data/nauty-2.7r1+ds/dreadnaut.c:1939:3:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
		umask &= ~U_TCELL;
data/nauty-2.7r1+ds/dreadnaut.c:1956:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if ((d = getc(INFILE)) != 'O') ungetc(d,INFILE);
data/nauty-2.7r1+ds/dreadnaut.c:2127:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if ((d = getc(INFILE)) == '/')
data/nauty-2.7r1+ds/dreadnaut.c:2266:12:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if ((d = getc(INFILE)) != 'P') ungetc(d,INFILE);
data/nauty-2.7r1+ds/dreadnaut.c:2284:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if ((d = getc(INFILE)) == '$')
data/nauty-2.7r1+ds/dreadnaut.c:2328:17:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
            if (umask & 31)
data/nauty-2.7r1+ds/dreadnaut.c:2329:41:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
                fprintf(outfile," u=%d",umask&31);
data/nauty-2.7r1+ds/dreadnaut.c:2372:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if ((d = getc(INFILE)) == '&')
data/nauty-2.7r1+ds/dretodot.c:117:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		strcpy(NShape[i].color, "\0");
data/nauty-2.7r1+ds/dretodot.c:118:3:  [1] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant character.
		strcpy(aux, "\0");
data/nauty-2.7r1+ds/dretodot.c:371:9:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	while (fscanf(infile, "%1s", s) == 1)
data/nauty-2.7r1+ds/dretodot.c:375:17:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
            if (fscanf(infile, "%1s", s) == 1 && s[0] != '=')
data/nauty-2.7r1+ds/dretodot.c:387:25:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            while ((c = getc(infile)) != '"' && c != EOF) {}
data/nauty-2.7r1+ds/dretodot.c:391:25:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            while ((c = getc(infile)) != '\n' && c != EOF) {}
data/nauty-2.7r1+ds/dretodot.c:395:25:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if ((s[0] = getc(infile)) == '$')
data/nauty-2.7r1+ds/dretodot.c:505: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(model, "\0");
data/nauty-2.7r1+ds/dretog.c:151:9:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
	while (fscanf(infile,"%1s",s) == 1)
data/nauty-2.7r1+ds/dretog.c:155:7:  [1] (buffer) fscanf:
  It's unclear if the %s limit in the format string is small enough
  (CWE-120). Check that the limit is sufficiently small, or use a different
  input function.
		if (fscanf(infile,"%1s",s) == 1 && s[0] != '=')
data/nauty-2.7r1+ds/dretog.c:169:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		while ((c = getc(infile)) != '"' && c != EOF) {}
data/nauty-2.7r1+ds/dretog.c:173:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		while ((c = getc(infile)) != '\n' && c != EOF) {}
data/nauty-2.7r1+ds/dretog.c:177:21:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		if ((s[0] = (char)getc(infile)) == '$')
data/nauty-2.7r1+ds/genbg.c:1652:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (strlen(argv[0]) > 75)
data/nauty-2.7r1+ds/geng.c:2287:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (strlen(argv[0]) > 75)
data/nauty-2.7r1+ds/genquarticg.c:1465:13:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        if (strlen(argv[0]) > 75) fprintf(stderr,">A %s",argv[0]);
data/nauty-2.7r1+ds/gentourng.c:1362: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).
	    if (strlen(argv[0]) > 75)
data/nauty-2.7r1+ds/gentreeg.c:551: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).
	    if (strlen(argv[0]) > 75)
data/nauty-2.7r1+ds/gtools.c:361: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).
    slen = strlen(s);
data/nauty-2.7r1+ds/multig.c:739:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        msglen = strlen(msg);
data/nauty-2.7r1+ds/multig.c:740:35:  [1] (buffer) strlen:
  Does not handle 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 (argnum > 0) msglen += strlen(infilename);
data/nauty-2.7r1+ds/multig.c:741:35:  [1] (buffer) strlen:
  Does not handle 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 (argnum > 1) msglen += strlen(outfilename);
data/nauty-2.7r1+ds/naututil.c:109:27:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define GETNW(c,f) do c = getc(f); while (c==' '||c=='\t')
data/nauty-2.7r1+ds/naututil.c:110:28:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define GETNWC(c,f) do c = getc(f); while (c==' '||c==','||c=='\t')
data/nauty-2.7r1+ds/naututil.c:111:28:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define GETNWL(c,f) do c = getc(f); while (c==' '||c=='\n'||c=='\t')
data/nauty-2.7r1+ds/naututil.c:113:27:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define GETNW(c,f) do c = getc(f); while (c==' '||c=='\t'||c=='\r')
data/nauty-2.7r1+ds/naututil.c:114:28:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define GETNWC(c,f) do c = getc(f); while (c==' '||c==','||c=='\t'||c=='\r')
data/nauty-2.7r1+ds/naututil.c:115:28:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#define GETNWL(c,f) do c = getc(f); while (c==' '||c=='\n'||c=='\t'||c=='\r')
data/nauty-2.7r1+ds/naututil.c:200:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((c = getc(f)) != EOF && c != '\n')
data/nauty-2.7r1+ds/naututil.c:235:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    c = getc(f);
data/nauty-2.7r1+ds/naututil.c:240:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = getc(f);
data/nauty-2.7r1+ds/naututil.c:272:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    c = getc(f);
data/nauty-2.7r1+ds/naututil.c:277:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = getc(f);
data/nauty-2.7r1+ds/naututil.c:314:6:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	c = getc(f);
data/nauty-2.7r1+ds/naututil.c:318:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            c = getc(f);
data/nauty-2.7r1+ds/naututil.c:325:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = getc(f);
data/nauty-2.7r1+ds/naututil.c:329:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            c = getc(f);
data/nauty-2.7r1+ds/naututil.c:597:25:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    c = getc(f);
data/nauty-2.7r1+ds/naututil.c:819:25:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    c = getc(f);
data/nauty-2.7r1+ds/naututil.c:1071:25:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                    c = getc(f);
data/nauty-2.7r1+ds/naututil.c:2498:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((c = getc(fin)) != EOF && (c != delimiter || backslash))
data/nauty-2.7r1+ds/showg.c:364:18:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    firstc = c = getc(f);
data/nauty-2.7r1+ds/showg.c:379:18:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if ((c = getc(f)) == EOF || c != '>')
data/nauty-2.7r1+ds/showg.c:382:23:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                ((c = getc(f)) == EOF || (c != 'g' && c != 's')))
data/nauty-2.7r1+ds/showg.c:386:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if ((c = getc(f)) == EOF || c != 'r' ||
data/nauty-2.7r1+ds/showg.c:387:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                (c = getc(f)) == EOF || c != 'a' ||
data/nauty-2.7r1+ds/showg.c:388:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                (c = getc(f)) == EOF || c != 'p' ||
data/nauty-2.7r1+ds/showg.c:389:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                (c = getc(f)) == EOF || c != 'h' ||
data/nauty-2.7r1+ds/showg.c:390:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                (c = getc(f)) == EOF || c != '6' ||
data/nauty-2.7r1+ds/showg.c:391:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                (c = getc(f)) == EOF || c != '<' ||
data/nauty-2.7r1+ds/showg.c:392:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                (c = getc(f)) == EOF || c != '<')
data/nauty-2.7r1+ds/showg.c:399:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if ((c = getc(f)) == EOF || c != 'i' ||
data/nauty-2.7r1+ds/showg.c:400:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                (c = getc(f)) == EOF || c != 'g' ||
data/nauty-2.7r1+ds/showg.c:401:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                (c = getc(f)) == EOF || c != 'r' ||
data/nauty-2.7r1+ds/showg.c:402:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                (c = getc(f)) == EOF || c != 'a' ||
data/nauty-2.7r1+ds/showg.c:403:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                (c = getc(f)) == EOF || c != 'p' ||
data/nauty-2.7r1+ds/showg.c:404:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                (c = getc(f)) == EOF || c != 'h' ||
data/nauty-2.7r1+ds/showg.c:405:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                (c = getc(f)) == EOF || c != '6' ||
data/nauty-2.7r1+ds/showg.c:406:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                (c = getc(f)) == EOF || c != '<' ||
data/nauty-2.7r1+ds/showg.c:407:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                (c = getc(f)) == EOF || c != '<')
data/nauty-2.7r1+ds/showg.c:414:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if ((c = getc(f)) == EOF || c != 'p' ||
data/nauty-2.7r1+ds/showg.c:415:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                (c = getc(f)) == EOF || c != 'a' ||
data/nauty-2.7r1+ds/showg.c:416:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                (c = getc(f)) == EOF || c != 'r' ||
data/nauty-2.7r1+ds/showg.c:417:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                (c = getc(f)) == EOF || c != 's' ||
data/nauty-2.7r1+ds/showg.c:418:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                (c = getc(f)) == EOF || c != 'e' ||
data/nauty-2.7r1+ds/showg.c:419:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                (c = getc(f)) == EOF || c != '6' ||
data/nauty-2.7r1+ds/showg.c:420:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                (c = getc(f)) == EOF || c != '<' ||
data/nauty-2.7r1+ds/showg.c:421:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                (c = getc(f)) == EOF || c != '<')
data/nauty-2.7r1+ds/showg.c:441:21:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        while ((c = getc(f)) != EOF)
data/nauty-2.7r1+ds/showg.c:465:26:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        for (i = 1; (c = getc(f)) != EOF && c != '\n'; ++i) {}
data/nauty-2.7r1+ds/showg.c:507:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while ((c = getc(f)) != EOF && c != '\n')
data/nauty-2.7r1+ds/sumlines.c:658: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).
    if ((new_node->fmt = (char*)malloc(strlen(fmt)+1)) == NULL)
data/nauty-2.7r1+ds/sumlines.c:1204:18:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if ((c = getc(f)) == EOF) break;
data/nauty-2.7r1+ds/sumlines.c:1206:43:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        while (c == ' ' || c == '\t') c = getc(f);
data/nauty-2.7r1+ds/sumlines.c:1212:47:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            while (c != '\n' && c != EOF) c = getc(f);
data/nauty-2.7r1+ds/sumlines.c:1222:25:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            while ((c = getc(f)) == ' '
data/nauty-2.7r1+ds/sumlines.c:1225:51:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                while (c != '\n' && c != EOF) c = getc(f);
data/nauty-2.7r1+ds/sumlines.c:1302:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
                            = (char*)malloc(strlen(line)+1)) == NULL)
data/nauty-2.7r1+ds/sumlines.c:1372:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        c = getc(f);
data/nauty-2.7r1+ds/vcolg.c:591:18:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        msglen = strlen(msg);
data/nauty-2.7r1+ds/vcolg.c:592:35:  [1] (buffer) strlen:
  Does not handle 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 (argnum > 0) msglen += strlen(infilename);
data/nauty-2.7r1+ds/vcolg.c:593:35:  [1] (buffer) strlen:
  Does not handle 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 (argnum > 1) msglen += strlen(outfilename);
data/nauty-2.7r1+ds/watercluster2.c:500:17:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
if ((knotenzahl=getc(fil))==EOF) return EOF;
data/nauty-2.7r1+ds/watercluster2.c:508:4:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	a=getc(fil);
data/nauty-2.7r1+ds/watercluster2.c:510:4:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	b=getc(fil);
data/nauty-2.7r1+ds/watercluster2.c:514:26:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	  { while ((ucharpuffer=getc(fil)) != '<') {}
data/nauty-2.7r1+ds/watercluster2.c:515:38:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    /* noch zweimal: */ ucharpuffer=getc(fil); 
data/nauty-2.7r1+ds/watercluster2.c:517:22:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	    if ((knotenzahl=getc(fil))==EOF) return EOF;
data/nauty-2.7r1+ds/watercluster2.c:534:25:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  { if (((*code)[codel]=getc(fil))==0) nuller++;

ANALYSIS SUMMARY:

Hits = 485
Lines analyzed = 78178 in approximately 2.08 seconds (37638 lines/second)
Physical Source Lines of Code (SLOC) = 57713
Hits@level = [0] 1869 [1] 133 [2] 262 [3]   4 [4]  86 [5]   0
Hits@level+ = [0+] 2354 [1+] 485 [2+] 352 [3+]  90 [4+]  86 [5+]   0
Hits/KSLOC@level+ = [0+] 40.788 [1+] 8.40365 [2+] 6.09915 [3+] 1.55944 [4+] 1.49013 [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.