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/multiprocess-0.70.11.1/py2.5/Modules/_processing/connection.h Examining data/multiprocess-0.70.11.1/py2.5/Modules/_processing/pipe_connection.c Examining data/multiprocess-0.70.11.1/py2.5/Modules/_processing/processing.c Examining data/multiprocess-0.70.11.1/py2.5/Modules/_processing/processing.h Examining data/multiprocess-0.70.11.1/py2.5/Modules/_processing/semaphore.c Examining data/multiprocess-0.70.11.1/py2.5/Modules/_processing/socket_connection.c Examining data/multiprocess-0.70.11.1/py2.5/Modules/_processing/win_functions.c Examining data/multiprocess-0.70.11.1/py2.6/Modules/_multiprocess/connection.h Examining data/multiprocess-0.70.11.1/py2.6/Modules/_multiprocess/multiprocess.c Examining data/multiprocess-0.70.11.1/py2.6/Modules/_multiprocess/multiprocess.h Examining data/multiprocess-0.70.11.1/py2.6/Modules/_multiprocess/pipe_connection.c Examining data/multiprocess-0.70.11.1/py2.6/Modules/_multiprocess/semaphore.c Examining data/multiprocess-0.70.11.1/py2.6/Modules/_multiprocess/socket_connection.c Examining data/multiprocess-0.70.11.1/py2.6/Modules/_multiprocess/win32_functions.c Examining data/multiprocess-0.70.11.1/py2.7/Modules/_multiprocess/connection.h Examining data/multiprocess-0.70.11.1/py2.7/Modules/_multiprocess/multiprocess.c Examining data/multiprocess-0.70.11.1/py2.7/Modules/_multiprocess/multiprocess.h Examining data/multiprocess-0.70.11.1/py2.7/Modules/_multiprocess/pipe_connection.c Examining data/multiprocess-0.70.11.1/py2.7/Modules/_multiprocess/semaphore.c Examining data/multiprocess-0.70.11.1/py2.7/Modules/_multiprocess/socket_connection.c Examining data/multiprocess-0.70.11.1/py2.7/Modules/_multiprocess/win32_functions.c Examining data/multiprocess-0.70.11.1/py3.1/Modules/_multiprocess/connection.h Examining data/multiprocess-0.70.11.1/py3.1/Modules/_multiprocess/multiprocess.c Examining data/multiprocess-0.70.11.1/py3.1/Modules/_multiprocess/multiprocess.h Examining data/multiprocess-0.70.11.1/py3.1/Modules/_multiprocess/pipe_connection.c Examining data/multiprocess-0.70.11.1/py3.1/Modules/_multiprocess/semaphore.c Examining data/multiprocess-0.70.11.1/py3.1/Modules/_multiprocess/socket_connection.c Examining data/multiprocess-0.70.11.1/py3.1/Modules/_multiprocess/win32_functions.c Examining data/multiprocess-0.70.11.1/py3.2/Modules/_multiprocess/connection.h Examining data/multiprocess-0.70.11.1/py3.2/Modules/_multiprocess/multiprocess.c Examining data/multiprocess-0.70.11.1/py3.2/Modules/_multiprocess/multiprocess.h Examining data/multiprocess-0.70.11.1/py3.2/Modules/_multiprocess/pipe_connection.c Examining data/multiprocess-0.70.11.1/py3.2/Modules/_multiprocess/semaphore.c Examining data/multiprocess-0.70.11.1/py3.2/Modules/_multiprocess/socket_connection.c Examining data/multiprocess-0.70.11.1/py3.2/Modules/_multiprocess/win32_functions.c Examining data/multiprocess-0.70.11.1/py3.3/Modules/_multiprocess/multiprocess.c Examining data/multiprocess-0.70.11.1/py3.3/Modules/_multiprocess/multiprocess.h Examining data/multiprocess-0.70.11.1/py3.3/Modules/_multiprocess/semaphore.c Examining data/multiprocess-0.70.11.1/py3.4/Modules/_multiprocess/multiprocess.c Examining data/multiprocess-0.70.11.1/py3.4/Modules/_multiprocess/multiprocess.h Examining data/multiprocess-0.70.11.1/py3.4/Modules/_multiprocess/semaphore.c Examining data/multiprocess-0.70.11.1/py3.5/Modules/_multiprocess/multiprocess.c Examining data/multiprocess-0.70.11.1/py3.5/Modules/_multiprocess/multiprocess.h Examining data/multiprocess-0.70.11.1/py3.5/Modules/_multiprocess/semaphore.c Examining data/multiprocess-0.70.11.1/py3.6/Modules/_multiprocess/multiprocess.c Examining data/multiprocess-0.70.11.1/py3.6/Modules/_multiprocess/multiprocess.h Examining data/multiprocess-0.70.11.1/py3.6/Modules/_multiprocess/semaphore.c Examining data/multiprocess-0.70.11.1/py3.7/Modules/_multiprocess/multiprocess.c Examining data/multiprocess-0.70.11.1/py3.7/Modules/_multiprocess/multiprocess.h Examining data/multiprocess-0.70.11.1/py3.7/Modules/_multiprocess/semaphore.c Examining data/multiprocess-0.70.11.1/py3.8/Modules/_multiprocess/clinic/posixshmem.c.h Examining data/multiprocess-0.70.11.1/py3.8/Modules/_multiprocess/multiprocess.c Examining data/multiprocess-0.70.11.1/py3.8/Modules/_multiprocess/multiprocess.h Examining data/multiprocess-0.70.11.1/py3.8/Modules/_multiprocess/posixshmem.c Examining data/multiprocess-0.70.11.1/py3.8/Modules/_multiprocess/semaphore.c Examining data/multiprocess-0.70.11.1/py3.9/Modules/_multiprocess/clinic/posixshmem.c.h Examining data/multiprocess-0.70.11.1/py3.9/Modules/_multiprocess/multiprocess.c Examining data/multiprocess-0.70.11.1/py3.9/Modules/_multiprocess/multiprocess.h Examining data/multiprocess-0.70.11.1/py3.9/Modules/_multiprocess/posixshmem.c Examining data/multiprocess-0.70.11.1/py3.9/Modules/_multiprocess/semaphore.c FINAL RESULTS: data/multiprocess-0.70.11.1/py3.4/Modules/_multiprocess/semaphore.c:441:9: [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(name_copy, name); data/multiprocess-0.70.11.1/py3.4/Modules/_multiprocess/semaphore.c:482:9: [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(name_copy, name); data/multiprocess-0.70.11.1/py3.5/Modules/_multiprocess/semaphore.c:444:9: [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(name_copy, name); data/multiprocess-0.70.11.1/py3.5/Modules/_multiprocess/semaphore.c:485:9: [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(name_copy, name); data/multiprocess-0.70.11.1/py3.6/Modules/_multiprocess/semaphore.c:445:9: [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(name_copy, name); data/multiprocess-0.70.11.1/py3.6/Modules/_multiprocess/semaphore.c:488:9: [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(name_copy, name); data/multiprocess-0.70.11.1/py3.7/Modules/_multiprocess/semaphore.c:455:9: [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(name_copy, name); data/multiprocess-0.70.11.1/py3.7/Modules/_multiprocess/semaphore.c:498:9: [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(name_copy, name); data/multiprocess-0.70.11.1/py3.8/Modules/_multiprocess/semaphore.c:455:9: [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(name_copy, name); data/multiprocess-0.70.11.1/py3.8/Modules/_multiprocess/semaphore.c:498:9: [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(name_copy, name); data/multiprocess-0.70.11.1/py3.9/Modules/_multiprocess/semaphore.c:456:9: [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(name_copy, name); data/multiprocess-0.70.11.1/py3.9/Modules/_multiprocess/semaphore.c:499:9: [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(name_copy, name); data/multiprocess-0.70.11.1/py2.5/Modules/_processing/pipe_connection.c:24: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[BUFFER_SIZE]; data/multiprocess-0.70.11.1/py2.5/Modules/_processing/pipe_connection.c:78: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(*newbuffer, buffer, length); data/multiprocess-0.70.11.1/py2.5/Modules/_processing/processing.c:158: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 buf[CMSG_SPACE(sizeof(int))]; data/multiprocess-0.70.11.1/py2.5/Modules/_processing/processing.c:193: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 buf[CMSG_SPACE(sizeof(int))]; data/multiprocess-0.70.11.1/py2.5/Modules/_processing/semaphore.c:401: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[256]; data/multiprocess-0.70.11.1/py2.5/Modules/_processing/socket_connection.c:33: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[BUFFER_SIZE]; data/multiprocess-0.70.11.1/py2.5/Modules/_processing/socket_connection.c:104:9: [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(message+4, string, length); data/multiprocess-0.70.11.1/py2.6/Modules/_multiprocess/multiprocess.c:100: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 buf[CMSG_SPACE(sizeof(int))]; data/multiprocess-0.70.11.1/py2.6/Modules/_multiprocess/multiprocess.c:135: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 buf[CMSG_SPACE(sizeof(int))]; data/multiprocess-0.70.11.1/py2.6/Modules/_multiprocess/multiprocess.h:164: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[CONNECTION_BUFFER_SIZE]; data/multiprocess-0.70.11.1/py2.6/Modules/_multiprocess/pipe_connection.c:68: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(*newbuffer, buffer, length); data/multiprocess-0.70.11.1/py2.6/Modules/_multiprocess/semaphore.c:420: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[256]; data/multiprocess-0.70.11.1/py2.6/Modules/_multiprocess/socket_connection.c:90:9: [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(message+4, string, length); data/multiprocess-0.70.11.1/py2.7/Modules/_multiprocess/multiprocess.c:112:18: [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. unsigned char buf[CMSG_SPACE(sizeof(int))]; data/multiprocess-0.70.11.1/py2.7/Modules/_multiprocess/multiprocess.c:152:18: [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. unsigned char buf[CMSG_SPACE(sizeof(int))]; data/multiprocess-0.70.11.1/py2.7/Modules/_multiprocess/multiprocess.h:175: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[CONNECTION_BUFFER_SIZE]; data/multiprocess-0.70.11.1/py2.7/Modules/_multiprocess/pipe_connection.c:74: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(*newbuffer, buffer, length); data/multiprocess-0.70.11.1/py2.7/Modules/_multiprocess/semaphore.c:427: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[256]; data/multiprocess-0.70.11.1/py2.7/Modules/_multiprocess/socket_connection.c:119:9: [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(message+4, string, length); data/multiprocess-0.70.11.1/py3.1/Modules/_multiprocess/multiprocess.c:106: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 buf[CMSG_SPACE(sizeof(int))]; data/multiprocess-0.70.11.1/py3.1/Modules/_multiprocess/multiprocess.c:141: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 buf[CMSG_SPACE(sizeof(int))]; data/multiprocess-0.70.11.1/py3.1/Modules/_multiprocess/multiprocess.h:169: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[CONNECTION_BUFFER_SIZE]; data/multiprocess-0.70.11.1/py3.1/Modules/_multiprocess/pipe_connection.c:74: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(*newbuffer, buffer, length); data/multiprocess-0.70.11.1/py3.1/Modules/_multiprocess/semaphore.c:420: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[256]; data/multiprocess-0.70.11.1/py3.1/Modules/_multiprocess/socket_connection.c:90:9: [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(message+4, string, length); data/multiprocess-0.70.11.1/py3.2/Modules/_multiprocess/multiprocess.c:112:18: [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. unsigned char buf[CMSG_SPACE(sizeof(int))]; data/multiprocess-0.70.11.1/py3.2/Modules/_multiprocess/multiprocess.c:152:18: [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. unsigned char buf[CMSG_SPACE(sizeof(int))]; data/multiprocess-0.70.11.1/py3.2/Modules/_multiprocess/multiprocess.h:175: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[CONNECTION_BUFFER_SIZE]; data/multiprocess-0.70.11.1/py3.2/Modules/_multiprocess/pipe_connection.c:74: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(*newbuffer, buffer, length); data/multiprocess-0.70.11.1/py3.2/Modules/_multiprocess/semaphore.c:429: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[256]; data/multiprocess-0.70.11.1/py3.2/Modules/_multiprocess/socket_connection.c:94:9: [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(message+4, string, length); data/multiprocess-0.70.11.1/py3.3/Modules/_multiprocess/semaphore.c:418: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[256]; data/multiprocess-0.70.11.1/py2.5/Modules/_processing/socket_connection.c:18:35: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # define READ(h, buffer, length) read(h, buffer, length) data/multiprocess-0.70.11.1/py2.6/Modules/_multiprocess/socket_connection.c:17:35: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # define READ(h, buffer, length) read(h, buffer, length) data/multiprocess-0.70.11.1/py2.7/Modules/_multiprocess/socket_connection.c:21:35: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # define READ(h, buffer, length) read(h, buffer, length) data/multiprocess-0.70.11.1/py3.1/Modules/_multiprocess/socket_connection.c:17:35: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # define READ(h, buffer, length) read(h, buffer, length) data/multiprocess-0.70.11.1/py3.2/Modules/_multiprocess/socket_connection.c:21:35: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # define READ(h, buffer, length) read(h, buffer, length) data/multiprocess-0.70.11.1/py3.4/Modules/_multiprocess/semaphore.c:438: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). name_copy = PyMem_Malloc(strlen(name) + 1); data/multiprocess-0.70.11.1/py3.4/Modules/_multiprocess/semaphore.c:479: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). name_copy = PyMem_Malloc(strlen(name) + 1); data/multiprocess-0.70.11.1/py3.5/Modules/_multiprocess/semaphore.c:441: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). name_copy = PyMem_Malloc(strlen(name) + 1); data/multiprocess-0.70.11.1/py3.5/Modules/_multiprocess/semaphore.c:482: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). name_copy = PyMem_Malloc(strlen(name) + 1); data/multiprocess-0.70.11.1/py3.6/Modules/_multiprocess/semaphore.c:441: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). name_copy = PyMem_Malloc(strlen(name) + 1); data/multiprocess-0.70.11.1/py3.6/Modules/_multiprocess/semaphore.c:485: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). name_copy = PyMem_Malloc(strlen(name) + 1); data/multiprocess-0.70.11.1/py3.7/Modules/_multiprocess/semaphore.c:451: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). name_copy = PyMem_Malloc(strlen(name) + 1); data/multiprocess-0.70.11.1/py3.7/Modules/_multiprocess/semaphore.c:495: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). name_copy = PyMem_Malloc(strlen(name) + 1); data/multiprocess-0.70.11.1/py3.8/Modules/_multiprocess/semaphore.c:451: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). name_copy = PyMem_Malloc(strlen(name) + 1); data/multiprocess-0.70.11.1/py3.8/Modules/_multiprocess/semaphore.c:495: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). name_copy = PyMem_Malloc(strlen(name) + 1); data/multiprocess-0.70.11.1/py3.9/Modules/_multiprocess/semaphore.c:452: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). name_copy = PyMem_Malloc(strlen(name) + 1); data/multiprocess-0.70.11.1/py3.9/Modules/_multiprocess/semaphore.c:496: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). name_copy = PyMem_Malloc(strlen(name) + 1); ANALYSIS SUMMARY: Hits = 61 Lines analyzed = 19131 in approximately 0.50 seconds (37899 lines/second) Physical Source Lines of Code (SLOC) = 14369 Hits@level = [0] 17 [1] 17 [2] 32 [3] 0 [4] 12 [5] 0 Hits@level+ = [0+] 78 [1+] 61 [2+] 44 [3+] 12 [4+] 12 [5+] 0 Hits/KSLOC@level+ = [0+] 5.42835 [1+] 4.24525 [2+] 3.06215 [3+] 0.835131 [4+] 0.835131 [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.