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/boxshade-3.3.1/bx_types.h Examining data/boxshade-3.3.1/dv_all.h Examining data/boxshade-3.3.1/dv_crt.c Examining data/boxshade-3.3.1/version.h Examining data/boxshade-3.3.1/bx_read.h Examining data/boxshade-3.3.1/dv_ansi.c Examining data/boxshade-3.3.1/dv_ascii.c Examining data/boxshade-3.3.1/dv_fig.c Examining data/boxshade-3.3.1/dv_hpgl.c Examining data/boxshade-3.3.1/dv_html.c Examining data/boxshade-3.3.1/dv_lj250.c Examining data/boxshade-3.3.1/dv_pict.c Examining data/boxshade-3.3.1/dv_ps.c Examining data/boxshade-3.3.1/dv_regis.c Examining data/boxshade-3.3.1/dv_rtf.c Examining data/boxshade-3.3.1/bx_misc.c Examining data/boxshade-3.3.1/bx_read.c Examining data/boxshade-3.3.1/box.c FINAL RESULTS: data/boxshade-3.3.1/box.c:170:3: [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(C_SEP "help show this text\n"); data/boxshade-3.3.1/box.c:171:3: [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(C_SEP "check show this text and extend command line\n"); data/boxshade-3.3.1/box.c:172:3: [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(C_SEP "def use defaults, no unnecessary questions\n"); data/boxshade-3.3.1/box.c:173:3: [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(C_SEP "numdef use default numbering\n"); data/boxshade-3.3.1/box.c:174:3: [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(C_SEP "dna assume DNA sequences, use box_dna.par\n"); data/boxshade-3.3.1/box.c:175:3: [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(C_SEP "split create separate files for multiple pages\n"); data/boxshade-3.3.1/box.c:176:3: [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(C_SEP "toseq=xxx shading according to sequence No. xxx\n"); data/boxshade-3.3.1/box.c:177:3: [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(C_SEP "in=xxxxx xxxxx is input file name\n"); data/boxshade-3.3.1/box.c:178:3: [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(C_SEP "out=xxxxx xxxxx is output file name\n"); data/boxshade-3.3.1/box.c:179:3: [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(C_SEP "par=xxxxx xxxxx is parameter file name\n"); data/boxshade-3.3.1/box.c:180:3: [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(C_SEP "sim=xxxxx xxxxx is file name for similar residues def.\n"); data/boxshade-3.3.1/box.c:181:3: [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(C_SEP "grp=xxxxx xxxxx is file name for grouping residues def.\n"); data/boxshade-3.3.1/box.c:182:3: [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(C_SEP "thr=x x is the fraction of sequences that must agree" data/boxshade-3.3.1/box.c:184:3: [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(C_SEP "dev=x x is output device class (see documentation)\n"); data/boxshade-3.3.1/box.c:185:3: [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(C_SEP "type=x x is input file format (see documentation)\n"); data/boxshade-3.3.1/box.c:186:3: [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(C_SEP "ruler print ruler line\n"); data/boxshade-3.3.1/box.c:187:3: [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(C_SEP "cons create consensus line\n"); data/boxshade-3.3.1/box.c:188:3: [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(C_SEP "symbcons=xyz xyz are consensus symbols\n"); data/boxshade-3.3.1/box.c:189:3: [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(C_SEP "symbcons=\"xyz\" if the one above does not work, try this one\n"); data/boxshade-3.3.1/box.c:190:3: [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(C_SEP "unix output files lines are terminated with LF only\n"); data/boxshade-3.3.1/box.c:191:3: [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(C_SEP "mac output files lines are terminated with CR only\n"); data/boxshade-3.3.1/box.c:192:3: [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(C_SEP "dos output files lines are terminated with CRLF\n"); data/boxshade-3.3.1/box.c:259:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(cl, argv[idx]); data/boxshade-3.3.1/box.c:270:5: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(cl, explain_cl(cl) ); data/boxshade-3.3.1/box.c:382:3: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf(fn, template, DNAPEP()); data/boxshade-3.3.1/box.c:385:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(neu, fn); data/boxshade-3.3.1/box.c:386:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(fn, "%s%c", get_logical("BOXDIR"), d_sep); data/boxshade-3.3.1/box.c:387:3: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(fn, neu); data/boxshade-3.3.1/box.c:395: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(neu, fn); data/boxshade-3.3.1/box.c:408:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(parname, "box_%s.par", DNAPEP()); data/boxshade-3.3.1/box.c:410:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(parname, "%s%cbox_%s.par", data/boxshade-3.3.1/box.c:775:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(simname, "box_%s.sim", DNAPEP()); data/boxshade-3.3.1/box.c:776:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(grpname, "box_%s.grp", DNAPEP()); data/boxshade-3.3.1/box.c:778:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(simname, "%s%cbox_%s.sim", data/boxshade-3.3.1/box.c:792:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(grpname, "%s%cbox_%s.grp", data/boxshade-3.3.1/box.c:1324:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(seqname[i]+sl, "%*s", p, ""); data/boxshade-3.3.1/box.c:1335:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(prenum[i][j], "%*s", seqnumlen, ""); data/boxshade-3.3.1/box.c:1432:2: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(seqname[i - 1], seqname[i]); data/boxshade-3.3.1/bx_misc.c:42:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(binpath+sl-1, ap); data/boxshade-3.3.1/bx_misc.c:52:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(res, r); data/boxshade-3.3.1/bx_misc.c:57:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(res, binpath); /* exec path */ data/boxshade-3.3.1/bx_misc.c:105:5: [4] (format) vfprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. vfprintf(f->f, fmt, argptr); data/boxshade-3.3.1/bx_misc.c:122:10: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. cnt = vsprintf(uwb, fmt, argptr); data/boxshade-3.3.1/bx_misc.c:199:10: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). return strcpy(Result, s); data/boxshade-3.3.1/bx_misc.c:208:10: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). return strcpy(Result, s); data/boxshade-3.3.1/bx_misc.c:219:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(cl, P_argv[i]); data/boxshade-3.3.1/bx_misc.c:221:10: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). return strcpy(Result, cl); data/boxshade-3.3.1/bx_misc.c:228:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(s, s_); data/boxshade-3.3.1/bx_misc.c:230:10: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). return strcpy(Result, s); data/boxshade-3.3.1/bx_misc.c:245:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(fname, fname_); data/boxshade-3.3.1/bx_misc.c:284:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(tmpfile_NAME, tmpname); data/boxshade-3.3.1/bx_misc.c:404:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(STR1, "%s%c", (char[256])line, c); data/boxshade-3.3.1/bx_misc.c:405:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy((char *)(&line), STR1); data/boxshade-3.3.1/bx_misc.c:424:3: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(f_NAME, fname); data/boxshade-3.3.1/bx_read.c:87:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(emptytag, "%*s", seqnamelen, ""); data/boxshade-3.3.1/bx_read.c:115:2: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(nametag, emptytag); data/boxshade-3.3.1/bx_read.c:122:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(nametag, emptytag); data/boxshade-3.3.1/bx_read.c:130:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(seqname[no_seq - 1], emptytag); data/boxshade-3.3.1/bx_read.c:140:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(nametag, emptytag); data/boxshade-3.3.1/bx_read.c:227:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(emptytag, "%*s", blockstart, ""); data/boxshade-3.3.1/bx_read.c:254:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(seqname[0], tempname); data/boxshade-3.3.1/bx_read.c:264:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(seqname[no_seq - 1], tempname); data/boxshade-3.3.1/bx_read.c:336:7: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(seqname[i]+sl, "%*s", seqnamelen-sl, ""); data/boxshade-3.3.1/bx_read.c:354:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(emptytag, "%*s", seqnamelen, ""); data/boxshade-3.3.1/bx_read.c:367: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(seqname[no_seq - 1], emptytag); data/boxshade-3.3.1/bx_read.c:398:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(emptytag, "%*s", seqnamelen, ""); data/boxshade-3.3.1/bx_read.c:420: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(seqname[i], emptytag); data/boxshade-3.3.1/dv_hpgl.c:43:10: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. len = vsprintf(buf, fmt, argptr); data/boxshade-3.3.1/dv_ps.c:238:4: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(buf, fmt, arg_list); data/boxshade-3.3.1/dv_regis.c:114: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(regstr[2], regstr[0]); data/boxshade-3.3.1/dv_regis.c:122: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(regstr[3], regstr[1]); data/boxshade-3.3.1/bx_misc.c:50:7: [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. r = getenv(logical); data/boxshade-3.3.1/box.c:167:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char ncl[256]; data/boxshade-3.3.1/box.c:222: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 dummy[256]; data/boxshade-3.3.1/box.c:238: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 dummy[256]; data/boxshade-3.3.1/box.c:252: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 cl[500]; data/boxshade-3.3.1/box.c:404: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 instring[51]; data/boxshade-3.3.1/box.c:423: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). parfile = fopen(parname, TXT_RD); data/boxshade-3.3.1/box.c:568:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(instring, "%c", inputmode); data/boxshade-3.3.1/box.c:603:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(instring, "%c", outputmode); data/boxshade-3.3.1/box.c:869: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 instring[11]; data/boxshade-3.3.1/box.c:894: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 instring[11]; data/boxshade-3.3.1/box.c:980:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). simfile = fopen(simname, TXT_RD); data/boxshade-3.3.1/box.c:1005:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). grpfile = fopen(grpname, TXT_RD); data/boxshade-3.3.1/box.c:1336:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(prenum[i][0], "%*d", seqnumlen, startno[i]); data/boxshade-3.3.1/box.c:1347:4: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(prenum[i][bn-1], "%*d", seqnumlen, count + 1); data/boxshade-3.3.1/box.c:1416:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(seqname[cons_idx], "consensus"); data/boxshade-3.3.1/box.c:1434: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(seq[i - 1], seq[i], max_no_res * sizeof(char)); data/boxshade-3.3.1/box.c:1435: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(col[i - 1], col[i], max_no_res * sizeof(byte)); data/boxshade-3.3.1/box.c:1452:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char no[20]; data/boxshade-3.3.1/box.c:1456:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(no, "%d", j); data/boxshade-3.3.1/box.c:1460: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(&seq[ruler_idx][j-1], no, k); data/boxshade-3.3.1/bx_misc.c:13:1: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char depend_err[50] = ""; data/boxshade-3.3.1/bx_misc.c:48:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char res[300]; data/boxshade-3.3.1/bx_misc.c:70:7: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). f = fopen(fname, TXT_RD); data/boxshade-3.3.1/bx_misc.c:94:11: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). mf->f = fopen(fn, (mf->bin ? BIN_WR : TXT_WR)); data/boxshade-3.3.1/bx_misc.c:159:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(depend_err, "str2real"); data/boxshade-3.3.1/bx_misc.c:172:5: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(depend_err, "str2real"); data/boxshade-3.3.1/bx_misc.c:196:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char s[100]; data/boxshade-3.3.1/bx_misc.c:198:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(s, "%*d", dig, intg); data/boxshade-3.3.1/bx_misc.c:205:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char s[100]; data/boxshade-3.3.1/bx_misc.c:207:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(s, "%*.*f", dig1, dig2, rl); data/boxshade-3.3.1/bx_misc.c:238:9: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). FILE *tmpfile; data/boxshade-3.3.1/bx_misc.c:241: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 buf1[6144], buf2[6144]; data/boxshade-3.3.1/bx_misc.c:243: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 tmpfile_NAME[_FNSIZE]; data/boxshade-3.3.1/bx_misc.c:253:12: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). *f = tmpfile(); data/boxshade-3.3.1/bx_misc.c:262:12: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). *f = tmpfile(); data/boxshade-3.3.1/bx_misc.c:285:11: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). if (tmpfile != NULL) data/boxshade-3.3.1/bx_misc.c:286:39: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). tmpfile = freopen(tmpfile_NAME, "w", tmpfile); data/boxshade-3.3.1/bx_misc.c:288:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). tmpfile = fopen(tmpfile_NAME, "w"); data/boxshade-3.3.1/bx_misc.c:289:14: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). _SETIO(tmpfile != NULL, FileNotFound); data/boxshade-3.3.1/bx_misc.c:297:17: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). _SETIO(fprintf(tmpfile, "%s\n", line) >= 0, FileWriteError); data/boxshade-3.3.1/bx_misc.c:299:11: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). if (tmpfile != NULL) data/boxshade-3.3.1/bx_misc.c:300:9: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). fclose(tmpfile); data/boxshade-3.3.1/bx_misc.c:310:2: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(depend_err, "could not convert unix format"); data/boxshade-3.3.1/bx_misc.c:317:7: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). if (tmpfile != NULL) data/boxshade-3.3.1/bx_misc.c:318:12: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). fclose(tmpfile); data/boxshade-3.3.1/bx_misc.c:388:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char string1[2]; data/boxshade-3.3.1/bx_misc.c:395: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 STR1[256]; data/boxshade-3.3.1/bx_misc.c:421: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 f_NAME[_FNSIZE]; data/boxshade-3.3.1/bx_misc.c:428:9: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). f = fopen(f_NAME, "r"); data/boxshade-3.3.1/bx_read.c:84: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 nametag[41], emptytag[41]; data/boxshade-3.3.1/bx_read.c:89:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). infile = fopen(inname, TXT_RD); data/boxshade-3.3.1/bx_read.c:187:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char nametag[256], tempname[256]; data/boxshade-3.3.1/bx_read.c:188:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char emptytag[81]; data/boxshade-3.3.1/bx_read.c:193:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). infile = fopen( inname, TXT_RD); data/boxshade-3.3.1/bx_read.c:249:7: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(tempname + strlen(tempname), "%c", line_[i - 1]); data/boxshade-3.3.1/bx_read.c:351: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 emptytag[256]; data/boxshade-3.3.1/bx_read.c:355:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). infile = fopen(inname, TXT_RD); data/boxshade-3.3.1/bx_read.c:394: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 emptytag[256]; data/boxshade-3.3.1/bx_read.c:399:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). infile = fopen(inname, BIN_RD); data/boxshade-3.3.1/bx_read.c:447:12: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). infile = fopen(inname, TXT_RD); data/boxshade-3.3.1/bx_types.h:116:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char numtype[max_prenum_len]; data/boxshade-3.3.1/bx_types.h:119:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char linetype[256]; data/boxshade-3.3.1/bx_types.h:121:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char sseqnametype[41]; data/boxshade-3.3.1/bx_types.h:127:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char filenametype[256]; data/boxshade-3.3.1/bx_types.h:129:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char prestring[21]; data/boxshade-3.3.1/bx_types.h:131:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char txtstring[21]; data/boxshade-3.3.1/bx_types.h:133:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char parstringtype[6]; data/boxshade-3.3.1/bx_types.h:147:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char cltagtype[21]; data/boxshade-3.3.1/bx_types.h:149:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char cllinetype[256]; data/boxshade-3.3.1/bx_types.h:156:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. vextern char dummystring[81]; data/boxshade-3.3.1/bx_types.h:227:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. vextern char symbcons[3]; /*symbols for consensus*/ data/boxshade-3.3.1/dv_ansi.c:6: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 *pre[5]; data/boxshade-3.3.1/dv_ansi.c:15: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 instring[41]; data/boxshade-3.3.1/dv_ansi.c:50: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 parstring[6]; data/boxshade-3.3.1/dv_ascii.c:4: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 acs[5]; /*ASCII sprecific vars*/ data/boxshade-3.3.1/dv_ascii.c:15: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 instring[41]; data/boxshade-3.3.1/dv_ascii.c:43: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 parstring[6]; data/boxshade-3.3.1/dv_crt.c:20:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char instring[41]; data/boxshade-3.3.1/dv_crt.c:82: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 parstring[6]; data/boxshade-3.3.1/dv_fig.c:21:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char instring[51]; data/boxshade-3.3.1/dv_fig.c:110: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 parstring[6]; data/boxshade-3.3.1/dv_fig.c:111: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 instring[41]; data/boxshade-3.3.1/dv_hpgl.c:21: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 *hatches[HATCHES] = { "", "3,0.8,45", "4,0.8,0", "1" }; data/boxshade-3.3.1/dv_hpgl.c:37: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 buf[100]; data/boxshade-3.3.1/dv_hpgl.c:138: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 instring[41]; data/boxshade-3.3.1/dv_hpgl.c:213: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 parstring[6]; data/boxshade-3.3.1/dv_hpgl.c:214: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 instring[41]; data/boxshade-3.3.1/dv_html.c:65: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 instring[41]; data/boxshade-3.3.1/dv_html.c:127:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char parstring[6]; data/boxshade-3.3.1/dv_lj250.c:6: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 *pre[5]; data/boxshade-3.3.1/dv_lj250.c:15: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 instring[51]; data/boxshade-3.3.1/dv_lj250.c:52:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char parstring[6]; data/boxshade-3.3.1/dv_pict.c:47: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 StrFormat[8]; data/boxshade-3.3.1/dv_pict.c:48: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 StrFormat2[16]; data/boxshade-3.3.1/dv_pict.c:55:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char instring[41]; data/boxshade-3.3.1/dv_pict.c:139: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 parstring[6]; data/boxshade-3.3.1/dv_pict.c:140:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char instring[41]; data/boxshade-3.3.1/dv_pict.c:248:10: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). outf = fopen(outname, BIN_WR); data/boxshade-3.3.1/dv_ps.c:28: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 save_sb[MAXLEN+30]; data/boxshade-3.3.1/dv_ps.c:33: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 pscc[5]; data/boxshade-3.3.1/dv_ps.c:78: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 instring[41]; data/boxshade-3.3.1/dv_ps.c:140:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char parstring[6]; data/boxshade-3.3.1/dv_ps.c:141: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 instring[41]; data/boxshade-3.3.1/dv_ps.c:283:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char s[20], *cp; data/boxshade-3.3.1/dv_ps.c:285:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(s, "%1.*f", nk, r); data/boxshade-3.3.1/dv_regis.c:10:9: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. typedef char regisstring[31]; data/boxshade-3.3.1/dv_regis.c:17: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 instring[51]; data/boxshade-3.3.1/dv_regis.c:40:15: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. case 'b': strcat(regstr, "S(I(D));"); break; data/boxshade-3.3.1/dv_regis.c:41:15: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. case 'w': strcat(regstr, "S(I(W));"); break; data/boxshade-3.3.1/dv_regis.c:42:15: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. case 'l': strcat(regstr, "S(I(B));"); break; data/boxshade-3.3.1/dv_regis.c:43:15: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. case 'g': strcat(regstr, "S(I(G));"); break; data/boxshade-3.3.1/dv_regis.c:44:15: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. case 'r': strcat(regstr, "S(I(R));"); break; data/boxshade-3.3.1/dv_regis.c:45:15: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. case 'c': strcat(regstr, "S(I(C));"); break; data/boxshade-3.3.1/dv_regis.c:46:15: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. case 'm': strcat(regstr, "S(I(M));"); break; data/boxshade-3.3.1/dv_regis.c:47:15: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. case 'y': strcat(regstr, "S(I(Y));"); break; data/boxshade-3.3.1/dv_regis.c:48:15: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. case '1': strcat(regstr, "S(I(H0L80S0));"); break; data/boxshade-3.3.1/dv_regis.c:49:15: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. case '2': strcat(regstr, "S(I(H0L60S0));"); break; data/boxshade-3.3.1/dv_regis.c:50:15: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. case '3': strcat(regstr, "S(I(H0L40S0));"); break; data/boxshade-3.3.1/dv_regis.c:51:15: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. case '4': strcat(regstr, "S(I(H0L20S0));"); break; data/boxshade-3.3.1/dv_regis.c:76:15: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. case 'b': strcat(regstr, "W(I(D));"); break; data/boxshade-3.3.1/dv_regis.c:77:15: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. case 'w': strcat(regstr, "W(I(W));"); break; data/boxshade-3.3.1/dv_regis.c:78:15: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. case 'l': strcat(regstr, "W(I(B));"); break; data/boxshade-3.3.1/dv_regis.c:79:15: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. case 'g': strcat(regstr, "W(I(G));"); break; data/boxshade-3.3.1/dv_regis.c:80:15: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. case 'r': strcat(regstr, "W(I(R));"); break; data/boxshade-3.3.1/dv_regis.c:81:15: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. case 'c': strcat(regstr, "W(I(C));"); break; data/boxshade-3.3.1/dv_regis.c:82:15: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. case 'm': strcat(regstr, "W(I(M));"); break; data/boxshade-3.3.1/dv_regis.c:83:15: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. case 'y': strcat(regstr, "W(I(Y));"); break; data/boxshade-3.3.1/dv_regis.c:85:15: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. case '5': strcat(regstr, "W(I(H0L80S0));"); break; data/boxshade-3.3.1/dv_regis.c:87:15: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. case '6': strcat(regstr, "W(I(H0L60S0));"); break; data/boxshade-3.3.1/dv_regis.c:89:15: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. case '7': strcat(regstr, "W(I(H0L40S0));"); break; data/boxshade-3.3.1/dv_regis.c:91:15: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. case '8': strcat(regstr, "W(I(H0L20S0));"); break; data/boxshade-3.3.1/dv_regis.c:98:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char parstring[6]; data/boxshade-3.3.1/dv_regis.c:125:3: [2] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Risk is low because the source is a constant string. strcpy(regstr[4], "S(I(W));W(I(D));"); data/boxshade-3.3.1/dv_rtf.c:17: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 instring[41]; data/boxshade-3.3.1/dv_rtf.c:86: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 parstring[6]; data/boxshade-3.3.1/dv_rtf.c:87: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 instring[41]; data/boxshade-3.3.1/box.c:209:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p = cl + p1 + strlen(tag) - 1; data/boxshade-3.3.1/box.c:225:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p = cl + p1 + strlen(tag) - 1; data/boxshade-3.3.1/box.c:241:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). p = cl + p1 + strlen(tag) - 1; data/boxshade-3.3.1/box.c:260:5: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat(cl, " "); data/boxshade-3.3.1/box.c:269:5: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat(cl, " "); data/boxshade-3.3.1/box.c:442:3: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getc(parfile); data/boxshade-3.3.1/box.c:454:3: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getc(parfile); data/boxshade-3.3.1/box.c:498:5: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getc(parfile); data/boxshade-3.3.1/box.c:658:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). while (strlen(instring) != 3) { data/boxshade-3.3.1/box.c:992:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). ll = strlen(line_); data/boxshade-3.3.1/box.c:1012:15: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if ((ll=strlen(line_)) < 2) continue; data/boxshade-3.3.1/box.c:1314:23: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). cp = seqname[i] + strlen(seqname[i]); data/boxshade-3.3.1/box.c:1317:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(seqname[i]) > seqname_outlen) data/boxshade-3.3.1/box.c:1318:24: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). seqname_outlen = strlen(seqname[i]); data/boxshade-3.3.1/box.c:1321:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int sl = strlen(seqname[i]); data/boxshade-3.3.1/box.c:1444: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(seqname[ruler_idx], ""); data/boxshade-3.3.1/box.c:1457:6: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). k = strlen(no); data/boxshade-3.3.1/bx_misc.c:31: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). int sl = strlen(arg0); data/boxshade-3.3.1/bx_misc.c:39:25: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). binpath = Malloc(sl + strlen(ap) ); data/boxshade-3.3.1/bx_misc.c:41:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(binpath, arg0, sl-1); data/boxshade-3.3.1/bx_misc.c:229:5: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). s[strlen(s) - 1] = '~'; data/boxshade-3.3.1/bx_misc.c:272:11: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc(*f); data/boxshade-3.3.1/bx_misc.c:400:9: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc(*f); data/boxshade-3.3.1/bx_misc.c:409:7: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getc(*f); data/boxshade-3.3.1/bx_misc.c:432:9: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getc(f); data/boxshade-3.3.1/bx_read.c:34:13: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int c = fgetc(f); data/boxshade-3.3.1/bx_read.c:56:13: [1] (buffer) fgetc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int c = fgetc(f); data/boxshade-3.3.1/bx_read.c:97: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). } while (strlen(line_) >= 5); data/boxshade-3.3.1/bx_read.c:101: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). } while (strlen(line_) <= 12); data/boxshade-3.3.1/bx_read.c:104: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 ((sl=strlen(line_)) > 12) { data/boxshade-3.3.1/bx_read.c:118:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(nametag, line_, taglen); data/boxshade-3.3.1/bx_read.c:157:34: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). while (seqstart + j - 1 <= strlen(line_)) { data/boxshade-3.3.1/bx_read.c:239:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(line_) < blockstart) data/boxshade-3.3.1/bx_read.c:249:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sprintf(tempname + strlen(tempname), "%c", line_[i - 1]); data/boxshade-3.3.1/bx_read.c:291:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(line_) >= blockstart) { data/boxshade-3.3.1/bx_read.c:316:61: [1] (buffer) strlen: Does not handle 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 (blockstart + j * (blocklen + blockdist) + k + 1 <= strlen(line_)) data/boxshade-3.3.1/bx_read.c:335: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 ((sl=strlen(seqname[i])) < seqnamelen) data/boxshade-3.3.1/bx_read.c:369: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). j = min(strlen(line_), seqnamelen); data/boxshade-3.3.1/bx_read.c:373:5: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getc(infile); /*seqstart, seqend*/ data/boxshade-3.3.1/bx_read.c:379: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). sl = strlen(line_); data/boxshade-3.3.1/bx_read.c:452:3: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getc(infile); data/boxshade-3.3.1/bx_read.c:459:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(seqname[i], line_, 10); data/boxshade-3.3.1/bx_read.c:463: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). sl = strlen(line_); data/boxshade-3.3.1/dv_ansi.c:132:3: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getchar(); data/boxshade-3.3.1/dv_ascii.c:29:7: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(instring) == 3) data/boxshade-3.3.1/dv_crt.c:149:3: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getchar(); data/boxshade-3.3.1/dv_fig.c:144:3: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getc(parfile); data/boxshade-3.3.1/dv_fig.c:146:3: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getc(parfile); data/boxshade-3.3.1/dv_hpgl.c:247:3: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getc(parfile); data/boxshade-3.3.1/dv_html.c:257:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). *xpos += strlen(s)*dev_xsize; data/boxshade-3.3.1/dv_pict.c:177:3: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getc(parfile); data/boxshade-3.3.1/dv_ps.c:181:3: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getc(parfile); data/boxshade-3.3.1/dv_ps.c:287:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). cp = s + strlen(s); data/boxshade-3.3.1/dv_ps.c:325:14: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). int sl = strlen(save_sb); data/boxshade-3.3.1/dv_ps.c:336: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). int sl = strlen(save_sb); data/boxshade-3.3.1/dv_regis.c:180:3: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getchar(); data/boxshade-3.3.1/dv_rtf.c:119:3: [1] (buffer) getc: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getc(parfile); ANALYSIS SUMMARY: Hits = 265 Lines analyzed = 5962 in approximately 0.24 seconds (24487 lines/second) Physical Source Lines of Code (SLOC) = 4936 Hits@level = [0] 222 [1] 57 [2] 136 [3] 1 [4] 71 [5] 0 Hits@level+ = [0+] 487 [1+] 265 [2+] 208 [3+] 72 [4+] 71 [5+] 0 Hits/KSLOC@level+ = [0+] 98.6629 [1+] 53.6872 [2+] 42.1394 [3+] 14.5867 [4+] 14.3841 [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.