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/libcgicc-3.2.19/cgicc/XHTMLDoctype.h Examining data/libcgicc-3.2.19/cgicc/MStreamable.h Examining data/libcgicc-3.2.19/cgicc/CgiInput.cpp Examining data/libcgicc-3.2.19/cgicc/MStreamable.cpp Examining data/libcgicc-3.2.19/cgicc/HTMLClasses.h Examining data/libcgicc-3.2.19/cgicc/HTTPRedirectHeader.cpp Examining data/libcgicc-3.2.19/cgicc/FormEntry.cpp Examining data/libcgicc-3.2.19/cgicc/HTTPCookie.cpp Examining data/libcgicc-3.2.19/cgicc/HTTPResponseHeader.cpp Examining data/libcgicc-3.2.19/cgicc/Cgicc.h Examining data/libcgicc-3.2.19/cgicc/HTTPStatusHeader.cpp Examining data/libcgicc-3.2.19/cgicc/HTTPRedirectHeader.h Examining data/libcgicc-3.2.19/cgicc/CgiEnvironment.h Examining data/libcgicc-3.2.19/cgicc/HTTPContentHeader.h Examining data/libcgicc-3.2.19/cgicc/HTTPHeader.cpp Examining data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp Examining data/libcgicc-3.2.19/cgicc/FormFile.h Examining data/libcgicc-3.2.19/cgicc/CgiUtils.h Examining data/libcgicc-3.2.19/cgicc/HTTPHTMLHeader.cpp Examining data/libcgicc-3.2.19/cgicc/Cgicc.cpp Examining data/libcgicc-3.2.19/cgicc/HTMLElementList.h Examining data/libcgicc-3.2.19/cgicc/HTTPStatusHeader.h Examining data/libcgicc-3.2.19/cgicc/HTMLAttribute.cpp Examining data/libcgicc-3.2.19/cgicc/XMLPI.cpp Examining data/libcgicc-3.2.19/cgicc/XHTMLDoctype.cpp Examining data/libcgicc-3.2.19/cgicc/HTMLElement.h Examining data/libcgicc-3.2.19/cgicc/HTTPCookie.h Examining data/libcgicc-3.2.19/cgicc/XMLPI.h Examining data/libcgicc-3.2.19/cgicc/HTMLAtomicElement.h Examining data/libcgicc-3.2.19/cgicc/HTMLDoctype.h Examining data/libcgicc-3.2.19/cgicc/HTTPPlainHeader.h Examining data/libcgicc-3.2.19/cgicc/HTMLDoctype.cpp Examining data/libcgicc-3.2.19/cgicc/HTMLElement.cpp Examining data/libcgicc-3.2.19/cgicc/HTMLElementList.cpp Examining data/libcgicc-3.2.19/cgicc/XMLDeclaration.h Examining data/libcgicc-3.2.19/cgicc/HTTPPlainHeader.cpp Examining data/libcgicc-3.2.19/cgicc/FormFile.cpp Examining data/libcgicc-3.2.19/cgicc/HTMLAttribute.h Examining data/libcgicc-3.2.19/cgicc/HTTPResponseHeader.h Examining data/libcgicc-3.2.19/cgicc/HTTPHTMLHeader.h Examining data/libcgicc-3.2.19/cgicc/HTTPContentHeader.cpp Examining data/libcgicc-3.2.19/cgicc/HTTPHeader.h Examining data/libcgicc-3.2.19/cgicc/HTMLAttributeList.cpp Examining data/libcgicc-3.2.19/cgicc/HTMLBooleanElement.h Examining data/libcgicc-3.2.19/cgicc/HTMLAttributeList.h Examining data/libcgicc-3.2.19/cgicc/FormEntry.h Examining data/libcgicc-3.2.19/cgicc/CgiUtils.cpp Examining data/libcgicc-3.2.19/cgicc/HTTPXHTMLHeader.cpp Examining data/libcgicc-3.2.19/cgicc/HTTPXHTMLHeader.h Examining data/libcgicc-3.2.19/cgicc/CgiInput.h Examining data/libcgicc-3.2.19/demo/dns.cpp Examining data/libcgicc-3.2.19/demo/test.cpp Examining data/libcgicc-3.2.19/demo/upload.cpp Examining data/libcgicc-3.2.19/demo/cookie.cpp Examining data/libcgicc-3.2.19/demo/cardgame.cpp Examining data/libcgicc-3.2.19/demo/styles.h Examining data/libcgicc-3.2.19/example/example.cpp Examining data/libcgicc-3.2.19/contrib/nph-hello.cpp Examining data/libcgicc-3.2.19/contrib/FCgiIO.cpp Examining data/libcgicc-3.2.19/contrib/nph-login.cpp Examining data/libcgicc-3.2.19/contrib/fcgi-test.cpp Examining data/libcgicc-3.2.19/contrib/FCgiIO.h FINAL RESULTS: data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:72:8: [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(getenv("CGICC_MAX_CONTENTLENGTH")&&getContentLength()>(long unsigned int)atoi(getenv("CGICC_MAX_CONTENTLENGTH"))) data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:72:86: [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(getenv("CGICC_MAX_CONTENTLENGTH")&&getContentLength()>(long unsigned int)atoi(getenv("CGICC_MAX_CONTENTLENGTH"))) data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:232:29: [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. fServerSoftware = input->getenv("SERVER_SOFTWARE"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:233:26: [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. fServerName = input->getenv("SERVER_NAME"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:234:31: [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. fGatewayInterface = input->getenv("GATEWAY_INTERFACE"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:235:29: [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. fServerProtocol = input->getenv("SERVER_PROTOCOL"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:237:30: [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. std::string port = input->getenv("SERVER_PORT"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:240:28: [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. fRequestMethod = input->getenv("REQUEST_METHOD"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:241:24: [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. fPathInfo = input->getenv("PATH_INFO"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:242:29: [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. fPathTranslated = input->getenv("PATH_TRANSLATED"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:243:26: [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. fScriptName = input->getenv("SCRIPT_NAME"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:244:27: [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. fQueryString = input->getenv("QUERY_STRING"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:245:26: [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. fRemoteHost = input->getenv("REMOTE_HOST"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:246:26: [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. fRemoteAddr = input->getenv("REMOTE_ADDR"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:247:24: [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. fAuthType = input->getenv("AUTH_TYPE"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:248:26: [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. fRemoteUser = input->getenv("REMOTE_USER"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:249:27: [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. fRemoteIdent = input->getenv("REMOTE_IDENT"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:250:27: [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. fContentType = input->getenv("CONTENT_TYPE"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:252:32: [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. std::string length = input->getenv("CONTENT_LENGTH"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:255:22: [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. fAccept = input->getenv("HTTP_ACCEPT"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:256:25: [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. fUserAgent = input->getenv("HTTP_USER_AGENT"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:257:30: [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. fRedirectRequest = input->getenv("REDIRECT_REQUEST"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:258:27: [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. fRedirectURL = input->getenv("REDIRECT_URL"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:259:29: [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. fRedirectStatus = input->getenv("REDIRECT_STATUS"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:260:24: [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. fReferrer = input->getenv("HTTP_REFERER"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:261:22: [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. fCookie = input->getenv("HTTP_COOKIE"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:262:34: [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. fAcceptLanguageString = input->getenv("HTTP_ACCEPT_LANGUAGE"); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:265:31: [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. std::string https = input->getenv("HTTPS"); data/libcgicc-3.2.19/cgicc/CgiInput.cpp:49:18: [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. cgicc::CgiInput::getenv(const char *varName) data/libcgicc-3.2.19/cgicc/CgiInput.cpp:51:20: [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 *var = std::getenv(varName); data/libcgicc-3.2.19/cgicc/CgiInput.h:158:25: [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. virtual std::string getenv(const char *varName); data/libcgicc-3.2.19/contrib/FCgiIO.h:123:32: [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. virtual inline std::string getenv(const char *varName) data/libcgicc-3.2.19/demo/cardgame.cpp:662:3: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand ( time(NULL) ); data/libcgicc-3.2.19/demo/cardgame.cpp:767:3: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand ( time(NULL) ); data/libcgicc-3.2.19/demo/cardgame.cpp:1556:3: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand ( time(NULL) ); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:72:81: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). if(getenv("CGICC_MAX_CONTENTLENGTH")&&getContentLength()>(long unsigned int)atoi(getenv("CGICC_MAX_CONTENTLENGTH"))) data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:238:24: [2] (integer) atol: 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). fServerPort = std::atol(port.c_str()); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:253:26: [2] (integer) atol: 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). fContentLength = std::atol(length.c_str()); data/libcgicc-3.2.19/cgicc/FormEntry.cpp:49:21: [2] (integer) atol: 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). long value = std::atol(fValue.c_str()); data/libcgicc-3.2.19/cgicc/FormEntry.cpp:64:21: [2] (integer) atol: 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). long value = std::atol(fValue.c_str()); data/libcgicc-3.2.19/contrib/nph-hello.cpp:47: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 current_date [30]; data/libcgicc-3.2.19/demo/cardgame.cpp:251:10: [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). inFile.open(COOKIE_FILE_NAME); data/libcgicc-3.2.19/demo/cardgame.cpp:256: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). inFile.open(COOKIE_FILE_NAME); data/libcgicc-3.2.19/demo/cardgame.cpp:262: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 ligne[32000]; data/libcgicc-3.2.19/demo/cardgame.cpp:292:10: [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). inFile.open(GAME_FILE_NAME); data/libcgicc-3.2.19/demo/cardgame.cpp:297: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). inFile.open(GAME_FILE_NAME); data/libcgicc-3.2.19/demo/cardgame.cpp:302: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 ligne[32000]; data/libcgicc-3.2.19/demo/cardgame.cpp:385: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). vNBPLayers=atoi(word.c_str()); data/libcgicc-3.2.19/demo/cardgame.cpp:406: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). points=atoi(word.c_str()); data/libcgicc-3.2.19/demo/cardgame.cpp:416: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). vNBCards=atoi(word.c_str()); data/libcgicc-3.2.19/demo/cardgame.cpp:451:23: [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). vNBCardsQueue1=atoi(word.c_str()); data/libcgicc-3.2.19/demo/cardgame.cpp:468:24: [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). vNBCardsQueue2=atoi(word.c_str()); data/libcgicc-3.2.19/demo/cardgame.cpp:539:10: [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). inFile.open(GAME_FILE_NAME,ios::in); data/libcgicc-3.2.19/demo/cardgame.cpp:548: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). inFile.open(GAME_FILE_NAME,ios::in); data/libcgicc-3.2.19/demo/cardgame.cpp:557: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 ligne[32000]; data/libcgicc-3.2.19/demo/cardgame.cpp:684:10: [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). inFile.open(GAME_FILE_NAME); data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:83:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ( local_input.read( &data[0], getContentLength() ) != getContentLength() ) data/libcgicc-3.2.19/cgicc/CgiEnvironment.cpp:87:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if ( input->read( &data[0], getContentLength() ) != getContentLength() ) data/libcgicc-3.2.19/cgicc/CgiInput.cpp:41:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). cgicc::CgiInput::read(char *data, data/libcgicc-3.2.19/cgicc/CgiInput.cpp:44:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). std::cin.read(data, length); data/libcgicc-3.2.19/cgicc/CgiInput.h:148:20: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual size_t read(char *data, size_t length); data/libcgicc-3.2.19/cgicc/CgiUtils.cpp:265:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). in.read(&temp[0], dataSize); data/libcgicc-3.2.19/contrib/FCgiIO.h:111:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual inline size_t read(char *data, size_t length) ANALYSIS SUMMARY: Hits = 63 Lines analyzed = 11354 in approximately 0.48 seconds (23728 lines/second) Physical Source Lines of Code (SLOC) = 5023 Hits@level = [0] 0 [1] 7 [2] 21 [3] 35 [4] 0 [5] 0 Hits@level+ = [0+] 63 [1+] 63 [2+] 56 [3+] 35 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 12.5423 [1+] 12.5423 [2+] 11.1487 [3+] 6.96795 [4+] 0 [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.