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/cpluff-0.2.0+ds1/loader/loader.c Examining data/cpluff-0.2.0+ds1/libcpluffxx/cpluffxx.h Examining data/cpluff-0.2.0+ds1/libcpluffxx/framework.cc Examining data/cpluff-0.2.0+ds1/libcpluffxx/info.cc Examining data/cpluff-0.2.0+ds1/libcpluffxx/cpluffxx/except.h Examining data/cpluff-0.2.0+ds1/libcpluffxx/cpluffxx/defines.h Examining data/cpluff-0.2.0+ds1/libcpluffxx/cpluffxx/callbacks.h Examining data/cpluff-0.2.0+ds1/libcpluffxx/cpluffxx/info.h Examining data/cpluff-0.2.0+ds1/libcpluffxx/cpluffxx/enums.h Examining data/cpluff-0.2.0+ds1/libcpluffxx/plugin_container.cc Examining data/cpluff-0.2.0+ds1/libcpluffxx/internalxx.h Examining data/cpluff-0.2.0+ds1/libcpluffxx/util.cc Examining data/cpluff-0.2.0+ds1/libcpluffxx/plugin_context.cc Examining data/cpluff-0.2.0+ds1/console/console.h Examining data/cpluff-0.2.0+ds1/console/console.c Examining data/cpluff-0.2.0+ds1/console/cmdinput_readline.c Examining data/cpluff-0.2.0+ds1/console/cmdinput_basic.c Examining data/cpluff-0.2.0+ds1/kazlib/hash.c Examining data/cpluff-0.2.0+ds1/kazlib/list.c Examining data/cpluff-0.2.0+ds1/kazlib/list.h Examining data/cpluff-0.2.0+ds1/kazlib/hash.h Examining data/cpluff-0.2.0+ds1/test/pscanning.c Examining data/cpluff-0.2.0+ds1/test/ploading.c Examining data/cpluff-0.2.0+ds1/test/cpinfo_cxx.cc Examining data/cpluff-0.2.0+ds1/test/testmain.c Examining data/cpluff-0.2.0+ds1/test/fatalerror_cxx.cc Examining data/cpluff-0.2.0+ds1/test/pinstallation.c Examining data/cpluff-0.2.0+ds1/test/initdestroy_cxx.cc Examining data/cpluff-0.2.0+ds1/test/initdestroy.c Examining data/cpluff-0.2.0+ds1/test/extcfg.c Examining data/cpluff-0.2.0+ds1/test/loggers.c Examining data/cpluff-0.2.0+ds1/test/fatalerror.c Examining data/cpluff-0.2.0+ds1/test/plugins-source/symuser/symuser.c Examining data/cpluff-0.2.0+ds1/test/plugins-source/symprovider/symprovider.c Examining data/cpluff-0.2.0+ds1/test/plugins-source/callbackcounter/callbackcounter.c Examining data/cpluff-0.2.0+ds1/test/plugins-source/callbackcounter/callbackcounter.h Examining data/cpluff-0.2.0+ds1/test/ploaders.c Examining data/cpluff-0.2.0+ds1/test/pdependencies.c Examining data/cpluff-0.2.0+ds1/test/test_cxx.h Examining data/cpluff-0.2.0+ds1/test/cpinfo.c Examining data/cpluff-0.2.0+ds1/test/test.h Examining data/cpluff-0.2.0+ds1/test/pcallbacks.c Examining data/cpluff-0.2.0+ds1/test/collections.c Examining data/cpluff-0.2.0+ds1/test/test_cxx.cc Examining data/cpluff-0.2.0+ds1/test/psymbolusage.c Examining data/cpluff-0.2.0+ds1/examples/cpfile/plugins/extension/extension.c Examining data/cpluff-0.2.0+ds1/examples/cpfile/plugins/core/core.c Examining data/cpluff-0.2.0+ds1/examples/cpfile/plugins/core/core.h Examining data/cpluff-0.2.0+ds1/examples/cpfile/plugins/special/special.c Examining data/cpluff-0.2.0+ds1/libcpluff/util.h Examining data/cpluff-0.2.0+ds1/libcpluff/util.c Examining data/cpluff-0.2.0+ds1/libcpluff/pdescriptor.c Examining data/cpluff-0.2.0+ds1/libcpluff/context.c Examining data/cpluff-0.2.0+ds1/libcpluff/logging.c Examining data/cpluff-0.2.0+ds1/libcpluff/internal.h Examining data/cpluff-0.2.0+ds1/libcpluff/pscan.c Examining data/cpluff-0.2.0+ds1/libcpluff/cpluffdef.h Examining data/cpluff-0.2.0+ds1/libcpluff/cpluff.h Examining data/cpluff-0.2.0+ds1/libcpluff/thread_windows.c Examining data/cpluff-0.2.0+ds1/libcpluff/pinfo.c Examining data/cpluff-0.2.0+ds1/libcpluff/cpluff.c Examining data/cpluff-0.2.0+ds1/libcpluff/shared.h Examining data/cpluff-0.2.0+ds1/libcpluff/psymbol.c Examining data/cpluff-0.2.0+ds1/libcpluff/serial.c Examining data/cpluff-0.2.0+ds1/libcpluff/pcontrol.c Examining data/cpluff-0.2.0+ds1/libcpluff/defines.h Examining data/cpluff-0.2.0+ds1/libcpluff/ploader.c Examining data/cpluff-0.2.0+ds1/libcpluff/thread_posix.c Examining data/cpluff-0.2.0+ds1/libcpluff/thread.h FINAL RESULTS: data/cpluff-0.2.0+ds1/console/console.c:393: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(format, data/cpluff-0.2.0+ds1/console/console.c:399:4: [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(format, data/cpluff-0.2.0+ds1/console/console.c:424:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(s, "\"%s\"", str); data/cpluff-0.2.0+ds1/console/console.c:549:2: [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(buffer, ce->name); data/cpluff-0.2.0+ds1/console/console.c:552: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(buffer, ce->atts[2*i]); data/cpluff-0.2.0+ds1/console/console.c:574:4: [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(buffer, ce->name); data/cpluff-0.2.0+ds1/console/console.c:578:4: [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(buffer, ce->name); data/cpluff-0.2.0+ds1/console/console.c:688: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(format, data/cpluff-0.2.0+ds1/console/console.c:692:4: [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(format, data/cpluff-0.2.0+ds1/console/console.c:713: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(format, data/cpluff-0.2.0+ds1/console/console.c:721:5: [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(format, data/cpluff-0.2.0+ds1/console/console.c:725:5: [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(format, data/cpluff-0.2.0+ds1/console/console.c:875:2: [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( data/cpluff-0.2.0+ds1/console/console.c:878:2: [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( data/cpluff-0.2.0+ds1/libcpluff/cpluff.c:171:2: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf(fmsg, sizeof(fmsg), msg, params); data/cpluff-0.2.0+ds1/libcpluff/defines.h:54:75: [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. #if (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5)) && ! defined(printf) data/cpluff-0.2.0+ds1/libcpluff/defines.h:56:25: [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. __attribute__((format (printf, format_idx, arg_idx))) data/cpluff-0.2.0+ds1/libcpluff/logging.c:220:2: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf(buffer, sizeof(buffer), _(msg), va); data/cpluff-0.2.0+ds1/libcpluff/pcontrol.c:327: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(rlpath, plugin->plugin->plugin_path); data/cpluff-0.2.0+ds1/libcpluff/pcontrol.c:329: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(rlpath + ppath_len + 1, plugin->plugin->runtime_lib_name); data/cpluff-0.2.0+ds1/libcpluff/pcontrol.c:330: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(rlpath + ppath_len + 1 + lname_len, CP_SHREXT); data/cpluff-0.2.0+ds1/libcpluff/pcontrol.c:771: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(msg, plugin->plugin->identifier); data/cpluff-0.2.0+ds1/libcpluff/pcontrol.c:779:4: [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(msg, p->plugin->identifier); data/cpluff-0.2.0+ds1/libcpluff/pdescriptor.c:158:2: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf(message, sizeof(message), error_msg, ap); data/cpluff-0.2.0+ds1/libcpluff/pdescriptor.c:358: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(dst + len, str); data/cpluff-0.2.0+ds1/libcpluff/pdescriptor.c:410:6: [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(attr_data + offset, src[i]); data/cpluff-0.2.0+ds1/libcpluff/pdescriptor.c:1155: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(file, path); data/cpluff-0.2.0+ds1/libcpluff/pdescriptor.c:1157: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(file + path_len + 1, context->env->plugin_descriptor_name); data/cpluff-0.2.0+ds1/libcpluff/pdescriptor.c:1235: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(file, path); data/cpluff-0.2.0+ds1/libcpluff/ploader.c:162: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(d, dir); data/cpluff-0.2.0+ds1/libcpluff/ploader.c:274: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(pdir_path, dir_path); data/cpluff-0.2.0+ds1/libcpluff/ploader.c:276: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(pdir_path + dir_path_len + 1, de->d_name); data/cpluff-0.2.0+ds1/libcpluffxx/plugin_context.cc:82:3: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf(buffer, sizeof(buffer), _(msg), va); data/cpluff-0.2.0+ds1/loader/loader.c:137:2: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf(buffer, sizeof(buffer), _(msg), va); data/cpluff-0.2.0+ds1/test/ploading.c:72: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(pdfilename, pd); data/cpluff-0.2.0+ds1/test/ploading.c:73:2: [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(pdfilename, CP_FNAMESEP_STR PLUGINFILENAME); data/cpluff-0.2.0+ds1/test/testmain.c:105: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(plugindir_buffer, srcdir); data/cpluff-0.2.0+ds1/test/testmain.c:106:2: [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(plugindir_buffer, CP_FNAMESEP_STR "plugins" CP_FNAMESEP_STR); data/cpluff-0.2.0+ds1/test/testmain.c:107:2: [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(plugindir_buffer, plugin); data/cpluff-0.2.0+ds1/test/testmain.c:127: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(pcollectiondir_buffer, srcdir); data/cpluff-0.2.0+ds1/test/testmain.c:128:2: [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(pcollectiondir_buffer, CP_FNAMESEP_STR "pcollections" CP_FNAMESEP_STR); data/cpluff-0.2.0+ds1/test/testmain.c:129:2: [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(pcollectiondir_buffer, collection); data/cpluff-0.2.0+ds1/loader/loader.c:273: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 ((i = getopt(argc, argv, "hc:p:s:vqV")) != -1) { data/cpluff-0.2.0+ds1/test/testmain.c:98:16: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if ((srcdir = getenv("srcdir")) == NULL) { data/cpluff-0.2.0+ds1/test/testmain.c:120:16: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if ((srcdir = getenv("srcdir")) == NULL) { data/cpluff-0.2.0+ds1/console/cmdinput_basic.c:38: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. static char cmdline[CMDLINE_SIZE]; data/cpluff-0.2.0+ds1/console/console.c:136: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. static char *sargv[16]; data/cpluff-0.2.0+ds1/console/console.c:472: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(dst, "&"); data/cpluff-0.2.0+ds1/console/console.c:476: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(dst, "<"); data/cpluff-0.2.0+ds1/console/console.c:480: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(dst, ">"); data/cpluff-0.2.0+ds1/console/console.c:485:6: [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(dst, """); data/cpluff-0.2.0+ds1/console/console.c:553:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buffer, "=\""); data/cpluff-0.2.0+ds1/console/console.c:577:4: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buffer, "</"); data/cpluff-0.2.0+ds1/console/console.c:582:3: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(buffer, "/>"); data/cpluff-0.2.0+ds1/console/console.c:718:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[128]; data/cpluff-0.2.0+ds1/console/console.c:720: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(buffer + sizeof(buffer)/sizeof(char) - 4, "..."); data/cpluff-0.2.0+ds1/examples/cpfile/plugins/core/core.c:175: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). pri = atoi(str); data/cpluff-0.2.0+ds1/kazlib/hash.c:857: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 input_t[256]; data/cpluff-0.2.0+ds1/kazlib/hash.c:891: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(new, str, sz); data/cpluff-0.2.0+ds1/kazlib/list.c:787: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 input_t[256]; data/cpluff-0.2.0+ds1/kazlib/list.c:826: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(new, str, sz); data/cpluff-0.2.0+ds1/libcpluff/context.c:648: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(name + size - 4, "..."); data/cpluff-0.2.0+ds1/libcpluff/cpluff.c:166: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 fmsg[256]; data/cpluff-0.2.0+ds1/libcpluff/logging.c:137: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 owner[64]; data/cpluff-0.2.0+ds1/libcpluff/logging.c:174: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 owner[64]; data/cpluff-0.2.0+ds1/libcpluff/logging.c:212: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 buffer[256]; data/cpluff-0.2.0+ds1/libcpluff/logging.c:222: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(buffer + sizeof(buffer)/sizeof(char) - 4, "..."); data/cpluff-0.2.0+ds1/libcpluff/pcontrol.c:778:4: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(msg, ", "); data/cpluff-0.2.0+ds1/libcpluff/pdescriptor.c:155: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 message[128]; data/cpluff-0.2.0+ds1/libcpluff/pdescriptor.c:1160: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). if ((fh = fopen(file, "rb")) == NULL) { data/cpluff-0.2.0+ds1/libcpluff/pdescriptor.c:1255: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(xml_buffer, buffer, buffer_len); data/cpluff-0.2.0+ds1/libcpluff/pinfo.c:577: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 owner[64]; data/cpluff-0.2.0+ds1/libcpluff/pinfo.c:599: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 owner[64]; data/cpluff-0.2.0+ds1/libcpluff/psymbol.c:253:4: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char owner[64]; data/cpluff-0.2.0+ds1/libcpluff/psymbol.c:319:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char owner[64]; data/cpluff-0.2.0+ds1/libcpluff/thread_windows.c:136:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[256]; data/cpluff-0.2.0+ds1/libcpluff/thread_windows.c:145:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[256]; data/cpluff-0.2.0+ds1/libcpluff/thread_windows.c:154:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[256]; data/cpluff-0.2.0+ds1/libcpluff/thread_windows.c:163:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[256]; data/cpluff-0.2.0+ds1/libcpluff/thread_windows.c:172:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[256]; data/cpluff-0.2.0+ds1/libcpluff/util.c:150: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 str[16]; data/cpluff-0.2.0+ds1/libcpluff/util.c:153:10: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). return atoi(str); data/cpluff-0.2.0+ds1/libcpluffxx/plugin_context.cc: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 buffer[256]; data/cpluff-0.2.0+ds1/libcpluffxx/plugin_context.cc:84: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(buffer + sizeof(buffer)/sizeof(char) - 4, "..."); data/cpluff-0.2.0+ds1/loader/loader.c:133: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 buffer[256]; data/cpluff-0.2.0+ds1/loader/loader.c:139: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(buffer + sizeof(buffer)/sizeof(char) - 4, "..."); data/cpluff-0.2.0+ds1/test/ploading.c:75: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). check((f = fopen(pdfilename, "r")) != NULL); data/cpluff-0.2.0+ds1/test/plugins-source/symprovider/symprovider.c:51: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(data->str, "Provided string"); data/cpluff-0.2.0+ds1/test/plugins-source/symprovider/symprovider.c:60: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(data->str, "Cleared string"); data/cpluff-0.2.0+ds1/console/cmdinput_basic.c:46: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(cmdline) == CMDLINE_SIZE - 1 data/cpluff-0.2.0+ds1/console/cmdinput_basic.c:50:9: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). c = getchar(); data/cpluff-0.2.0+ds1/console/cmdinput_basic.c:65: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). i = strlen(cmdline); data/cpluff-0.2.0+ds1/console/cmdinput_readline.c:42: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). textlen = strlen(text); data/cpluff-0.2.0+ds1/console/cmdinput_readline.c:62: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). textlen = strlen(text); data/cpluff-0.2.0+ds1/console/cmdinput_readline.c:82: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). textlen = strlen(text); data/cpluff-0.2.0+ds1/console/cmdinput_readline.c:102: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). textlen = strlen(text); data/cpluff-0.2.0+ds1/console/console.c:418: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). char *s = malloc((strlen(str) + 3) * sizeof(char)); data/cpluff-0.2.0+ds1/console/console.c:527: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). rs = 2 * strlen(ce->name) + 6 + indent; data/cpluff-0.2.0+ds1/console/console.c:532: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). rs += strlen(ce->atts[2*i]); data/cpluff-0.2.0+ds1/console/console.c:551:3: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat(buffer, " "); data/cpluff-0.2.0+ds1/console/console.c:555:3: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat(buffer, "\""); data/cpluff-0.2.0+ds1/console/console.c:558:3: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat(buffer, ">"); data/cpluff-0.2.0+ds1/console/console.c:575:4: [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(buffer, ">"); data/cpluff-0.2.0+ds1/console/console.c:579:4: [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(buffer, ">"); data/cpluff-0.2.0+ds1/examples/cpfile/plugins/extension/extension.c:83: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). && strlen(path) >= strlen(ext) data/cpluff-0.2.0+ds1/examples/cpfile/plugins/extension/extension.c:83: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). && strlen(path) >= strlen(ext) data/cpluff-0.2.0+ds1/examples/cpfile/plugins/extension/extension.c:84:22: [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). && strcmp(path + (strlen(path) - strlen(ext)), ext) == 0); data/cpluff-0.2.0+ds1/examples/cpfile/plugins/extension/extension.c:84: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). && strcmp(path + (strlen(path) - strlen(ext)), ext) == 0); data/cpluff-0.2.0+ds1/kazlib/hash.c:888: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 sz = strlen(str) + 1; data/cpluff-0.2.0+ds1/kazlib/list.c:823: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 sz = strlen(str) + 1; data/cpluff-0.2.0+ds1/libcpluff/context.c:645:3: [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(name, _("The main program"), size); data/cpluff-0.2.0+ds1/libcpluff/pcontrol.c:318: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). ppath_len = strlen(plugin->plugin->plugin_path); data/cpluff-0.2.0+ds1/libcpluff/pcontrol.c:319: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). lname_len = strlen(plugin->plugin->runtime_lib_name); data/cpluff-0.2.0+ds1/libcpluff/pcontrol.c:320: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). rlpath_len = ppath_len + lname_len + strlen(CP_SHREXT) + 2; data/cpluff-0.2.0+ds1/libcpluff/pcontrol.c:757: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). msgsize += strlen(plugin->plugin->identifier); data/cpluff-0.2.0+ds1/libcpluff/pcontrol.c:765: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). msgsize += strlen(p->plugin->identifier); data/cpluff-0.2.0+ds1/libcpluff/pcontrol.c:782:3: [1] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant character. strcat(msg, "."); data/cpluff-0.2.0+ds1/libcpluff/pdescriptor.c:345: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). len += strlen(str); data/cpluff-0.2.0+ds1/libcpluff/pdescriptor.c:359: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). len += strlen(str); data/cpluff-0.2.0+ds1/libcpluff/pdescriptor.c:399:16: [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). attr_size += strlen(src[num]) + 1; data/cpluff-0.2.0+ds1/libcpluff/pdescriptor.c:412:16: [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(src[i]) + 1; data/cpluff-0.2.0+ds1/libcpluff/pdescriptor.c:505:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(plcontext->value + plcontext->value_length, str, len * sizeof(char)); data/cpluff-0.2.0+ds1/libcpluff/pdescriptor.c:954:32: [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). plcontext->value_length = strlen(plcontext->value); data/cpluff-0.2.0+ds1/libcpluff/pdescriptor.c:1142: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). path_len = strlen(path); data/cpluff-0.2.0+ds1/libcpluff/pdescriptor.c:1150:29: [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). file = malloc((path_len + strlen(context->env->plugin_descriptor_name) + 2) * sizeof(char)); data/cpluff-0.2.0+ds1/libcpluff/pinfo.c:675: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). if (end - start == strlen(e->name) data/cpluff-0.2.0+ds1/libcpluff/ploader.c:154: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). d = malloc(sizeof(char) * (strlen(dir) + 1)); data/cpluff-0.2.0+ds1/libcpluff/ploader.c:241: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). dir_path_len = strlen(dir_path); data/cpluff-0.2.0+ds1/libcpluff/ploader.c:248:46: [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 pdir_path_len = dir_path_len + 1 + strlen(de->d_name) + 1; data/cpluff-0.2.0+ds1/libcpluff/thread_windows.c:126:3: [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(buffer, _("unknown error"), size); data/cpluff-0.2.0+ds1/libcpluff/util.c:151:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(str, v, vn - v < 16 ? vn - v : 16); data/cpluff-0.2.0+ds1/test/ploading.c:71: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). check((pdfilename = malloc((strlen(pd) + strlen(CP_FNAMESEP_STR) + strlen(PLUGINFILENAME) + 1) * sizeof(char))) != NULL); data/cpluff-0.2.0+ds1/test/ploading.c:71: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). check((pdfilename = malloc((strlen(pd) + strlen(CP_FNAMESEP_STR) + strlen(PLUGINFILENAME) + 1) * sizeof(char))) != NULL); data/cpluff-0.2.0+ds1/test/ploading.c:71:69: [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). check((pdfilename = malloc((strlen(pd) + strlen(CP_FNAMESEP_STR) + strlen(PLUGINFILENAME) + 1) * sizeof(char))) != NULL); data/cpluff-0.2.0+ds1/test/testmain.c:101: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). if ((plugindir_buffer = malloc((strlen(srcdir) + 2 * strlen(CP_FNAMESEP_STR) + strlen("plugins") + strlen(plugin) + 1) * sizeof(char))) == NULL) { data/cpluff-0.2.0+ds1/test/testmain.c:101:55: [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 ((plugindir_buffer = malloc((strlen(srcdir) + 2 * strlen(CP_FNAMESEP_STR) + strlen("plugins") + strlen(plugin) + 1) * sizeof(char))) == NULL) { data/cpluff-0.2.0+ds1/test/testmain.c:101:81: [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 ((plugindir_buffer = malloc((strlen(srcdir) + 2 * strlen(CP_FNAMESEP_STR) + strlen("plugins") + strlen(plugin) + 1) * sizeof(char))) == NULL) { data/cpluff-0.2.0+ds1/test/testmain.c:101:101: [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 ((plugindir_buffer = malloc((strlen(srcdir) + 2 * strlen(CP_FNAMESEP_STR) + strlen("plugins") + strlen(plugin) + 1) * sizeof(char))) == NULL) { data/cpluff-0.2.0+ds1/test/testmain.c:123: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). if ((pcollectiondir_buffer = malloc((strlen(srcdir) + strlen("/pcollections/") + strlen(collection) + 1) * sizeof(char))) == NULL) { data/cpluff-0.2.0+ds1/test/testmain.c:123:56: [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 ((pcollectiondir_buffer = malloc((strlen(srcdir) + strlen("/pcollections/") + strlen(collection) + 1) * sizeof(char))) == NULL) { data/cpluff-0.2.0+ds1/test/testmain.c:123:83: [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 ((pcollectiondir_buffer = malloc((strlen(srcdir) + strlen("/pcollections/") + strlen(collection) + 1) * sizeof(char))) == NULL) { ANALYSIS SUMMARY: Hits = 141 Lines analyzed = 18201 in approximately 0.53 seconds (34328 lines/second) Physical Source Lines of Code (SLOC) = 9818 Hits@level = [0] 63 [1] 52 [2] 44 [3] 3 [4] 42 [5] 0 Hits@level+ = [0+] 204 [1+] 141 [2+] 89 [3+] 45 [4+] 42 [5+] 0 Hits/KSLOC@level+ = [0+] 20.7782 [1+] 14.3614 [2+] 9.06498 [3+] 4.58342 [4+] 4.27786 [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.