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/taktuk-3.7.7/C-Module/taktuk.c
Examining data/taktuk-3.7.7/C-Module/taktuk.h
Examining data/taktuk-3.7.7/tests/comm_c/communication.c
Examining data/taktuk-3.7.7/tests/comm_c/communication2.c
Examining data/taktuk-3.7.7/tests/comm_c/communication3.c
Examining data/taktuk-3.7.7/tests/comm_c/communication4.c
Examining data/taktuk-3.7.7/tests/comm_c/communication5.c

FINAL RESULTS:

data/taktuk-3.7.7/C-Module/taktuk.c:40:23:  [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.
#define debug(f, ...) printf("DEBUG (Line %d) : " f, __LINE__, ##__VA_ARGS__);\
data/taktuk-3.7.7/tests/comm_c/communication5.c:58:5:  [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(my_buffer, p->message);
data/taktuk-3.7.7/tests/comm_c/communication5.c:60:5:  [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(my_buffer, tid);
data/taktuk-3.7.7/C-Module/taktuk.c:124: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.
        fd_string = getenv("TAKTUK_CONTROL_READ");
data/taktuk-3.7.7/C-Module/taktuk.c:132: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.
        fd_string = getenv("TAKTUK_CONTROL_WRITE");
data/taktuk-3.7.7/C-Module/taktuk.c:318:23:  [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.
        taktuk_from = getenv("TAKTUK_RANK");
data/taktuk-3.7.7/tests/comm_c/communication4.c:70:5:  [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((long) pthread_self());
data/taktuk-3.7.7/tests/comm_c/communication5.c:62:5:  [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((long int) pthread_self());
data/taktuk-3.7.7/C-Module/taktuk.c:126:28:  [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).
            taktuk_fd[0] = atoi(fd_string);
data/taktuk-3.7.7/C-Module/taktuk.c:134:28:  [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).
            taktuk_fd[1] = atoi(fd_string);
data/taktuk-3.7.7/C-Module/taktuk.c:208: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(pos, mem, length);
data/taktuk-3.7.7/C-Module/taktuk.c:226: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(mem, pos, length);
data/taktuk-3.7.7/C-Module/taktuk.c:231: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 header_buffer[sizeof(uint32_t)+MSG_LENGTH];
data/taktuk-3.7.7/C-Module/taktuk.c:286:13:  [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(buffer, data+position, size);
data/taktuk-3.7.7/C-Module/taktuk.c:304: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[HEADER_BUFFER];
data/taktuk-3.7.7/C-Module/taktuk.c:387:9:  [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(target_name,"any");
data/taktuk-3.7.7/C-Module/taktuk.c:390:9:  [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(target_name,"all");
data/taktuk-3.7.7/C-Module/taktuk.c:393:9:  [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(target_name,"output");
data/taktuk-3.7.7/C-Module/taktuk.c:396:9:  [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.
        sprintf(target_name,"%lu",target);
data/taktuk-3.7.7/C-Module/taktuk.c:440: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[SMALL_BUFFER];
data/taktuk-3.7.7/C-Module/taktuk.c:457: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(current, field, length);
data/taktuk-3.7.7/C-Module/taktuk.c:531: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 dest_name[SMALL_BUFFER], target_name[SMALL_BUFFER];
data/taktuk-3.7.7/C-Module/taktuk.c:532:5:  [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.
    sprintf(dest_name,"%lu",dest);
data/taktuk-3.7.7/C-Module/taktuk.c:539: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 dest_name[SMALL_BUFFER], target_name[SMALL_BUFFER];
data/taktuk-3.7.7/C-Module/taktuk.c:540:5:  [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.
    sprintf(dest_name,"%lu",dest);
data/taktuk-3.7.7/C-Module/taktuk.c:563: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[SMALL_BUFFER];
data/taktuk-3.7.7/C-Module/taktuk.c:585: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[SMALL_BUFFER];
data/taktuk-3.7.7/C-Module/taktuk.c:603:9:  [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.
        sprintf(current, "%lu.%06lu",
data/taktuk-3.7.7/tests/comm_c/communication.c:32: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[1024];
data/taktuk-3.7.7/tests/comm_c/communication.c:34: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 sample_string[128] = "Salut, toi";
data/taktuk-3.7.7/tests/comm_c/communication2.c:35: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 first_part[128];
data/taktuk-3.7.7/tests/comm_c/communication2.c:36: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 second_part[128];
data/taktuk-3.7.7/tests/comm_c/communication2.c:71:21:  [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 *) vecteur[0].iov_base,
data/taktuk-3.7.7/tests/comm_c/communication2.c:72:21:  [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 *) vecteur[1].iov_base, from);
data/taktuk-3.7.7/tests/comm_c/communication2.c:77:9:  [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(first_part, "Salut, toi ");
data/taktuk-3.7.7/tests/comm_c/communication2.c:78:9:  [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(second_part, "de 1");
data/taktuk-3.7.7/tests/comm_c/communication2.c:102:21:  [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 *) vecteur[0].iov_base,
data/taktuk-3.7.7/tests/comm_c/communication2.c:103:21:  [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 *) vecteur[1].iov_base, from);
data/taktuk-3.7.7/tests/comm_c/communication3.c:34: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[1024];
data/taktuk-3.7.7/tests/comm_c/communication3.c:36: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 sample_string[128];
data/taktuk-3.7.7/tests/comm_c/communication3.c:54: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).
    for (i=0; i<atoi(argv[1]); i++)
data/taktuk-3.7.7/tests/comm_c/communication3.c:58:13:  [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.
            sprintf(sample_string, "Ping %d", i);
data/taktuk-3.7.7/tests/comm_c/communication3.c:94:13:  [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.
            sprintf(sample_string, "Pong %d", i);
data/taktuk-3.7.7/tests/comm_c/communication4.c:57: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 tid[32];
data/taktuk-3.7.7/tests/comm_c/communication4.c:59:5:  [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.
    sprintf(tid,"(thread %ld)",(long int) pthread_self());
data/taktuk-3.7.7/tests/comm_c/communication4.c:87: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 parts[3][128];
data/taktuk-3.7.7/tests/comm_c/communication4.c:118:21:  [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 *) vecteur[0].iov_base,
data/taktuk-3.7.7/tests/comm_c/communication4.c:119:21:  [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 *) vecteur[1].iov_base,
data/taktuk-3.7.7/tests/comm_c/communication4.c:120:21:  [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 *) vecteur[2].iov_base,
data/taktuk-3.7.7/tests/comm_c/communication4.c:129: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 first_part[128];
data/taktuk-3.7.7/tests/comm_c/communication4.c:130: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 second_part[128];
data/taktuk-3.7.7/tests/comm_c/communication4.c:142:18:  [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).
    nb_threads = atoi(argv[1]);
data/taktuk-3.7.7/tests/comm_c/communication4.c:161:30:  [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).
    sender_parameters.iter = atoi(argv[2]);
data/taktuk-3.7.7/tests/comm_c/communication4.c:166:32:  [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).
    receiver_parameters.iter = atoi(argv[2]);
data/taktuk-3.7.7/tests/comm_c/communication4.c:169:42:  [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).
    receiver_parameters.timeout.tv_sec = atoi(argv[3]);
data/taktuk-3.7.7/tests/comm_c/communication4.c:172: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(first_part, "Salut, toi...");
data/taktuk-3.7.7/tests/comm_c/communication4.c:173: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(second_part, "...petit processus");
data/taktuk-3.7.7/tests/comm_c/communication5.c:54: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 my_buffer[1024];
data/taktuk-3.7.7/tests/comm_c/communication5.c:56: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 tid[32];
data/taktuk-3.7.7/tests/comm_c/communication5.c:59:5:  [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.
    sprintf(tid," (thread %ld)",(long int) pthread_self());
data/taktuk-3.7.7/tests/comm_c/communication5.c:80: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 my_buffer[1024];
data/taktuk-3.7.7/tests/comm_c/communication5.c:113: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/taktuk-3.7.7/tests/comm_c/communication5.c:125:18:  [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).
    nb_threads = atoi(argv[1]);
data/taktuk-3.7.7/tests/comm_c/communication5.c:140:30:  [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).
    sender_parameters.iter = atoi(argv[2]);
data/taktuk-3.7.7/tests/comm_c/communication5.c:145:32:  [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).
    receiver_parameters.iter = atoi(argv[2]);
data/taktuk-3.7.7/tests/comm_c/communication5.c:148:42:  [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).
    receiver_parameters.timeout.tv_sec = atoi(argv[3]);
data/taktuk-3.7.7/tests/comm_c/communication5.c:151: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, "Mon super message");
data/taktuk-3.7.7/C-Module/taktuk.c:104:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        result = read(fd, buffer, size);
data/taktuk-3.7.7/C-Module/taktuk.c:320: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).
            taktuk_from_size = strlen(taktuk_from);
data/taktuk-3.7.7/C-Module/taktuk.c:324: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).
    dest_size = strlen(dest);
data/taktuk-3.7.7/C-Module/taktuk.c:325: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).
    target_size = strlen(target);
data/taktuk-3.7.7/C-Module/taktuk.c:456: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).
    length = strlen(field);
data/taktuk-3.7.7/C-Module/taktuk.c:606: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).
        buffer_size += strlen(current);
data/taktuk-3.7.7/tests/comm_c/communication3.c:59: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).
            length = strlen(sample_string)+1;
data/taktuk-3.7.7/tests/comm_c/communication3.c:95: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).
            length = strlen(sample_string)+1;
data/taktuk-3.7.7/tests/comm_c/communication5.c:67:59:  [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(my_buffer)+1);

ANALYSIS SUMMARY:

Hits = 76
Lines analyzed = 1582 in approximately 0.09 seconds (16789 lines/second)
Physical Source Lines of Code (SLOC) = 1133
Hits@level = [0]  50 [1]   9 [2]  59 [3]   5 [4]   3 [5]   0
Hits@level+ = [0+] 126 [1+]  76 [2+]  67 [3+]   8 [4+]   3 [5+]   0
Hits/KSLOC@level+ = [0+] 111.209 [1+] 67.0786 [2+] 59.135 [3+] 7.0609 [4+] 2.64784 [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.