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/bsdmainutils-12.1.7/freebsd.h Examining data/bsdmainutils-12.1.7/usr.bin/calendar/calendar.c Examining data/bsdmainutils-12.1.7/usr.bin/calendar/calendar.h Examining data/bsdmainutils-12.1.7/usr.bin/calendar/day.c Examining data/bsdmainutils-12.1.7/usr.bin/calendar/io.c Examining data/bsdmainutils-12.1.7/usr.bin/calendar/ostern.c Examining data/bsdmainutils-12.1.7/usr.bin/calendar/paskha.c Examining data/bsdmainutils-12.1.7/usr.bin/calendar/pathnames.h Examining data/bsdmainutils-12.1.7/usr.bin/calendar/pesach.c Examining data/bsdmainutils-12.1.7/usr.bin/ncal/calendar.c Examining data/bsdmainutils-12.1.7/usr.bin/ncal/calendar.h Examining data/bsdmainutils-12.1.7/usr.bin/ncal/easter.c Examining data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c FINAL RESULTS: data/bsdmainutils-12.1.7/usr.bin/calendar/io.c:364:3: [4] (shell) execl: 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. execl(_PATH_CPP, "cpp", "-traditional", "-undef", "-U__GNUC__", data/bsdmainutils-12.1.7/usr.bin/calendar/io.c:410:3: [4] (shell) execl: 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. execl(_PATH_SENDMAIL, "sendmail", "-i", "-t", "-F", data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:534: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(FSTR" "FSTR"\n", FSTRARG(p), FSTRARG(p+m)); data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:536: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(FSTR"\n", FSTRARG(p)); data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:646:5: [4] (format) swprintf: Potential format string problem (CWE-134). Make format string constant. swprintf(ws, sizeof(ws)/sizeof(ws[0]), data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:1059:2: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(s, "%.*s%s", (int)(w - strlen(t)) / 2, blanks, t); data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:1070:2: [4] (format) swprintf: Potential format string problem (CWE-134). Make format string constant. swprintf(s, MAX_WIDTH, L"%.*s%ls", (int)(w - wcslen(t)) / 2, blanks, t); data/bsdmainutils-12.1.7/usr.bin/calendar/calendar.c:78:15: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ((ch = getopt(argc, argv, "abwf:t:A:B:-")) != -1) data/bsdmainutils-12.1.7/usr.bin/calendar/calendar.c:259:23: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. } else if ((caldir = getenv("CALENDAR_DIR")) != NULL) { data/bsdmainutils-12.1.7/usr.bin/calendar/io.c:323:17: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. char *home = getenv("HOME"); data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:261:15: [3] (buffer) getopt: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ((ch = getopt(argc, argv, "3A:B:Cd:eH:hjJm:Nops:wy")) != -1) data/bsdmainutils-12.1.7/usr.bin/calendar/calendar.h:52: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 print_date[PRINT_DATE_BASE_LEN+1]; data/bsdmainutils-12.1.7/usr.bin/calendar/calendar.h:60: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 print_date[PRINT_DATE_BASE_LEN]; data/bsdmainutils-12.1.7/usr.bin/calendar/day.c:54: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 dayname[10]; data/bsdmainutils-12.1.7/usr.bin/calendar/day.c:91: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 buf[80]; data/bsdmainutils-12.1.7/usr.bin/calendar/day.c:208:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). tm.tm_mday = atoi(date + len - 2); data/bsdmainutils-12.1.7/usr.bin/calendar/day.c:213:15: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). tm.tm_mon = atoi(date + len - 4) - 1; data/bsdmainutils-12.1.7/usr.bin/calendar/day.c:219:16: [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). tm.tm_year = atoi(date); data/bsdmainutils-12.1.7/usr.bin/calendar/day.c:428: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(&tmtmp, tp, sizeof(struct tm)); data/bsdmainutils-12.1.7/usr.bin/calendar/day.c:493: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(&tmtmp, tp, sizeof(struct tm)); data/bsdmainutils-12.1.7/usr.bin/calendar/day.c:635:13: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). return(atoi(s + offset - 2)); data/bsdmainutils-12.1.7/usr.bin/calendar/io.c:71: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 buf[2048 + 1], *prefix = NULL, *p; data/bsdmainutils-12.1.7/usr.bin/calendar/io.c:320:14: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((fdin = open(calendarFile, O_RDONLY)) == -1 || data/bsdmainutils-12.1.7/usr.bin/calendar/io.c:328:16: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). (fdin = open(calendarFile, O_RDONLY)) != -1)) data/bsdmainutils-12.1.7/usr.bin/calendar/io.c:338:10: [2] (race) vfork: On some old systems, vfork() permits race conditions, and it's very difficult to use correctly (CWE-362). Use fork() instead. switch (vfork()) { data/bsdmainutils-12.1.7/usr.bin/calendar/io.c:358:12: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fderr = open(_PATH_DEVNULL, O_WRONLY, 0); data/bsdmainutils-12.1.7/usr.bin/calendar/io.c:379:9: [2] (tmpfile) tmpfile: Function tmpfile() has a security flaw on some systems (e.g., older System V systems) (CWE-377). return(tmpfile()); data/bsdmainutils-12.1.7/usr.bin/calendar/io.c:387: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 buf[1024]; data/bsdmainutils-12.1.7/usr.bin/calendar/io.c:398:17: [2] (race) vfork: On some old systems, vfork() permits race conditions, and it's very difficult to use correctly (CWE-362). Use fork() instead. switch ((pid = vfork())) { data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:61:2: [2] (buffer) wchar_t: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. wchar_t name[MAX_WIDTH + 1]; data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:62: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 lines[7][MAX_WIDTH + 1]; data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:63: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 weeks[MAX_WIDTH + 1]; data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:68:2: [2] (buffer) wchar_t: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. wchar_t names[7][4]; data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:366:7: [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). y = atoi(*argv); data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:545: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 buf[MAX_WIDTH]; data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:590: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[MAX_WIDTH], t[MAX_WIDTH]; data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:591:2: [2] (buffer) wchar_t: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. wchar_t ws[MAX_WIDTH], ws1[MAX_WIDTH]; data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:635: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(s, "%d", M2Y(m)); data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:680: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[MAX_WIDTH], t[MAX_WIDTH]; data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:722: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(s, "%d", M2Y(m)); data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:833:6: [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(mlines->lines[i] + k + l, data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:836: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(mlines->lines[i] + k + l, " ", dw); data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:848: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(mlines->weeks + k, data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:937:6: [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(mlines->lines[i] + k + l, data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:940: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(mlines->lines[i] + k + l, " ", dw); data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:956:2: [2] (buffer) wchar_t: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. wchar_t buf[20]; data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:1056: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 blanks[MAX_WIDTH]; data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:1067: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 blanks[MAX_WIDTH]; data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:1114: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 cbuf[512]; data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:1115: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 tbuf[1024], *b; data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:1134: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(dst, src, len); data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:1146: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(dst, term_so, strlen(term_so)); data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:1151: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(dst, src, len); data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:1154: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(dst, term_se, strlen(term_se)); data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:1171: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(dst, "_\010", 2); data/bsdmainutils-12.1.7/usr.bin/calendar/day.c:104: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). ndays[i].len = strlen(buf); data/bsdmainutils-12.1.7/usr.bin/calendar/day.c:113:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fndays[i].len = strlen(buf); data/bsdmainutils-12.1.7/usr.bin/calendar/day.c:125:20: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). nmonths[i].len = strlen(buf); data/bsdmainutils-12.1.7/usr.bin/calendar/day.c:134:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). fnmonths[i].len = strlen(buf); data/bsdmainutils-12.1.7/usr.bin/calendar/day.c:193:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). len = strlen(date); data/bsdmainutils-12.1.7/usr.bin/calendar/day.c:626: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). offset = strlen(s); data/bsdmainutils-12.1.7/usr.bin/calendar/io.c:83:17: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((ch = getchar()) != '\n' && ch != EOF); data/bsdmainutils-12.1.7/usr.bin/calendar/io.c:84: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). for (l = strlen(buf); l > 0 && isspace(buf[l - 1]); l--) data/bsdmainutils-12.1.7/usr.bin/calendar/io.c:138:21: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). spev[i].ulen = strlen(p); data/bsdmainutils-12.1.7/usr.bin/calendar/io.c:419:42: [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). header[1].iov_len = header[3].iov_len = strlen(pw->pw_name); data/bsdmainutils-12.1.7/usr.bin/calendar/io.c:421:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while ((nread = read(fileno(fp), buf, sizeof(buf))) > 0) data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:252: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 (strncmp(basename(argv[0]), "cal", strlen("cal")) == 0) data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:734:14: [1] (buffer) wcslen: 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). mw - wcslen(year[i].name) - 1, M2Y(m + i)); data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:970:3: [1] (buffer) wcsncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or automatically resizing strings. wcsncat(wds->names[i], buf, len); data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:971:3: [1] (buffer) wcsncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, or automatically resizing strings. Risk is low because the source is a constant character. wcsncat(wds->names[i], L" ", 1); data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:1059:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). sprintf(s, "%.*s%s", (int)(w - strlen(t)) / 2, blanks, t); data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:1070:47: [1] (buffer) wcslen: 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). swprintf(s, MAX_WIDTH, L"%.*s%ls", (int)(w - wcslen(t)) / 2, blanks, t); data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:1146: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). memcpy(dst, term_so, strlen(term_so)); data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:1147: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). dst += strlen(term_so); data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:1154: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). memcpy(dst, term_se, strlen(term_se)); data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:1155: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). *extralen = strlen(term_so) + strlen(term_se); data/bsdmainutils-12.1.7/usr.bin/ncal/ncal.c:1155:33: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). *extralen = strlen(term_so) + strlen(term_se); ANALYSIS SUMMARY: Hits = 77 Lines analyzed = 3481 in approximately 0.14 seconds (24549 lines/second) Physical Source Lines of Code (SLOC) = 2361 Hits@level = [0] 32 [1] 22 [2] 44 [3] 4 [4] 7 [5] 0 Hits@level+ = [0+] 109 [1+] 77 [2+] 55 [3+] 11 [4+] 7 [5+] 0 Hits/KSLOC@level+ = [0+] 46.1669 [1+] 32.6133 [2+] 23.2952 [3+] 4.65904 [4+] 2.96485 [5+] 0 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.