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/labrea-2.5-stable/inc/bget.h Examining data/labrea-2.5-stable/inc/ctl.h Examining data/labrea-2.5-stable/inc/err.h Examining data/labrea-2.5-stable/inc/getopt.h Examining data/labrea-2.5-stable/inc/labrea.h Examining data/labrea-2.5-stable/inc/lbio.h Examining data/labrea-2.5-stable/inc/pcaputil.h Examining data/labrea-2.5-stable/inc/pkt.h Examining data/labrea-2.5-stable/inc/pkt_handler.h Examining data/labrea-2.5-stable/inc/queue.h Examining data/labrea-2.5-stable/inc/syslog.h Examining data/labrea-2.5-stable/inc/syslog_name.h Examining data/labrea-2.5-stable/inc/utils.h Examining data/labrea-2.5-stable/inc/debug.h Examining data/labrea-2.5-stable/src/getopt.c Examining data/labrea-2.5-stable/src/getopt1.c Examining data/labrea-2.5-stable/src/memcmp.c Examining data/labrea-2.5-stable/src/strlcpy.c Examining data/labrea-2.5-stable/src/syslog.c Examining data/labrea-2.5-stable/src/labrea.c Examining data/labrea-2.5-stable/src/labrea_init.c Examining data/labrea-2.5-stable/src/pkt_handler.c Examining data/labrea-2.5-stable/src/lbio.c Examining data/labrea-2.5-stable/src/ctl.c Examining data/labrea-2.5-stable/src/utils.c Examining data/labrea-2.5-stable/src/pcaputil.c Examining data/labrea-2.5-stable/src/bget.c Examining data/labrea-2.5-stable/src/pkt.c FINAL RESULTS: data/labrea-2.5-stable/inc/syslog.h:219:6: [4] (format) syslog: If syslog's format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant format string for syslog. void syslog(int, char *, ...); data/labrea-2.5-stable/inc/syslog.h:229:6: [4] (format) syslog: If syslog's format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant format string for syslog. void syslog __P((int, const char *, ...)) data/labrea-2.5-stable/src/bget.c:452:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. extern char *sprintf(); /* Sun includes don't define sprintf */ data/labrea-2.5-stable/src/pcaputil.c:118: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(buf, sizeof(buf), fmt, ap); data/labrea-2.5-stable/src/syslog.c:71:6: [4] (format) syslog: If syslog's format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant format string for syslog. void syslog(int pri, char *fmt, ...) data/labrea-2.5-stable/src/syslog.c:237:11: [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. prlen = vsnprintf(p, tbuf_left, fmt_cpy, ap); data/labrea-2.5-stable/src/utils.c:116:5: [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(buf, sizeof(buf), fmt, ap); data/labrea-2.5-stable/src/utils.c:131:5: [4] (format) syslog: If syslog's format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant format string for syslog. syslog(INFOTYPE, buf); data/labrea-2.5-stable/inc/getopt.h:145:12: [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. extern int getopt (int ___argc, char *const *___argv, const char *__shortopts); data/labrea-2.5-stable/inc/getopt.h:147:12: [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. extern int getopt (); data/labrea-2.5-stable/inc/getopt.h:151:12: [3] (buffer) getopt_long: 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. extern int getopt_long (int ___argc, char *const *___argv, data/labrea-2.5-stable/inc/getopt.h:165:12: [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. extern int getopt (); data/labrea-2.5-stable/inc/getopt.h:167:12: [3] (buffer) getopt_long: 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. extern int getopt_long (); data/labrea-2.5-stable/src/bget.c:1294:6: [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. void srand(seed) data/labrea-2.5-stable/src/bget.c:1454:7: [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. V srand(1234); data/labrea-2.5-stable/src/bget.c:1456:7: [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. V srand((int) time((long *) NULL)); data/labrea-2.5-stable/src/getopt.c:214:9: [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. #ifndef getenv data/labrea-2.5-stable/src/getopt.c:215:14: [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. extern char *getenv (); data/labrea-2.5-stable/src/getopt.c:400:21: [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. posixly_correct = getenv ("POSIXLY_CORRECT"); data/labrea-2.5-stable/src/getopt.c:1169:1: [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. getopt (argc, argv, optstring) data/labrea-2.5-stable/src/getopt.c:1199:11: [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. c = getopt (argc, argv, "abc:d:0123456789"); data/labrea-2.5-stable/src/getopt1.c:67:1: [3] (buffer) getopt_long: 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. getopt_long (argc, argv, options, long_options, opt_index) data/labrea-2.5-stable/src/getopt1.c:123:11: [3] (buffer) getopt_long: 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. c = getopt_long (argc, argv, "abc:d:0123456789", data/labrea-2.5-stable/src/labrea_init.c:290:9: [3] (buffer) getopt_long: 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. c = getopt_long(argc, argv, "n:m:i:j:I:E:qF:t:r:sXxhRHp:bPaflvoOVTdz?2:3D", data/labrea-2.5-stable/inc/ctl.h:76: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 cfg_file_name[BUFSIZE]; /* Configuration file name */ data/labrea-2.5-stable/inc/ctl.h:93: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 syslog_server[MAXHOSTNAMELEN]; /* Win32: Remote syslog server */ data/labrea-2.5-stable/inc/lbio.h:48: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 adapter_name_list[MAX_NUM_ADAPTER][BUFSIZE]; data/labrea-2.5-stable/inc/lbio.h:50:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char adapter_desc_list[MAX_NUM_ADAPTER][BUFSIZE]; data/labrea-2.5-stable/src/bget.c:801:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. V memcpy((char *) nbuf, (char *) buf, /* Copy the data */ data/labrea-2.5-stable/src/bget.c:1107: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 bhex[50], bascii[20]; data/labrea-2.5-stable/src/bget.c:1114:15: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. V sprintf(bhex + i * 3, "%02X ", bdump[i]); data/labrea-2.5-stable/src/ctl.c:309: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 mybuffer[BUFSIZE] = ""; data/labrea-2.5-stable/src/ctl.c:372: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 ((in = fopen(ctl.cfg_file_name, "r")) == NULL) { data/labrea-2.5-stable/src/labrea_init.c:161: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 buf[BUFSIZE]=""; data/labrea-2.5-stable/src/labrea_init.c:182: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 dev[BUFSIZE]=""; /* Input device name */ data/labrea-2.5-stable/src/labrea_init.c:183: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 pgm_name[PGM_NAME_SIZE]=""; /* Name of invoking pgm */ data/labrea-2.5-stable/src/labrea_init.c:191: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 ffname[BUFSIZE] = ""; /* Input file name */ data/labrea-2.5-stable/src/labrea_init.c:194:10: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char mybuffer[BUFSIZE] = ""; /* Buffer to hold input string */ data/labrea-2.5-stable/src/labrea_init.c:564: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). if ((in = fopen(ffname, "r")) == NULL) { data/labrea-2.5-stable/src/lbio.c:88: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 adapter_lista[MAX_NUM_ADAPTER*2*BUFSIZE]; /* list of adapters */ data/labrea-2.5-stable/src/lbio.c:225:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(io.ifent, entry, entry->intf_len); data/labrea-2.5-stable/src/pcaputil.c:57: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 ebuf[PCAP_ERRBUF_SIZE]; data/labrea-2.5-stable/src/pcaputil.c: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[BUFSIZ]; data/labrea-2.5-stable/src/pkt.c:98:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(new->pkt_data, pkt->pkt_data, pkt->pkt_end - pkt->pkt_data); data/labrea-2.5-stable/src/pkt_handler.c:768:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(pkt->pkt_data, pktdata, len); data/labrea-2.5-stable/src/syslog.c:62:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char LogTag[PGM_NAME_SIZE] = ""; /* string to tag the entry with */ data/labrea-2.5-stable/src/syslog.c:84:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char *stdp, tbuf[TBUF_LEN], fmt_cpy[FMT_LEN]; data/labrea-2.5-stable/src/syslog.c:305: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 szFilePath[_MAX_PATH]; data/labrea-2.5-stable/src/syslog.c:306: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 key[_MAX_PATH]; data/labrea-2.5-stable/src/syslog.c:359:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. else memcpy((char FAR *)&(ip), he->h_addr, he->h_length); data/labrea-2.5-stable/src/utils.c:104: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 buf[BUFSIZE] = ""; data/labrea-2.5-stable/src/utils.c:105: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 tnow[BUFSIZE] = ""; data/labrea-2.5-stable/src/utils.c:218:3: [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). open("/dev/null", O_RDWR); data/labrea-2.5-stable/src/ctl.c:378: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 ((*mybuffer != '#') && (strlen(mybuffer) > 2)) { data/labrea-2.5-stable/src/getopt.c:237:51: [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 (!defined __STDC__ || !__STDC__) && !defined strlen data/labrea-2.5-stable/src/getopt.c:240:12: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). extern int strlen (const char *); data/labrea-2.5-stable/src/getopt.c:431:44: [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 = nonoption_flags_max_len = strlen (orig_str); data/labrea-2.5-stable/src/getopt.c:659: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). == (unsigned int) strlen (p->name)) data/labrea-2.5-stable/src/getopt.c:702: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). nextchar += strlen (nextchar); data/labrea-2.5-stable/src/getopt.c:764:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). nextchar += strlen (nextchar); data/labrea-2.5-stable/src/getopt.c:797:17: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). nextchar += strlen (nextchar); data/labrea-2.5-stable/src/getopt.c:802: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). nextchar += strlen (nextchar); data/labrea-2.5-stable/src/getopt.c:979:51: [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 ((unsigned int) (nameend - nextchar) == strlen (p->name)) data/labrea-2.5-stable/src/getopt.c:1018: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). nextchar += strlen (nextchar); data/labrea-2.5-stable/src/getopt.c:1055:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). nextchar += strlen (nextchar); data/labrea-2.5-stable/src/getopt.c:1086:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). nextchar += strlen (nextchar); data/labrea-2.5-stable/src/getopt.c:1090: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). nextchar += strlen (nextchar); data/labrea-2.5-stable/src/labrea_init.c:126: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). int len = strlen(texpr); data/labrea-2.5-stable/src/labrea_init.c:167:8: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if ((strlen(invalid) > 0) || (result < 0)) { data/labrea-2.5-stable/src/labrea_init.c:549:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(ffname) > 0) { data/labrea-2.5-stable/src/labrea_init.c:563:11: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(ffname) > 0) { data/labrea-2.5-stable/src/labrea_init.c:598:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(ctl.syslog_server) > 0) { data/labrea-2.5-stable/src/lbio.c:254: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(dev) > 0) { data/labrea-2.5-stable/src/lbio.c:460:5: [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 character. strncpy(c, " ", sizeof(c)); data/labrea-2.5-stable/src/syslog.c:92: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(ctl.syslog_server) == 0) { /* Log to Event Log. */ data/labrea-2.5-stable/src/syslog.c:255: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(ctl.syslog_server) > 0){ data/labrea-2.5-stable/src/syslog.c:295: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(ctl.syslog_server) > 0) && data/labrea-2.5-stable/src/syslog.c:326: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(szFilePath) + 1)) { // length of value data data/labrea-2.5-stable/src/utils.c:125: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). p = tnow + strlen(tnow) -1; /* Point to last character */ ANALYSIS SUMMARY: Hits = 79 Lines analyzed = 9685 in approximately 0.48 seconds (20190 lines/second) Physical Source Lines of Code (SLOC) = 5604 Hits@level = [0] 73 [1] 26 [2] 29 [3] 16 [4] 8 [5] 0 Hits@level+ = [0+] 152 [1+] 79 [2+] 53 [3+] 24 [4+] 8 [5+] 0 Hits/KSLOC@level+ = [0+] 27.1235 [1+] 14.0971 [2+] 9.45753 [3+] 4.28266 [4+] 1.42755 [5+] 0 Minimum risk level = 1 Not every hit is necessarily a security vulnerability. There may be other security vulnerabilities; review your code! See 'Secure Programming HOWTO' (https://dwheeler.com/secure-programs) for more information.