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/libepsilon-0.9.2+dfsg/lib/pad.h
Examining data/libepsilon-0.9.2+dfsg/lib/list.h
Examining data/libepsilon-0.9.2+dfsg/lib/epsilon.h
Examining data/libepsilon-0.9.2+dfsg/lib/daub97lift.h
Examining data/libepsilon-0.9.2+dfsg/lib/bit_io.c
Examining data/libepsilon-0.9.2+dfsg/lib/mem_alloc.h
Examining data/libepsilon-0.9.2+dfsg/lib/speck.c
Examining data/libepsilon-0.9.2+dfsg/lib/cobs.h
Examining data/libepsilon-0.9.2+dfsg/lib/merge_split.c
Examining data/libepsilon-0.9.2+dfsg/lib/dc_level.h
Examining data/libepsilon-0.9.2+dfsg/lib/dc_level.c
Examining data/libepsilon-0.9.2+dfsg/lib/merge_split.h
Examining data/libepsilon-0.9.2+dfsg/lib/speck.h
Examining data/libepsilon-0.9.2+dfsg/lib/pad.c
Examining data/libepsilon-0.9.2+dfsg/lib/color.c
Examining data/libepsilon-0.9.2+dfsg/lib/resample.h
Examining data/libepsilon-0.9.2+dfsg/lib/mem_alloc.c
Examining data/libepsilon-0.9.2+dfsg/lib/libmain.h
Examining data/libepsilon-0.9.2+dfsg/lib/filterbank.c
Examining data/libepsilon-0.9.2+dfsg/lib/checksum.c
Examining data/libepsilon-0.9.2+dfsg/lib/common.h
Examining data/libepsilon-0.9.2+dfsg/lib/libmain.c
Examining data/libepsilon-0.9.2+dfsg/lib/msvc/inttypes.h
Examining data/libepsilon-0.9.2+dfsg/lib/msvc/stdint.h
Examining data/libepsilon-0.9.2+dfsg/lib/cobs.c
Examining data/libepsilon-0.9.2+dfsg/lib/color.h
Examining data/libepsilon-0.9.2+dfsg/lib/resample.c
Examining data/libepsilon-0.9.2+dfsg/lib/common.c
Examining data/libepsilon-0.9.2+dfsg/lib/filterbank.h
Examining data/libepsilon-0.9.2+dfsg/lib/checksum.h
Examining data/libepsilon-0.9.2+dfsg/lib/list.c
Examining data/libepsilon-0.9.2+dfsg/lib/filter.c
Examining data/libepsilon-0.9.2+dfsg/lib/filter.h
Examining data/libepsilon-0.9.2+dfsg/lib/bit_io.h
Examining data/libepsilon-0.9.2+dfsg/tools/make_number_of_bits_table.c
Examining data/libepsilon-0.9.2+dfsg/tools/make_RGB_to_YCbCr_table.c
Examining data/libepsilon-0.9.2+dfsg/src/cmd_list_all_fb.c
Examining data/libepsilon-0.9.2+dfsg/src/cmd_decode_file.h
Examining data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.h
Examining data/libepsilon-0.9.2+dfsg/src/pbm.c
Examining data/libepsilon-0.9.2+dfsg/src/psi.h
Examining data/libepsilon-0.9.2+dfsg/src/cmd_list_all_fb.h
Examining data/libepsilon-0.9.2+dfsg/src/misc.h
Examining data/libepsilon-0.9.2+dfsg/src/misc.c
Examining data/libepsilon-0.9.2+dfsg/src/cmd_version.c
Examining data/libepsilon-0.9.2+dfsg/src/psi.c
Examining data/libepsilon-0.9.2+dfsg/src/worker_mpi_node.h
Examining data/libepsilon-0.9.2+dfsg/src/epsilon.c
Examining data/libepsilon-0.9.2+dfsg/src/cmd_version.h
Examining data/libepsilon-0.9.2+dfsg/src/cmd_truncate_file.c
Examining data/libepsilon-0.9.2+dfsg/src/pbm.h
Examining data/libepsilon-0.9.2+dfsg/src/options.h
Examining data/libepsilon-0.9.2+dfsg/src/cmd_start_node.h
Examining data/libepsilon-0.9.2+dfsg/src/epsilon_version.h
Examining data/libepsilon-0.9.2+dfsg/src/cmd_truncate_file.h
Examining data/libepsilon-0.9.2+dfsg/src/cmd_decode_file.c
Examining data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.c
Examining data/libepsilon-0.9.2+dfsg/src/cmd_start_node.c
Examining data/libepsilon-0.9.2+dfsg/src/worker_mpi_node.c

FINAL RESULTS:

data/libepsilon-0.9.2+dfsg/lib/common.h:44:9:  [4] (format) snprintf:
  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.
#define snprintf    _snprintf
data/libepsilon-0.9.2+dfsg/lib/common.h:44:21:  [4] (format) _snprintf:
  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.
#define snprintf    _snprintf
data/libepsilon-0.9.2+dfsg/src/misc.h:34:9:  [4] (format) snprintf:
  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.
#define snprintf    _snprintf
data/libepsilon-0.9.2+dfsg/src/misc.h:34:21:  [4] (format) _snprintf:
  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.
#define snprintf    _snprintf
data/libepsilon-0.9.2+dfsg/src/cmd_decode_file.c:1137:13:  [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("HOME")) {
data/libepsilon-0.9.2+dfsg/src/cmd_decode_file.c:1142:17:  [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.
                getenv("HOME"), DIR_SEPARATOR, DEFAULT_NODE_LIST);
data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.c:1243:13:  [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("HOME")) {
data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.c:1248:17:  [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.
                getenv("HOME"), DIR_SEPARATOR, DEFAULT_NODE_LIST);
data/libepsilon-0.9.2+dfsg/lib/libmain.c:200: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 fb_id[32];
data/libepsilon-0.9.2+dfsg/lib/libmain.c:346: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 fb_id[32];
data/libepsilon-0.9.2+dfsg/lib/libmain.c:769: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(buf_next, stuff_buf, stuff_cut);
data/libepsilon-0.9.2+dfsg/lib/libmain.c:1232: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(buf_next, stuff_buf, stuff_cut);
data/libepsilon-0.9.2+dfsg/lib/libmain.c:1580: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(buf_out, buf_in, *truncate_size);
data/libepsilon-0.9.2+dfsg/src/cmd_decode_file.c:98: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 progress_buf[MAX_LINE];
data/libepsilon-0.9.2+dfsg/src/cmd_decode_file.c:99: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 timer_buf[MAX_TIMER_LINE];
data/libepsilon-0.9.2+dfsg/src/cmd_decode_file.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 ip_addr[INET_ADDRSTRLEN];
data/libepsilon-0.9.2+dfsg/src/cmd_decode_file.c:494: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 psi_file[MAX_PATH];
data/libepsilon-0.9.2+dfsg/src/cmd_decode_file.c:495: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 pbm_file[MAX_PATH];
data/libepsilon-0.9.2+dfsg/src/cmd_decode_file.c:498: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 progress_buf[MAX_LINE];
data/libepsilon-0.9.2+dfsg/src/cmd_decode_file.c:499: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 timer_buf[MAX_TIMER_LINE];
data/libepsilon-0.9.2+dfsg/src/cmd_decode_file.c:895: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 psi_file[MAX_PATH];
data/libepsilon-0.9.2+dfsg/src/cmd_decode_file.c:896: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 pbm_file[MAX_PATH];
data/libepsilon-0.9.2+dfsg/src/cmd_decode_file.c:899: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 progress_buf[MAX_LINE];
data/libepsilon-0.9.2+dfsg/src/cmd_decode_file.c:1121: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 timer_buf[MAX_TIMER_LINE];
data/libepsilon-0.9.2+dfsg/src/cmd_decode_file.c:1138:13:  [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 pathname[MAX_PATH];
data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.c:99: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 pbm_file[MAX_PATH];
data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.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 psi_file[MAX_PATH];
data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.c:103: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 progress_buf[MAX_LINE];
data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.c:104: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 timer_buf[MAX_TIMER_LINE];
data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.c:598: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 progress_buf[MAX_LINE];
data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.c:599: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 timer_buf[MAX_TIMER_LINE];
data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.c:635: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 ip_addr[INET_ADDRSTRLEN];
data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.c:991: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 pbm_file[MAX_PATH];
data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.c:992: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 psi_file[MAX_PATH];
data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.c:995: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 progress_buf[MAX_LINE];
data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.c:1229: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 timer_buf[MAX_TIMER_LINE];
data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.c:1244:13:  [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 pathname[MAX_PATH];
data/libepsilon-0.9.2+dfsg/src/cmd_start_node.c:342: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 ip_addr[INET_ADDRSTRLEN];
data/libepsilon-0.9.2+dfsg/src/cmd_start_node.c:396: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 filter[64];
data/libepsilon-0.9.2+dfsg/src/cmd_start_node.c:493: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 filter[64];
data/libepsilon-0.9.2+dfsg/src/cmd_start_node.c:812: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[MAX_NODE_LINE];
data/libepsilon-0.9.2+dfsg/src/cmd_start_node.c:817:14:  [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 ((f = fopen(pathname, "rb")) == NULL) {
data/libepsilon-0.9.2+dfsg/src/cmd_start_node.c:824:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char user[32];
data/libepsilon-0.9.2+dfsg/src/cmd_start_node.c:825:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char host[64];
data/libepsilon-0.9.2+dfsg/src/cmd_start_node.c:855: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(&nodes[i].sin_addr, he->h_addr_list[0], he->h_length);
data/libepsilon-0.9.2+dfsg/src/cmd_truncate_file.c:53: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 psi_in_file[MAX_PATH];
data/libepsilon-0.9.2+dfsg/src/cmd_truncate_file.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 psi_out_file[MAX_PATH];
data/libepsilon-0.9.2+dfsg/src/cmd_truncate_file.c:55: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 progress_buf[MAX_LINE];
data/libepsilon-0.9.2+dfsg/src/cmd_truncate_file.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 timer_buf[MAX_TIMER_LINE];
data/libepsilon-0.9.2+dfsg/src/cmd_truncate_file.c:324: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 timer_buf[MAX_TIMER_LINE];
data/libepsilon-0.9.2+dfsg/src/pbm.c:138:14:  [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).
    pbm->f = fopen(pathname, "rb");
data/libepsilon-0.9.2+dfsg/src/pbm.c:228:14:  [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).
    pbm->f = fopen(pathname, "wb+");
data/libepsilon-0.9.2+dfsg/src/psi.c:40:14:  [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).
    psi->f = fopen(pathname, "rb");
data/libepsilon-0.9.2+dfsg/src/psi.c:53:14:  [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).
    psi->f = fopen(pathname, "wb");
data/libepsilon-0.9.2+dfsg/src/worker_mpi_node.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 filter_id[64];
data/libepsilon-0.9.2+dfsg/src/worker_mpi_node.c:207: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 filter_id[64];
data/libepsilon-0.9.2+dfsg/lib/libmain.c:160: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).
    buf[strlen((char *) buf)] = ';';
data/libepsilon-0.9.2+dfsg/lib/libmain.c:167: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).
    len = strlen((char *) buf);
data/libepsilon-0.9.2+dfsg/lib/libmain.c:234: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).
    len = strlen(str);
data/libepsilon-0.9.2+dfsg/lib/libmain.c:380: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).
    len = strlen(str);
data/libepsilon-0.9.2+dfsg/lib/libmain.c:536:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    if ((strlen(str) == 7) && (strcmp(str, "type=gs") == 0)) {
data/libepsilon-0.9.2+dfsg/lib/libmain.c:538: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).
    } else if ((strlen(str) == 7) && (strcmp(str, "type=tc") == 0)) {
data/libepsilon-0.9.2+dfsg/src/cmd_decode_file.c:63: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(file) < 5) {
data/libepsilon-0.9.2+dfsg/src/cmd_decode_file.c:69:27:  [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 ((ext == NULL) || (strlen(ext) != 4)) {
data/libepsilon-0.9.2+dfsg/src/cmd_decode_file.c:444:31:  [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).
            *ctx->clear_len = strlen(progress_buf);
data/libepsilon-0.9.2+dfsg/src/cmd_decode_file.c:668: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).
        clear_len = strlen(progress_buf);
data/libepsilon-0.9.2+dfsg/src/cmd_decode_file.c:855:25:  [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).
            clear_len = strlen(progress_buf);
data/libepsilon-0.9.2+dfsg/src/cmd_decode_file.c:1048: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).
        clear_len = strlen(progress_buf);
data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.c:64: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(file) < 5) {
data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.c:70:27:  [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 ((ext == NULL) || (strlen(ext) != 4)) {
data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.c:254: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).
        clear_len = strlen(progress_buf);
data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.c:359:45:  [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).
                assert(MPI_Isend(filter_id, strlen(filter_id) + 1,
data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.c:459:45:  [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).
                assert(MPI_Isend(filter_id, strlen(filter_id) + 1,
data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.c:541:25:  [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).
            clear_len = strlen(progress_buf);
data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.c:715: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).
        int len = strlen(ctx->filter_id);
data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.c:936:35:  [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).
                *ctx->clear_len = strlen(progress_buf);
data/libepsilon-0.9.2+dfsg/src/cmd_encode_file.c:1124: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).
        clear_len = strlen(progress_buf);
data/libepsilon-0.9.2+dfsg/src/cmd_start_node.c:92:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if ((nread = read(fd, p, nleft)) == -1) {
data/libepsilon-0.9.2+dfsg/src/cmd_truncate_file.c:198: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).
        clear_len = strlen(progress_buf);
data/libepsilon-0.9.2+dfsg/src/cmd_truncate_file.c:286:25:  [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).
            clear_len = strlen(progress_buf);
data/libepsilon-0.9.2+dfsg/src/pbm.c:82:10:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    ch = getc(f);
data/libepsilon-0.9.2+dfsg/src/pbm.c:87:18:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            ch = getc(f);
data/libepsilon-0.9.2+dfsg/src/pbm.c:151:9:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (getc(pbm->f) != 'P') {
data/libepsilon-0.9.2+dfsg/src/pbm.c:155:13:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    switch (getc(pbm->f)) {
data/libepsilon-0.9.2+dfsg/src/pbm.c:306:22:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            int ch = fgetc(pbm->f);
data/libepsilon-0.9.2+dfsg/src/pbm.c:425:23:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if ((ch = fgetc(pbm->f)) != EOF) {
data/libepsilon-0.9.2+dfsg/src/pbm.c:431:23:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if ((ch = fgetc(pbm->f)) != EOF) {
data/libepsilon-0.9.2+dfsg/src/pbm.c:437:23:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if ((ch = fgetc(pbm->f)) != EOF) {
data/libepsilon-0.9.2+dfsg/src/psi.c:83:14:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ch = fgetc(psi->f);
data/libepsilon-0.9.2+dfsg/src/psi.c:98:14:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        ch = fgetc(psi->f);

ANALYSIS SUMMARY:

Hits = 90
Lines analyzed = 18165 in approximately 0.48 seconds (37526 lines/second)
Physical Source Lines of Code (SLOC) = 11329
Hits@level = [0] 201 [1]  34 [2]  48 [3]   4 [4]   4 [5]   0
Hits@level+ = [0+] 291 [1+]  90 [2+]  56 [3+]   8 [4+]   4 [5+]   0
Hits/KSLOC@level+ = [0+] 25.6863 [1+] 7.94421 [2+] 4.94307 [3+] 0.706152 [4+] 0.353076 [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.