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/c-blosc-1.17.1+ds1/bench/bench.c
Examining data/c-blosc-1.17.1+ds1/blosc/bitshuffle-avx2.c
Examining data/c-blosc-1.17.1+ds1/blosc/bitshuffle-avx2.h
Examining data/c-blosc-1.17.1+ds1/blosc/bitshuffle-generic.c
Examining data/c-blosc-1.17.1+ds1/blosc/bitshuffle-generic.h
Examining data/c-blosc-1.17.1+ds1/blosc/bitshuffle-sse2.c
Examining data/c-blosc-1.17.1+ds1/blosc/bitshuffle-sse2.h
Examining data/c-blosc-1.17.1+ds1/blosc/blosc-common.h
Examining data/c-blosc-1.17.1+ds1/blosc/blosc-comp-features.h
Examining data/c-blosc-1.17.1+ds1/blosc/blosc-export.h
Examining data/c-blosc-1.17.1+ds1/blosc/blosc.c
Examining data/c-blosc-1.17.1+ds1/blosc/blosc.h
Examining data/c-blosc-1.17.1+ds1/blosc/blosclz.c
Examining data/c-blosc-1.17.1+ds1/blosc/blosclz.h
Examining data/c-blosc-1.17.1+ds1/blosc/fastcopy.c
Examining data/c-blosc-1.17.1+ds1/blosc/fastcopy.h
Examining data/c-blosc-1.17.1+ds1/blosc/shuffle-avx2.c
Examining data/c-blosc-1.17.1+ds1/blosc/shuffle-avx2.h
Examining data/c-blosc-1.17.1+ds1/blosc/shuffle-generic.c
Examining data/c-blosc-1.17.1+ds1/blosc/shuffle-generic.h
Examining data/c-blosc-1.17.1+ds1/blosc/shuffle-sse2.c
Examining data/c-blosc-1.17.1+ds1/blosc/shuffle-sse2.h
Examining data/c-blosc-1.17.1+ds1/blosc/shuffle.c
Examining data/c-blosc-1.17.1+ds1/blosc/shuffle.h
Examining data/c-blosc-1.17.1+ds1/compat/filegen.c
Examining data/c-blosc-1.17.1+ds1/examples/many_compressors.c
Examining data/c-blosc-1.17.1+ds1/examples/multithread.c
Examining data/c-blosc-1.17.1+ds1/examples/noinit.c
Examining data/c-blosc-1.17.1+ds1/examples/simple.c
Examining data/c-blosc-1.17.1+ds1/examples/win-dynamic-linking.c
Examining data/c-blosc-1.17.1+ds1/test_package/example.cpp
Examining data/c-blosc-1.17.1+ds1/tests/gcc-segfault-issue.c
Examining data/c-blosc-1.17.1+ds1/tests/print_versions.c
Examining data/c-blosc-1.17.1+ds1/tests/test_api.c
Examining data/c-blosc-1.17.1+ds1/tests/test_common.h
Examining data/c-blosc-1.17.1+ds1/tests/test_compress_roundtrip.c
Examining data/c-blosc-1.17.1+ds1/tests/test_compressor.c
Examining data/c-blosc-1.17.1+ds1/tests/test_forksafe.c
Examining data/c-blosc-1.17.1+ds1/tests/test_getitem.c
Examining data/c-blosc-1.17.1+ds1/tests/test_maxout.c
Examining data/c-blosc-1.17.1+ds1/tests/test_noinit.c
Examining data/c-blosc-1.17.1+ds1/tests/test_nolock.c
Examining data/c-blosc-1.17.1+ds1/tests/test_nthreads.c
Examining data/c-blosc-1.17.1+ds1/tests/test_shuffle_roundtrip_avx2.c
Examining data/c-blosc-1.17.1+ds1/tests/test_shuffle_roundtrip_generic.c
Examining data/c-blosc-1.17.1+ds1/tests/test_shuffle_roundtrip_sse2.c

FINAL RESULTS:

data/c-blosc-1.17.1+ds1/bench/bench.c:404:3:  [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(compressor, argv[1]);
data/c-blosc-1.17.1+ds1/bench/bench.c:418:7:  [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(shuffle, argv[2]);
data/c-blosc-1.17.1+ds1/bench/bench.c:431: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(bsuite, argv[3]);
data/c-blosc-1.17.1+ds1/blosc/blosc.c:2043:3:  [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(ret, BLOSC_BLOSCLZ_COMPNAME);
data/c-blosc-1.17.1+ds1/blosc/blosc.c:2045:21:  [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(ret, ","); strcat(ret, BLOSC_LZ4_COMPNAME);
data/c-blosc-1.17.1+ds1/blosc/blosc.c:2046:21:  [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(ret, ","); strcat(ret, BLOSC_LZ4HC_COMPNAME);
data/c-blosc-1.17.1+ds1/blosc/blosc.c:2049:21:  [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(ret, ","); strcat(ret, BLOSC_SNAPPY_COMPNAME);
data/c-blosc-1.17.1+ds1/blosc/blosc.c:2052:21:  [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(ret, ","); strcat(ret, BLOSC_ZLIB_COMPNAME);
data/c-blosc-1.17.1+ds1/blosc/blosc.c:2055:21:  [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(ret, ","); strcat(ret, BLOSC_ZSTD_COMPNAME);
data/c-blosc-1.17.1+ds1/bench/bench.c:157:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand(1);
data/c-blosc-1.17.1+ds1/blosc/blosc.c:1302:12:  [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.
  envvar = getenv("BLOSC_CLEVEL");
data/c-blosc-1.17.1+ds1/blosc/blosc.c:1311:12:  [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.
  envvar = getenv("BLOSC_SHUFFLE");
data/c-blosc-1.17.1+ds1/blosc/blosc.c:1324:12:  [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.
  envvar = getenv("BLOSC_TYPESIZE");
data/c-blosc-1.17.1+ds1/blosc/blosc.c:1333:12:  [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.
  envvar = getenv("BLOSC_COMPRESSOR");
data/c-blosc-1.17.1+ds1/blosc/blosc.c:1339:12:  [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.
  envvar = getenv("BLOSC_BLOCKSIZE");
data/c-blosc-1.17.1+ds1/blosc/blosc.c:1348:12:  [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.
  envvar = getenv("BLOSC_NTHREADS");
data/c-blosc-1.17.1+ds1/blosc/blosc.c:1358:12:  [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.
  envvar = getenv("BLOSC_SPLITMODE");
data/c-blosc-1.17.1+ds1/blosc/blosc.c:1381:12:  [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.
  envvar = getenv("BLOSC_NOLOCK");
data/c-blosc-1.17.1+ds1/blosc/blosc.c:1539:12:  [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.
  envvar = getenv("BLOSC_NTHREADS");
data/c-blosc-1.17.1+ds1/blosc/blosc.c:1551:12:  [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.
  envvar = getenv("BLOSC_NOLOCK");
data/c-blosc-1.17.1+ds1/blosc/shuffle.c:264:12:  [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.
  envvar = getenv("BLOSC_PRINT_SHUFFLE_ACCEL");
data/c-blosc-1.17.1+ds1/examples/win-dynamic-linking.c:59:10:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
  BDLL = LoadLibrary(TEXT("myblosc.dll"));
data/c-blosc-1.17.1+ds1/bench/bench.c:212: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(srccpy, src, size);
data/c-blosc-1.17.1+ds1/bench/bench.c:231: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.
      memcpy(dest[j], src, size);
data/c-blosc-1.17.1+ds1/bench/bench.c:242: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.
      memcpy(dest2, dest[j], size);
data/c-blosc-1.17.1+ds1/bench/bench.c:274: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(dest[j], src, size);
data/c-blosc-1.17.1+ds1/bench/bench.c:282:11:  [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(dest2, dest[j], size);
data/c-blosc-1.17.1+ds1/bench/bench.c:372: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 compressor[32];
data/c-blosc-1.17.1+ds1/bench/bench.c:373: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 shuffle[32] = "shuffle";
data/c-blosc-1.17.1+ds1/bench/bench.c:374: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 bsuite[32];
data/c-blosc-1.17.1+ds1/bench/bench.c:390: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 usage[256];
data/c-blosc-1.17.1+ds1/bench/bench.c:429: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(bsuite, "single");
data/c-blosc-1.17.1+ds1/bench/bench.c:483:16:  [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).
    nthreads = atoi(argv[4]);
data/c-blosc-1.17.1+ds1/bench/bench.c:486:12:  [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).
    size = atoi(argv[5]);
data/c-blosc-1.17.1+ds1/bench/bench.c:489:14:  [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).
    elsize = atoi(argv[6]);
data/c-blosc-1.17.1+ds1/bench/bench.c:492:14:  [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).
    rshift = atoi(argv[7]);
data/c-blosc-1.17.1+ds1/blosc/bitshuffle-generic.c:104: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(&out_b[(jj*lda + ii) * elem_size],
data/c-blosc-1.17.1+ds1/blosc/bitshuffle-sse2.c:199: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(out_b, in_b, size * elem_size);
data/c-blosc-1.17.1+ds1/blosc/blosc.c:2039: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 ret[256];
data/c-blosc-1.17.1+ds1/blosc/blosc.c:2073: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 sbuffer[256];
data/c-blosc-1.17.1+ds1/blosc/blosc.c:2086: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(sbuffer, "%d.%d.%d",
data/c-blosc-1.17.1+ds1/blosc/blosc.c:2095: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(sbuffer, "%d.%d.%d", SNAPPY_MAJOR, SNAPPY_MINOR, SNAPPY_PATCHLEVEL);
data/c-blosc-1.17.1+ds1/blosc/blosc.c:2107: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(sbuffer, "%d.%d.%d",
data/c-blosc-1.17.1+ds1/blosc/blosclz.c:109: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(&value2, ref, 8);
data/c-blosc-1.17.1+ds1/blosc/blosclz.c:137: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(&value2, ref, 8);
data/c-blosc-1.17.1+ds1/blosc/blosclz.c:184: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(&value2, ref, 8);
data/c-blosc-1.17.1+ds1/blosc/fastcopy.c:39: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(&chunk, from, 2);
data/c-blosc-1.17.1+ds1/blosc/fastcopy.c:40: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(out, &chunk, 2);
data/c-blosc-1.17.1+ds1/blosc/fastcopy.c:55: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(&chunk, from, 4);
data/c-blosc-1.17.1+ds1/blosc/fastcopy.c:56: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(out, &chunk, 4);
data/c-blosc-1.17.1+ds1/blosc/fastcopy.c:81: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(&chunk, from, 8);
data/c-blosc-1.17.1+ds1/blosc/fastcopy.c:82: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(out, &chunk, 8);
data/c-blosc-1.17.1+ds1/blosc/shuffle-generic.h:51: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(_dest + (blocksize - neblock_rem), _src + (blocksize - neblock_rem), neblock_rem);
data/c-blosc-1.17.1+ds1/blosc/shuffle-generic.h:80: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(_dest + (blocksize - neblock_rem), _src + (blocksize - neblock_rem), neblock_rem);
data/c-blosc-1.17.1+ds1/blosc/shuffle.c:414: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((void*)_dest, (void*)_src, blocksize);
data/c-blosc-1.17.1+ds1/blosc/shuffle.c:435: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((void*)_dest, (void*)_src, blocksize);
data/c-blosc-1.17.1+ds1/compat/filegen.c:78:9:  [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).
    f = fopen(argv[3], "wb+");
data/c-blosc-1.17.1+ds1/compat/filegen.c:86:9:  [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).
    f = fopen(argv[2], "rb");
data/c-blosc-1.17.1+ds1/tests/test_api.c:146: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(srccpy, src, size);
data/c-blosc-1.17.1+ds1/tests/test_compressor.c:329: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(srccpy, src, size);
data/c-blosc-1.17.1+ds1/tests/test_maxout.c:158: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(srccpy, src, size);
data/c-blosc-1.17.1+ds1/tests/test_noinit.c:89: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(srccpy, src, size);
data/c-blosc-1.17.1+ds1/tests/test_nolock.c:91: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(srccpy, src, size);
data/c-blosc-1.17.1+ds1/tests/test_nthreads.c:103: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(srccpy, src, size);
data/c-blosc-1.17.1+ds1/bench/bench.c:394:3:  [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 string.
  strncpy(usage, "Usage: bench [blosclz | lz4 | lz4hc | snappy | zlib | zstd] "
data/c-blosc-1.17.1+ds1/blosc/blosc.c:2045:3:  [1] (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). Risk is low because the
  source is a constant character.
  strcat(ret, ","); strcat(ret, BLOSC_LZ4_COMPNAME);
data/c-blosc-1.17.1+ds1/blosc/blosc.c:2046:3:  [1] (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). Risk is low because the
  source is a constant character.
  strcat(ret, ","); strcat(ret, BLOSC_LZ4HC_COMPNAME);
data/c-blosc-1.17.1+ds1/blosc/blosc.c:2049:3:  [1] (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). Risk is low because the
  source is a constant character.
  strcat(ret, ","); strcat(ret, BLOSC_SNAPPY_COMPNAME);
data/c-blosc-1.17.1+ds1/blosc/blosc.c:2052:3:  [1] (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). Risk is low because the
  source is a constant character.
  strcat(ret, ","); strcat(ret, BLOSC_ZLIB_COMPNAME);
data/c-blosc-1.17.1+ds1/blosc/blosc.c:2055:3:  [1] (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). Risk is low because the
  source is a constant character.
  strcat(ret, ","); strcat(ret, BLOSC_ZSTD_COMPNAME);
data/c-blosc-1.17.1+ds1/tests/test_forksafe.c:52:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep(5000);

ANALYSIS SUMMARY:

Hits = 71
Lines analyzed = 10970 in approximately 2.32 seconds (4723 lines/second)
Physical Source Lines of Code (SLOC) = 7054
Hits@level = [0] 193 [1]   7 [2]  42 [3]  13 [4]   9 [5]   0
Hits@level+ = [0+] 264 [1+]  71 [2+]  64 [3+]  22 [4+]   9 [5+]   0
Hits/KSLOC@level+ = [0+] 37.4256 [1+] 10.0652 [2+] 9.07287 [3+] 3.1188 [4+] 1.27587 [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.