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/flpsed-0.7.3/src/PSEditor.H Examining data/flpsed-0.7.3/src/PSEditModel.H Examining data/flpsed-0.7.3/src/PostscriptDSC.cxx Examining data/flpsed-0.7.3/src/PSEditText.cxx Examining data/flpsed-0.7.3/src/GsWidget.cxx Examining data/flpsed-0.7.3/src/PostscriptDSC.H Examining data/flpsed-0.7.3/src/PSEditText.H Examining data/flpsed-0.7.3/src/PSEditWidget.cxx Examining data/flpsed-0.7.3/src/GsWidget.H Examining data/flpsed-0.7.3/src/Postscript.cxx Examining data/flpsed-0.7.3/src/util.c Examining data/flpsed-0.7.3/src/PSEditor.cxx Examining data/flpsed-0.7.3/src/PSEditWidget.H Examining data/flpsed-0.7.3/src/PSEditModel.cxx Examining data/flpsed-0.7.3/src/util.h Examining data/flpsed-0.7.3/src/Postscript.H Examining data/flpsed-0.7.3/src/flpsed.cxx FINAL RESULTS: data/flpsed-0.7.3/src/GsWidget.cxx:301:2: [4] (shell) execvp: 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. execvp(argv[0], const_cast<char * const *>(argv)); data/flpsed-0.7.3/src/Postscript.cxx:233:23: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. If the scanf format is influenceable by an attacker, it's exploitable. } else if (inside && sscanf(line, PSEDIT_PAGE_FORMAT, &page) == 1) { data/flpsed-0.7.3/src/Postscript.cxx:235:23: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. If the scanf format is influenceable by an attacker, it's exploitable. } else if (inside && sscanf(line, PSEDIT_SIZE_FORMAT, &size) == 1) { data/flpsed-0.7.3/src/Postscript.cxx:238:23: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. If the scanf format is influenceable by an attacker, it's exploitable. } else if (inside && sscanf(line, PSEDIT_COLOR_FORMAT, &c.r, &c.g, &c.b) data/flpsed-0.7.3/src/Postscript.cxx:242:23: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. If the scanf format is influenceable by an attacker, it's exploitable. } else if (inside && sscanf(line, PSEDIT_POS_FORMAT, &x1, &y1) == 2) { data/flpsed-0.7.3/src/Postscript.cxx:245:23: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. If the scanf format is influenceable by an attacker, it's exploitable. } else if (inside && sscanf(line, PSEDIT_GLYPH_FORMAT, buf) == 1) { data/flpsed-0.7.3/src/Postscript.cxx:248:23: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. If the scanf format is influenceable by an attacker, it's exploitable. } else if (inside && sscanf(line, PSEDIT_TEXT_FORMAT_SCAN, buf) == 1) { data/flpsed-0.7.3/src/Postscript.cxx:251:23: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. If the scanf format is influenceable by an attacker, it's exploitable. } else if (inside && sscanf(line, PSEDIT_TAG_FORMAT, buf) == 1) { data/flpsed-0.7.3/src/Postscript.cxx:256:13: [4] (buffer) sscanf: The scanf() family's %s operation, without a limit specification, permits buffer overflows (CWE-120, CWE-20). Specify a limit to %s, or use a different input function. If the scanf format is influenceable by an attacker, it's exploitable. } else if (sscanf(line, PSEDIT_PAGE_MARKER, &dummy) == 1) { data/flpsed-0.7.3/src/Postscript.cxx:293:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out, PSEDIT_PAGE_MARKER, page++); data/flpsed-0.7.3/src/Postscript.cxx:341:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out, PSEDIT_PAGE_FORMAT, i); data/flpsed-0.7.3/src/Postscript.cxx:365:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out, glyph_format, glyph); data/flpsed-0.7.3/src/Postscript.cxx:373:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out, text_format, s1); data/flpsed-0.7.3/src/Postscript.cxx:379:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out, text_format, s); data/flpsed-0.7.3/src/Postscript.cxx:394:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out, size_format, t->get_size()); data/flpsed-0.7.3/src/Postscript.cxx:395:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out, color_format, data/flpsed-0.7.3/src/Postscript.cxx:399:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out, pos_format, t->get_x(), t->get_y()); data/flpsed-0.7.3/src/Postscript.cxx:401:4: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(out, tag_format, t->get_tag()); data/flpsed-0.7.3/src/flpsed.cxx:342:13: [4] (shell) popen: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. FILE *fp = popen(print_cmd, "w"); data/flpsed-0.7.3/src/util.c:47:3: [4] (shell) execvp: 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. execvp(file, argv); data/flpsed-0.7.3/src/flpsed.cxx:535:14: [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 ((c = getopt(argc, argv, "hdbt:z:g:d:f:i:s:")) != -1) { data/flpsed-0.7.3/src/GsWidget.cxx:41: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 data[512]; data/flpsed-0.7.3/src/GsWidget.cxx:111:11: [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). int fd = open(f, O_RDONLY); data/flpsed-0.7.3/src/GsWidget.cxx:260: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/flpsed-0.7.3/src/GsWidget.cxx:289: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 gvenv[256]; data/flpsed-0.7.3/src/GsWidget.cxx:290:15: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). int d_null = open("/dev/null", O_WRONLY); data/flpsed-0.7.3/src/PSEditModel.cxx:239: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 tmpname[256]; data/flpsed-0.7.3/src/PSEditModel.cxx:240: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 linebuf[1024]; data/flpsed-0.7.3/src/PSEditModel.cxx:246:11: [2] (tmpfile) mkstemp: Potential for temporary file vulnerability in some circumstances. Some older Unix-like systems create temp files with permission to write by all by default, so be sure to set the umask to override this. Also, some older Unix systems might fail to use O_EXCL when opening the file, so make sure that O_EXCL is used by the library (CWE-377). tmp_fd = mkstemp(tmpname); data/flpsed-0.7.3/src/PSEditor.cxx:118: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). fp = fopen(f, "r"); data/flpsed-0.7.3/src/PSEditor.cxx:154: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). fp = fopen(savefile, "w"); data/flpsed-0.7.3/src/PSEditor.cxx:168: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 linebuf[1024]; data/flpsed-0.7.3/src/PSEditor.cxx:175: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). fp = fopen(f, "r"); data/flpsed-0.7.3/src/Postscript.cxx:225: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[2028]; data/flpsed-0.7.3/src/Postscript.cxx:271: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 linebuf[1024]; data/flpsed-0.7.3/src/PostscriptDSC.cxx:36: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 linebuf[1024]; data/flpsed-0.7.3/src/PostscriptDSC.cxx:96:9: [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). p1 = atoi(p_str); data/flpsed-0.7.3/src/flpsed.cxx:114: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[128]; data/flpsed-0.7.3/src/flpsed.cxx:131: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). FILE *f = fopen(file, "r"); data/flpsed-0.7.3/src/flpsed.cxx:132: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[4] = {'\0'}; data/flpsed-0.7.3/src/flpsed.cxx:157: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. const char *args[5]; data/flpsed-0.7.3/src/flpsed.cxx:217: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. const char *args[5]; data/flpsed-0.7.3/src/flpsed.cxx:312: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(dot + 1, "ps"); data/flpsed-0.7.3/src/flpsed.cxx:399:20: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). psed_p->set_size(atoi(m->label())); data/flpsed-0.7.3/src/flpsed.cxx:427:17: [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). psed_p->zoom(atoi(m->label())); data/flpsed-0.7.3/src/flpsed.cxx:568: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). zoom_val = atoi(optarg); data/flpsed-0.7.3/src/flpsed.cxx:599: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). in_fp = fopen(my_argv[0], "r"); data/flpsed-0.7.3/src/flpsed.cxx:626:14: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). out_fp = fopen(my_argv[1], "w"); data/flpsed-0.7.3/src/GsWidget.cxx:60: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). (unsigned char*) data, strlen(data)); data/flpsed-0.7.3/src/GsWidget.cxx:68: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). (unsigned char*) data, strlen(data)); data/flpsed-0.7.3/src/GsWidget.cxx:269:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). r = read(from, buf, MIN(sizeof(buf), len)); data/flpsed-0.7.3/src/PSEditModel.cxx:245:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(tmpname, "/tmp/PSEditorXXXXXX", sizeof(tmpname)); data/flpsed-0.7.3/src/PSEditModel.cxx:257: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). ret = write(tmp_fd, linebuf, strlen(linebuf)); data/flpsed-0.7.3/src/PSEditModel.cxx:258: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). if (ret != (int) strlen(linebuf)) { data/flpsed-0.7.3/src/PSEditText.cxx:41: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). int len = (s?strlen(s):0) + strlen(s1) + 1; data/flpsed-0.7.3/src/PSEditText.cxx:41:30: [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 len = (s?strlen(s):0) + strlen(s1) + 1; data/flpsed-0.7.3/src/PSEditText.cxx:44:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(tmp, s?s:"", len); data/flpsed-0.7.3/src/PSEditText.cxx:45:2: [1] (buffer) strncat: Easily used incorrectly (e.g., incorrectly computing the correct maximum size to add) [MS-banned] (CWE-120). Consider strcat_s, strlcat, snprintf, or automatically resizing strings. strncat(tmp, s1, len - strlen(tmp)); data/flpsed-0.7.3/src/PSEditText.cxx:45: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). strncat(tmp, s1, len - strlen(tmp)); data/flpsed-0.7.3/src/PSEditText.cxx:55: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 (s && strlen(s) > 0) { data/flpsed-0.7.3/src/PSEditText.cxx:57:30: [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). t = (char*)fl_utf8back(s + strlen(s) - 1, s, s + strlen(s)); data/flpsed-0.7.3/src/PSEditText.cxx:57:52: [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). t = (char*)fl_utf8back(s + strlen(s) - 1, s, s + strlen(s)); data/flpsed-0.7.3/src/Postscript.cxx:199:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strncmp(glyph_char[i].c, c, strlen(glyph_char[i].c)) == 0) { data/flpsed-0.7.3/src/Postscript.cxx:277:36: [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). (strncmp(linebuf, "%%EndSetup", strlen("%%EndSetup")) == 0 || data/flpsed-0.7.3/src/Postscript.cxx:278:37: [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). strncmp(linebuf, "%%EndProlog", strlen("%%EndProlog")) == 0)) { data/flpsed-0.7.3/src/Postscript.cxx:287:39: [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). (strncmp(linebuf, "%%BeginProlog", strlen("%%BeginProlog")) == 0)) { data/flpsed-0.7.3/src/Postscript.cxx:292:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strncmp(linebuf, "%%Page:", strlen("%%Page:")) == 0) { data/flpsed-0.7.3/src/Postscript.cxx:351: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). fl_utf8decode(s, s + strlen(s), &len); data/flpsed-0.7.3/src/Postscript.cxx:362: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). if (strlen(s) == 0) { data/flpsed-0.7.3/src/Postscript.cxx:369: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). for(size_t i=0; i < strlen(s); i = i + utf8len(&(s[i]))) { data/flpsed-0.7.3/src/PostscriptDSC.cxx:78:35: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). strncmp(linebuf, "%%EndSetup", strlen("%%EndSetup")) == 0) { data/flpsed-0.7.3/src/PostscriptDSC.cxx:80:43: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). } else if (strncmp(linebuf, "%%Page: ", strlen("%%Page: ")) == 0) { data/flpsed-0.7.3/src/PostscriptDSC.cxx:81:27: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). char *p_str = &linebuf[strlen(linebuf)]; data/flpsed-0.7.3/src/flpsed.cxx:138:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (read < sizeof(buf) && !feof(f) && !ferror(f)) data/flpsed-0.7.3/src/flpsed.cxx:139:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read += fread(buf + read, 1, sizeof(buf) - read, f); data/flpsed-0.7.3/src/flpsed.cxx:139:46: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read += fread(buf + read, 1, sizeof(buf) - read, f); data/flpsed-0.7.3/src/flpsed.cxx:147: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). int title_len = strlen(file) + strlen(title_prefix) + 1; data/flpsed-0.7.3/src/flpsed.cxx:147: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). int title_len = strlen(file) + strlen(title_prefix) + 1; ANALYSIS SUMMARY: Hits = 78 Lines analyzed = 3372 in approximately 0.12 seconds (29232 lines/second) Physical Source Lines of Code (SLOC) = 2573 Hits@level = [0] 38 [1] 30 [2] 27 [3] 1 [4] 20 [5] 0 Hits@level+ = [0+] 116 [1+] 78 [2+] 48 [3+] 21 [4+] 20 [5+] 0 Hits/KSLOC@level+ = [0+] 45.0836 [1+] 30.3148 [2+] 18.6553 [3+] 8.16168 [4+] 7.77303 [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.