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/pytables-3.6.1/c-blosc/bench/bench.c Examining data/pytables-3.6.1/c-blosc/blosc/bitshuffle-avx2.c Examining data/pytables-3.6.1/c-blosc/blosc/bitshuffle-avx2.h Examining data/pytables-3.6.1/c-blosc/blosc/bitshuffle-generic.c Examining data/pytables-3.6.1/c-blosc/blosc/bitshuffle-generic.h Examining data/pytables-3.6.1/c-blosc/blosc/bitshuffle-sse2.c Examining data/pytables-3.6.1/c-blosc/blosc/bitshuffle-sse2.h Examining data/pytables-3.6.1/c-blosc/blosc/blosc-common.h Examining data/pytables-3.6.1/c-blosc/blosc/blosc-comp-features.h Examining data/pytables-3.6.1/c-blosc/blosc/blosc-export.h Examining data/pytables-3.6.1/c-blosc/blosc/blosc.c Examining data/pytables-3.6.1/c-blosc/blosc/blosc.h Examining data/pytables-3.6.1/c-blosc/blosc/blosclz.c Examining data/pytables-3.6.1/c-blosc/blosc/blosclz.h Examining data/pytables-3.6.1/c-blosc/blosc/fastcopy.c Examining data/pytables-3.6.1/c-blosc/blosc/fastcopy.h Examining data/pytables-3.6.1/c-blosc/blosc/shuffle-avx2.c Examining data/pytables-3.6.1/c-blosc/blosc/shuffle-avx2.h Examining data/pytables-3.6.1/c-blosc/blosc/shuffle-generic.c Examining data/pytables-3.6.1/c-blosc/blosc/shuffle-generic.h Examining data/pytables-3.6.1/c-blosc/blosc/shuffle-sse2.c Examining data/pytables-3.6.1/c-blosc/blosc/shuffle-sse2.h Examining data/pytables-3.6.1/c-blosc/blosc/shuffle.c Examining data/pytables-3.6.1/c-blosc/blosc/shuffle.h Examining data/pytables-3.6.1/c-blosc/blosc/win32/pthread.c Examining data/pytables-3.6.1/c-blosc/blosc/win32/pthread.h Examining data/pytables-3.6.1/c-blosc/blosc/win32/stdint-windows.h Examining data/pytables-3.6.1/c-blosc/compat/filegen.c Examining data/pytables-3.6.1/c-blosc/examples/many_compressors.c Examining data/pytables-3.6.1/c-blosc/examples/multithread.c Examining data/pytables-3.6.1/c-blosc/examples/noinit.c Examining data/pytables-3.6.1/c-blosc/examples/simple.c Examining data/pytables-3.6.1/c-blosc/examples/win-dynamic-linking.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4hc.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4hc.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy-c.cc Examining data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy-c.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy-internal.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy-sinksource.cc Examining data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy-sinksource.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy-stubs-internal.cc Examining data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy-stubs-internal.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy-stubs-public.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy.cc Examining data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/adler32.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/compress.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/crc32.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/crc32.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/deflate.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/deflate.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzclose.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzguts.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzlib.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzread.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzwrite.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/infback.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/inffast.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/inffast.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/inffixed.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/inflate.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/inflate.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/inftrees.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/inftrees.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/trees.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/trees.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/uncompr.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/zconf.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/zlib.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/zutil.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/zutil.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/bitstream.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/compiler.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/cpu.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/debug.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/debug.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/entropy_common.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/error_private.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/error_private.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/fse.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/fse_decompress.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/huf.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/mem.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/pool.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/pool.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/threading.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/threading.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/xxhash.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/xxhash.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/zstd_common.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/zstd_errors.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/zstd_internal.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/fse_compress.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/hist.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/hist.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/huf_compress.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_compress.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_compress_internal.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_double_fast.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_double_fast.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_fast.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_fast.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_lazy.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_lazy.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_ldm.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_ldm.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_opt.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_opt.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstdmt_compress.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstdmt_compress.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/huf_decompress.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/zstd_ddict.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/zstd_ddict.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/zstd_decompress.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/zstd_decompress_block.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/zstd_decompress_block.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/zstd_decompress_internal.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/deprecated/zbuff.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/deprecated/zbuff_common.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/deprecated/zbuff_compress.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/deprecated/zbuff_decompress.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/dictBuilder/cover.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/dictBuilder/cover.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/dictBuilder/divsufsort.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/dictBuilder/divsufsort.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/dictBuilder/fastcover.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/dictBuilder/zdict.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/dictBuilder/zdict.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_legacy.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v01.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v01.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v02.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v02.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v03.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v03.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v04.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v04.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v05.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v05.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v06.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v06.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.h Examining data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/zstd.h Examining data/pytables-3.6.1/c-blosc/test_package/example.cpp Examining data/pytables-3.6.1/c-blosc/tests/gcc-segfault-issue.c Examining data/pytables-3.6.1/c-blosc/tests/print_versions.c Examining data/pytables-3.6.1/c-blosc/tests/test_api.c Examining data/pytables-3.6.1/c-blosc/tests/test_common.h Examining data/pytables-3.6.1/c-blosc/tests/test_compress_roundtrip.c Examining data/pytables-3.6.1/c-blosc/tests/test_compressor.c Examining data/pytables-3.6.1/c-blosc/tests/test_forksafe.c Examining data/pytables-3.6.1/c-blosc/tests/test_getitem.c Examining data/pytables-3.6.1/c-blosc/tests/test_maxout.c Examining data/pytables-3.6.1/c-blosc/tests/test_noinit.c Examining data/pytables-3.6.1/c-blosc/tests/test_nolock.c Examining data/pytables-3.6.1/c-blosc/tests/test_nthreads.c Examining data/pytables-3.6.1/c-blosc/tests/test_shuffle_roundtrip_avx2.c Examining data/pytables-3.6.1/c-blosc/tests/test_shuffle_roundtrip_generic.c Examining data/pytables-3.6.1/c-blosc/tests/test_shuffle_roundtrip_sse2.c Examining data/pytables-3.6.1/hdf5-blosc/src/blosc_filter.c Examining data/pytables-3.6.1/hdf5-blosc/src/blosc_filter.h Examining data/pytables-3.6.1/hdf5-blosc/src/blosc_plugin.c Examining data/pytables-3.6.1/hdf5-blosc/src/blosc_plugin.h Examining data/pytables-3.6.1/hdf5-blosc/src/example.c Examining data/pytables-3.6.1/src/H5ARRAY-opt.c Examining data/pytables-3.6.1/src/H5ARRAY-opt.h Examining data/pytables-3.6.1/src/H5ARRAY.c Examining data/pytables-3.6.1/src/H5ARRAY.h Examining data/pytables-3.6.1/src/H5ATTR.c Examining data/pytables-3.6.1/src/H5ATTR.h Examining data/pytables-3.6.1/src/H5TB-opt.c Examining data/pytables-3.6.1/src/H5TB-opt.h Examining data/pytables-3.6.1/src/H5VLARRAY.c Examining data/pytables-3.6.1/src/H5VLARRAY.h Examining data/pytables-3.6.1/src/H5Zbzip2.c Examining data/pytables-3.6.1/src/H5Zbzip2.h Examining data/pytables-3.6.1/src/H5Zlzo.c Examining data/pytables-3.6.1/src/H5Zlzo.h Examining data/pytables-3.6.1/src/idx-opt.c Examining data/pytables-3.6.1/src/idx-opt.h Examining data/pytables-3.6.1/src/tables.h Examining data/pytables-3.6.1/src/typeconv.c Examining data/pytables-3.6.1/src/typeconv.h Examining data/pytables-3.6.1/src/utils.c Examining data/pytables-3.6.1/src/utils.h Examining data/pytables-3.6.1/tables/tests/create-nested-type.c FINAL RESULTS: data/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/blosc/blosc.c:2048: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/pytables-3.6.1/c-blosc/blosc/blosc.c:2050: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/pytables-3.6.1/c-blosc/blosc/blosc.c:2051: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/pytables-3.6.1/c-blosc/blosc/blosc.c:2054: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/pytables-3.6.1/c-blosc/blosc/blosc.c:2057: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/pytables-3.6.1/c-blosc/blosc/blosc.c:2060: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/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4.c:336:21: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, __FILE__ ": "); \ data/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4.c:337:21: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, __VA_ARGS__); \ data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzguts.h:78:18: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. # if !defined(vsnprintf) && !defined(NO_vsnprintf) data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzguts.h:80:18: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. # define vsnprintf _vsnprintf data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzguts.h:103:11: [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/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzguts.h:103:20: [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/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzlib.c:216: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(state->path, path); data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzlib.c:610: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(state->msg, state->path); data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzlib.c:612: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(state->msg, msg); data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzwrite.c:346:11: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. (void)vsprintf((char *)(state->in), format, va); data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzwrite.c:350:11: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. len = vsprintf((char *)(state->in), format, va); data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzwrite.c:354:11: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. (void)vsnprintf((char *)(state->in), size, format, va); data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzwrite.c:357:11: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. len = vsnprintf((char *)(state->in), size, format, va); data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzwrite.c:431:5: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. sprintf((char *)(state->in), format, a1, a2, a3, a4, a5, a6, a7, a8, data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzwrite.c:436:11: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. len = sprintf((char *)(state->in), format, a1, a2, a3, a4, a5, a6, a7, a8, data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzwrite.c:441:5: [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. snprintf((char *)(state->in), size, format, a1, a2, a3, a4, a5, a6, a7, a8, data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzwrite.c:445:11: [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. len = snprintf((char *)(state->in), size, format, a1, a2, a3, a4, a5, a6, data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/zutil.h:224:39: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define Trace(x) {if (z_verbose>=0) fprintf x ;} data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/zutil.h:225:39: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define Tracev(x) {if (z_verbose>0) fprintf x ;} data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/zutil.h:226:40: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define Tracevv(x) {if (z_verbose>1) fprintf x ;} data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/zutil.h:227:48: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define Tracec(c,x) {if (z_verbose>0 && (c)) fprintf x ;} data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/zutil.h:228:49: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. # define Tracecv(c,x) {if (z_verbose>1 && (c)) fprintf x ;} data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/debug.h:117:21: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, __VA_ARGS__); \ data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/debug.h:121:21: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, __FILE__ ": " __VA_ARGS__); \ data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/dictBuilder/cover.c:51:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, __VA_ARGS__); \ data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/dictBuilder/fastcover.c:37:5: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(stderr, __VA_ARGS__); \ data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/dictBuilder/zdict.c:71:32: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define DISPLAY(...) { fprintf(stderr, __VA_ARGS__); fflush( stderr ); } data/pytables-3.6.1/tables/tests/create-nested-type.c:81: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(file_name, argv[1]); data/pytables-3.6.1/tables/tests/create-nested-type.c:82: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(dset_name, argv[2]); data/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/blosc/blosc.c:1307: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/pytables-3.6.1/c-blosc/blosc/blosc.c:1316: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/pytables-3.6.1/c-blosc/blosc/blosc.c:1329: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/pytables-3.6.1/c-blosc/blosc/blosc.c:1338: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/pytables-3.6.1/c-blosc/blosc/blosc.c:1344: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/pytables-3.6.1/c-blosc/blosc/blosc.c:1353: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/pytables-3.6.1/c-blosc/blosc/blosc.c:1363: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/pytables-3.6.1/c-blosc/blosc/blosc.c:1386: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/pytables-3.6.1/c-blosc/blosc/blosc.c:1544: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/pytables-3.6.1/c-blosc/blosc/blosc.c:1556: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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/blosc/win32/pthread.c:86:2: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. InitializeCriticalSection(&cond->waiters_lock); data/pytables-3.6.1/c-blosc/blosc/win32/pthread.c:114:2: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(&cond->waiters_lock); data/pytables-3.6.1/c-blosc/blosc/win32/pthread.c:135:2: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(&cond->waiters_lock); data/pytables-3.6.1/c-blosc/blosc/win32/pthread.c:158:2: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(mutex); data/pytables-3.6.1/c-blosc/blosc/win32/pthread.c:172:2: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(&cond->waiters_lock); data/pytables-3.6.1/c-blosc/blosc/win32/pthread.c:193:2: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. EnterCriticalSection(&cond->waiters_lock); data/pytables-3.6.1/c-blosc/blosc/win32/pthread.h:45:33: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. #define pthread_mutex_init(a,b) InitializeCriticalSection((a)) data/pytables-3.6.1/c-blosc/blosc/win32/pthread.h:47:28: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. #define pthread_mutex_lock EnterCriticalSection data/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/threading.h:48:52: [3] (misc) InitializeCriticalSection: Exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. #define ZSTD_pthread_mutex_init(a, b) ((void)(b), InitializeCriticalSection((a)), 0) data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/threading.h:50:40: [3] (misc) EnterCriticalSection: On some versions of Windows, exceptions can be thrown in low-memory situations. Use InitializeCriticalSectionAndSpinCount instead. #define ZSTD_pthread_mutex_lock(a) EnterCriticalSection((a)) data/pytables-3.6.1/src/utils.c:32:16: [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. hinstLib = LoadLibrary(TEXT(libname)); data/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/blosc/blosc.c:2044: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/pytables-3.6.1/c-blosc/blosc/blosc.c:2078: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/pytables-3.6.1/c-blosc/blosc/blosc.c:2091: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/pytables-3.6.1/c-blosc/blosc/blosc.c:2100: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/pytables-3.6.1/c-blosc/blosc/blosc.c:2112: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/pytables-3.6.1/c-blosc/blosc/blosclz.c:97: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/pytables-3.6.1/c-blosc/blosc/fastcopy.c:34: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/pytables-3.6.1/c-blosc/blosc/fastcopy.c:35: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/pytables-3.6.1/c-blosc/blosc/fastcopy.c:50: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/pytables-3.6.1/c-blosc/blosc/fastcopy.c: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(out, &chunk, 4); data/pytables-3.6.1/c-blosc/blosc/fastcopy.c:76: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/pytables-3.6.1/c-blosc/blosc/fastcopy.c:77: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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4.c:250: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(memPtr, &value, sizeof(value)); data/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4.c:255: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(memPtr, &value, sizeof(value)); data/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4.c:290:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. do { memcpy(d,s,8); d+=8; s+=8; } while (d<e); data/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4.c:997: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(op, anchor, lastRun); data/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4.c:1321:17: [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(streamPtr, streamPtr->dictCtx, sizeof(LZ4_stream_t)); data/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4.c:1467: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(op, ip, endOnInput ? 16 : 8); data/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4.c:1482:17: [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(op + 0, match + 0, 8); data/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4.c:1483:17: [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(op + 8, match + 8, 8); data/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4.c:1484:17: [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(op +16, match +16, 2); data/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4.c:1520: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(op, ip, length); data/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4.c:1574:17: [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(op, dictEnd - copySize, copySize); data/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4.c:1581:21: [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(op, lowPrefix, restSize); data/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4.c:1599:17: [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(op, match, mlen); data/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4.c:1612: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(op+4, match, 4); data/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4.c:1615: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(op, match, 8); data/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4.c:1630: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(op, match, 8); data/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4hc.c:679: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(op, anchor, lastRunSize); data/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4hc.c:793: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(ctx, ctx->dictCtx, sizeof(LZ4HC_CCtx_internal)); data/pytables-3.6.1/c-blosc/internal-complibs/lz4-1.8.3/lz4hc.c:1398:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(op, anchor, lastRunSize); data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy-sinksource.cc:62: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(dest_, data, n); data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy-stubs-internal.cc:37:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[Varint::kMax32]; data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy-stubs-internal.h: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(&t, p, sizeof t); data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy-stubs-internal.h:151: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(p, &v, sizeof v); data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy-stubs-internal.h:161: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(&t, p, sizeof t); data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy-stubs-internal.h:167: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(&t, p, sizeof t); data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy-stubs-internal.h:173: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(&t, p, sizeof t); data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy-stubs-internal.h:178: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(p, &v, sizeof v); data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy-stubs-internal.h:182: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(p, &v, sizeof v); data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy-stubs-internal.h:186: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(p, &v, sizeof v); data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy.cc:194: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(op, literal, len); data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy.cc:661: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 scratch_[kMaximumTagLength]; // See RefillTag(). data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy.cc:827: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(scratch_ + nbuf, src, to_add); data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy.cc:877: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 ulength[Varint::kMax32]; data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy.cc:907: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(scratch, fragment, bytes_read); data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy.cc:913: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(scratch + bytes_read, fragment, n); data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy.cc:1022: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(GetIOVecPointer(curr_iov_index_, curr_iov_written_), data/pytables-3.6.1/c-blosc/internal-complibs/snappy-1.1.1/snappy.cc:1165: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(op, ip, len); data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/crc32.c:145:15: [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). out = fopen("crc32.h", "w"); data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzguts.h:39:11: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). # define open _open data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzlib.c:36:12: [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 buf[1024]; data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzlib.c:65: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(buf, "unknown win32 error (%ld)", error); data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzlib.c:245:9: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). open((const char *)path, oflag, 0666)); data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzlib.c:296: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(path, "<fd:%d>", fd); /* for debugging */ data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzlib.c:611:5: [2] (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 string. strcat(state->msg, ": "); data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzread.c:158: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(state->x.next, strm->next_in, strm->avail_in); data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzread.c:332: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(buf, state->x.next, n); data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzread.c:391:14: [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[1]; data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzread.c:531: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(buf, state->x.next, n); data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzwrite.c:218: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(state->in + have, buf, copy); data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzwrite.c:250:14: [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[1]; data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/inflate.c:623:14: [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 hbuf[4]; /* buffer for gzip header crc calculation */ data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/inflate.c:1382:14: [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[4]; /* to restore bit buffer to byte string */ data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/trees.c:330:20: [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). FILE *header = fopen("trees.h", "w"); data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/zutil.c:17: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. z_const char * const z_errmsg[10] = { data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/zutil.h:47:16: [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. extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */ data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/zutil.h:107:6: [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). fopen((name), (mode), "mbc=60", "ctx=stm", "rfm=fix", "mrs=512") data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/zutil.h:184:30: [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). # define F_OPEN(name, mode) fopen((name), (mode)) data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/zutil.h:208:21: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. # define zmemcpy memcpy data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/entropy_common.c:77: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 buffer[4]; data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/entropy_common.c:79: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(buffer, headerBuffer, hbSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/fse_decompress.c:121: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(dt, &DTableH, sizeof(DTableH)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/mem.h:186: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(memPtr, &value, sizeof(value)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/mem.h:191: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(memPtr, &value, sizeof(value)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/mem.h:196: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(memPtr, &value, sizeof(value)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/pool.c:205: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(threadPool, ctx->threads, ctx->threadCapacity * sizeof(*threadPool)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/xxhash.c:106:76: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static void* XXH_memcpy(void* dest, const void* src, size_t size) { return memcpy(dest,src,size); } data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/xxhash.c:324: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(dstState, srcState, sizeof(*dstState)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/xxhash.c:329: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(dstState, srcState, sizeof(*dstState)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/xxhash.c:576: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(statePtr, &state, sizeof(state)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/xxhash.c:589: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(statePtr, &state, sizeof(state)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/xxhash.c:858: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(dst, &hash, sizeof(*dst)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/xxhash.c:865: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(dst, &hash, sizeof(*dst)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/xxhash.h:246:27: [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. typedef struct { unsigned char digest[4]; } XXH32_canonical_t; data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/xxhash.h:247:27: [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. typedef struct { unsigned char digest[8]; } XXH64_canonical_t; data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/common/zstd_internal.h:153:54: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static void ZSTD_copy8(void* dst, const void* src) { memcpy(dst, src, 8); } data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/huf_compress.c:719: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(oldHufTable, table->CTable, sizeof(table->CTable)); /* Save new table */ data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_compress.c:1550: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(cctx->blockState.prevCBlock, &cdict->cBlockState, sizeof(cdict->cBlockState)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_compress.c:1585: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(cctx->blockState.matchState.hashTable, cdict->matchState.hashTable, tableSpace); /* presumes all tables follow each other */ data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_compress.c:1606: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(cctx->blockState.prevCBlock, &cdict->cBlockState, sizeof(cdict->cBlockState)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_compress.c:1649: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(&dstCCtx->customMem, &srcCCtx->customMem, sizeof(ZSTD_customMem)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_compress.c:1670: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(dstCCtx->blockState.matchState.hashTable, srcCCtx->blockState.matchState.hashTable, tableSpace); /* presumes all tables follow each other */ data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_compress.c:1685: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(dstCCtx->blockState.prevCBlock, srcCCtx->blockState.prevCBlock, sizeof(*srcCCtx->blockState.prevCBlock)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_compress.c:1782: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((BYTE*)dst + ZSTD_blockHeaderSize, src, srcSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_compress.c:1808: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(ostart + flSize, src, srcSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_compress.c:1870: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(nextHuf, prevHuf, sizeof(*prevHuf)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_compress.c:1896: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(nextHuf, prevHuf, sizeof(*prevHuf)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_compress.c:1900: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(nextHuf, prevHuf, sizeof(*prevHuf)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_compress.c:2194: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(nextCTable, prevCTable, prevCTableSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_compress.c:2430: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(&nextEntropy->fse, &prevEntropy->fse, sizeof(prevEntropy->fse)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_compress.c:2614: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(seqStorePtr->lit, anchor, lastLLSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_compress.c:3444: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(internalBuffer, dictBuffer, dictSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_compress.c:3568: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(cdict+1, dict, dictSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_compress.c:3842:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (length) memcpy(dst, src, length); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_opt.c:908:25: [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(opt[pos].rep, &repHistory, sizeof(repHistory)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstd_opt.c:1004:29: [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(opt[pos].rep, &repHistory, sizeof(repHistory)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstdmt_compress.c:237: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(newBuffer.start, buffer.start, buffer.capacity); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstdmt_compress.c:1708: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((char*)output->dst + output->pos, data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/zstdmt_compress.c:2039: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((char*)mtctx->inBuff.buffer.start + mtctx->inBuff.filled, (const char*)input->src + input->pos, syncPoint.toLoad); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/huf_decompress.c:169: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(DTable, &dtd, sizeof(dtd)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/huf_decompress.c:656: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(DTable, &dtd, sizeof(dtd)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/huf_decompress.c:672: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(op, dt+val, 2); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/huf_decompress.c:681: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(op, dt+val, 1); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/huf_decompress.c:1049:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (cSrcSize == dstSize) { memcpy(dst, cSrc, dstSize); return dstSize; } /* not compressed */ data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/huf_decompress.c:1072:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (cSrcSize == dstSize) { memcpy(dst, cSrc, dstSize); return dstSize; } /* not compressed */ data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/huf_decompress.c:1132:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (cSrcSize == dstSize) { memcpy(dst, cSrc, dstSize); return dstSize; } /* not compressed */ data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/zstd_ddict.c:130: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(internalBuffer, dict, dictSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/zstd_ddict.c:197: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(ddict+1, dict, dictSize); /* local copy */ data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/zstd_decompress.c:172: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(dstDCtx, srcDCtx, toCopy); /* no need to copy workspace */ data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/zstd_decompress.c:528: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(dst, src, srcSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/zstd_decompress.c:805:17: [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(dctx->headerBuffer, src, srcSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/zstd_decompress.c:812: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(dctx->headerBuffer, src, srcSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/zstd_decompress.c:819: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(dctx->headerBuffer + (dctx->headerSize - srcSize), src, srcSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/zstd_decompress.c:912: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(dctx->headerBuffer + (ZSTD_SKIPPABLEHEADERSIZE - srcSize), src, srcSize); /* complete skippable header */ data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/zstd_decompress.c:1057: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(dctx->entropy.rep, repStartValue, sizeof(repStartValue)); /* initial repcodes */ data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/zstd_decompress.c:1393: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(dst, src, length); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/zstd_decompress.c:1468:29: [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(zds->headerBuffer + zds->lhSize, ip, remainingInput); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/zstd_decompress.c:1475:21: [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(zds->headerBuffer + zds->lhSize, ip, toLoad); zds->lhSize = hSize; ip += toLoad; data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/zstd_decompress_block.c:47:54: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static void ZSTD_copy4(void* dst, const void* src) { memcpy(dst, src, 4); } data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/zstd_decompress_block.c:191:21: [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(dctx->litBuffer, istart+lhSize, litSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/zstd_decompress_block.c:395: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(dt, &DTableH, sizeof(DTableH)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/zstd_decompress_block.c:938: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(op, litPtr, lastLLSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/decompress/zstd_decompress_block.c:1107: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(op, litPtr, lastLLSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/dictBuilder/cover.c:670: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(dict + tail, ctx->samples + segment.begin, segmentSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/dictBuilder/cover.c:877: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(best->dict, dict, dictSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/dictBuilder/cover.c:924: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(freqs, ctx->freqs, ctx->suffixSize * sizeof(U32)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/dictBuilder/cover.c:1076: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(dictBuffer, best.dict, dictSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/dictBuilder/fastcover.c:423: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(dict + tail, ctx->samples + segment.begin, segmentSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/dictBuilder/fastcover.c:467: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(freqs, ctx->freqs, ((U64)1 << ctx->f) * sizeof(U32)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/dictBuilder/fastcover.c:722: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(dictBuffer, best.dict, dictSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/dictBuilder/zdict.c:907: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(dictBuffer, header, hSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/dictBuilder/zdict.c:1045:17: [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(ptr, (const char*)samplesBuffer+dictList[u].pos, l); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/dictBuilder/zdict.c:1074: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(newBuff, samplesBuffer, sBuffSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v01.c:1358:56: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static void ZSTD_copy4(void* dst, const void* src) { memcpy(dst, src, 4); } data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v01.c:1360:56: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static void ZSTD_copy8(void* dst, const void* src) { memcpy(dst, src, 8); } data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v01.c:1490: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(dst, src, srcSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v01.c:1797: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(saved, endMatch, qutt); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v01.c:1827:26: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (overlapRisk) memcpy(endMatch, saved, qutt); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v02.c:189: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(memPtr, &value, sizeof(value)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v02.c:1153: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(dt, &DTableH, sizeof(DTableH)); /* memcpy(), to avoid strict aliasing warnings */ data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v02.c:2012: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(op, dt+val, 2); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v02.c:2020: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(op, dt+val, 1); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v02.c:2359: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(op, ds+val, sizeof(HUF_DSeqX6)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v02.c:2371: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(op, ds+val, length); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v02.c:2375: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(op, ds+val, maxL); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v02.c:2584:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (cSrcSize == dstSize) { memcpy(dst, cSrc, dstSize); return dstSize; } /* not compressed */ data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v02.c:2738:56: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static void ZSTD_copy4(void* dst, const void* src) { memcpy(dst, src, 4); } data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v02.c:2740:56: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static void ZSTD_copy8(void* dst, const void* src) { memcpy(dst, src, 8); } data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v02.c:2832: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(dst, src, srcSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v02.c:2886:17: [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(dctx->litBuffer, istart, litSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v03.c:190: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(memPtr, &value, sizeof(value)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v03.c:1154: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(dt, &DTableH, sizeof(DTableH)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v03.c:2009: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(op, dt+val, 2); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v03.c:2017: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(op, dt+val, 1); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v03.c:2224:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (cSrcSize == dstSize) { memcpy(dst, cSrc, dstSize); return dstSize; } /* not compressed */ data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v03.c:2379:56: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static void ZSTD_copy4(void* dst, const void* src) { memcpy(dst, src, 4); } data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v03.c:2381:56: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static void ZSTD_copy8(void* dst, const void* src) { memcpy(dst, src, 8); } data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v03.c:2473: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(dst, src, srcSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v03.c:2527:17: [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(dctx->litBuffer, istart, litSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v04.c:161: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(memPtr, &value, sizeof(value)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v04.c:382:54: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static void ZSTD_copy8(void* dst, const void* src) { memcpy(dst, src, 8); } data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v04.c:1129: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(dt, &DTableH, sizeof(DTableH)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v04.c:2157: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(op, dt+val, 2); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v04.c:2165: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(op, dt+val, 1); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v04.c:2369:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (cSrcSize == dstSize) { memcpy(dst, cSrc, dstSize); return dstSize; } /* not compressed */ data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v04.c:2469:54: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static void ZSTD_copy4(void* dst, const void* src) { memcpy(dst, src, 4); } data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v04.c:2599: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(dst, src, srcSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v04.c:2652:17: [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(dctx->litBuffer, istart, litSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v04.c:3005:31: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (op != litPtr) memcpy(op, litPtr, lastLLSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v04.c:3174: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(ctx->headerBuffer, src, ZSTD_frameHeaderSize_min); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v04.c:3331:14: [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 headerBuffer[ZSTD_frameHeaderSize_max]; data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v04.c:3378: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(dst, src, length); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v04.c:3410:21: [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(zbc->headerBuffer+zbc->hPos, src, *srcSizePtr); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v04.c:3456:21: [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(zbc->inBuff, zbc->headerBuffer, zbc->hPos); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v05.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(memPtr, &value, sizeof(value)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v05.c:189: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(memPtr, &value, sizeof(value)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v05.c:194: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(memPtr, &value, sizeof(value)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v05.c:500:57: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static void ZSTDv05_copy8(void* dst, const void* src) { memcpy(dst, src, 8); } data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v05.c:1260: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(dt, &DTableH, sizeof(DTableH)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v05.c:2275: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(op, dt+val, 2); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v05.c:2283: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(op, dt+val, 1); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v05.c:2618:57: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static void ZSTDv05_copy4(void* dst, const void* src) { memcpy(dst, src, 4); } data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v05.c:2694: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(dstDCtx, srcDCtx, data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v05.c:2852: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(dst, src, srcSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v05.c:2953:17: [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(dctx->litBuffer, istart+lhSize, litSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v05.c:3356: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(op, litPtr, lastLLSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v05.c:3563: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(dctx->headerBuffer, src, ZSTDv05_frameHeaderSize_min); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v05.c:3762: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(dst, src, length); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v05.c:3809:14: [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 headerBuffer[ZSTDv05_frameHeaderSize_max]; data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v05.c:3874:21: [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(zbc->headerBuffer+zbc->hPos, src, *srcSizePtr); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v05.c:3921:21: [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(zbc->inBuff, zbc->headerBuffer, zbc->hPos); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v06.c:182: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(memPtr, &value, sizeof(value)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v06.c:535:57: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static void ZSTDv06_copy8(void* dst, const void* src) { memcpy(dst, src, 8); } data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v06.c:1484: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(dt, &DTableH, sizeof(DTableH)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v06.c:2405: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(op, dt+val, 2); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v06.c:2413: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(op, dt+val, 1); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v06.c:2651:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (cSrcSize == dstSize) { memcpy(dst, cSrc, dstSize); return dstSize; } /* not compressed */ data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v06.c:2793:57: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static void ZSTDv06_copy4(void* dst, const void* src) { memcpy(dst, src, 4); } data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v06.c:2856: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(dstDCtx, srcDCtx, data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v06.c:3045: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(dst, src, srcSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v06.c:3142:17: [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(dctx->litBuffer, istart+lhSize, litSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v06.c:3504: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(op, litPtr, lastLLSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v06.c:3710: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(dctx->headerBuffer, src, ZSTDv06_frameHeaderSize_min); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v06.c:3720: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(dctx->headerBuffer + ZSTDv06_frameHeaderSize_min, src, dctx->expected); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v06.c:3977: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(dst, src, length); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v06.c:4008:25: [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(zbd->headerBuffer + zbd->lhSize, ip, iend-ip); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v06.c:4013:21: [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(zbd->headerBuffer + zbd->lhSize, ip, toLoad); zbd->lhSize = hSize; ip += toLoad; data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:342: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(memPtr, &value, sizeof(value)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:1506: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(dt, &DTableH, sizeof(DTableH)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:1797: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(DTable, &dtd, sizeof(dtd)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:2210: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(DTable, &dtd, sizeof(dtd)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:2218: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(op, dt+val, 2); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:2226: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(op, dt+val, 1); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:2526:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (cSrcSize == dstSize) { memcpy(dst, cSrc, dstSize); return dstSize; } /* not compressed */ data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:2542:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (cSrcSize == dstSize) { memcpy(dst, cSrc, dstSize); return dstSize; } /* not compressed */ data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:2568:32: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (cSrcSize == dstSize) { memcpy(dst, cSrc, dstSize); return dstSize; } /* not compressed */ data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:2769:57: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static void ZSTDv07_copy8(void* dst, const void* src) { memcpy(dst, src, 8); } data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:2917:57: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. static void ZSTDv07_copy4(void* dst, const void* src) { memcpy(dst, src, 4); } data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:2987: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(&dctx->customMem, &customMem, sizeof(ZSTDv07_customMem)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:3006: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(dstDCtx, srcDCtx, data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:3273: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(dst, src, srcSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:3370:17: [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(dctx->litBuffer, istart+lhSize, litSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:3717: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(op, litPtr, lastLLSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:3961: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(dctx->headerBuffer, src, ZSTDv07_frameHeaderSize_min); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:3968: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(dctx->headerBuffer, src, ZSTDv07_frameHeaderSize_min); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:3978: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(dctx->headerBuffer + ZSTDv07_frameHeaderSize_min, src, dctx->expected); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:4033: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(dctx->headerBuffer + ZSTDv07_frameHeaderSize_min, src, dctx->expected); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:4170: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(dictContent, dict, dictSize); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:4315: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(&zbd->customMem, &customMem, sizeof(ZSTDv07_customMem)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:4352: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(dst, src, length); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:4383:25: [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(zbd->headerBuffer + zbd->lhSize, ip, iend-ip); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/legacy/zstd_v07.c:4388:21: [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(zbd->headerBuffer + zbd->lhSize, ip, toLoad); zbd->lhSize = hSize; ip += toLoad; data/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/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/pytables-3.6.1/hdf5-blosc/src/blosc_filter.c:159: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 errmsg[256]; data/pytables-3.6.1/src/H5ARRAY.c:787: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(byteorder, "irrelevant"); data/pytables-3.6.1/src/H5VLARRAY.c:401: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(base_byteorder, "irrelevant"); data/pytables-3.6.1/src/H5Zlzo.c:134: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(&nalloc, ((unsigned char *)(*buf)+nbytes), 4); data/pytables-3.6.1/src/H5Zlzo.c:272: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((unsigned char*)(z_dst)+z_dst_nbytes, &checksum, 4); data/pytables-3.6.1/src/H5Zlzo.c:273: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((unsigned char*)(z_dst)+z_dst_nbytes+4, &nbytes, 4); data/pytables-3.6.1/src/typeconv.c:73: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(&fb, fieldbase, sizeof(*fieldbase)); data/pytables-3.6.1/src/typeconv.c:85: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(fieldbase, &fb, sizeof(*fieldbase)); data/pytables-3.6.1/src/utils.c:104:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char strver[16]; data/pytables-3.6.1/src/utils.c:195: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 f_name[256]; /* filter name */ data/pytables-3.6.1/src/utils.c:530:7: [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(byteorder, "little"); data/pytables-3.6.1/src/utils.c:532:7: [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(byteorder, "big"); data/pytables-3.6.1/src/utils.c:539: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(byteorder, "irrelevant"); data/pytables-3.6.1/src/utils.c:650: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(byteorder, "little"); data/pytables-3.6.1/src/utils.c:654: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(byteorder, "big"); data/pytables-3.6.1/src/utils.c:658: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(byteorder, "irrelevant"); data/pytables-3.6.1/src/utils.c:664: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(byteorder, "unsupported"); data/pytables-3.6.1/tables/tests/create-nested-type.c:70: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 file_name[256], dset_name[256]; data/pytables-3.6.1/c-blosc/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/pytables-3.6.1/c-blosc/blosc/blosc.c:2050: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/pytables-3.6.1/c-blosc/blosc/blosc.c:2051: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/pytables-3.6.1/c-blosc/blosc/blosc.c:2054: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/pytables-3.6.1/c-blosc/blosc/blosc.c:2057: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/pytables-3.6.1/c-blosc/blosc/blosc.c:2060: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/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzguts.h:40:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). # define read _read data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzlib.c:199:15: [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((const char *)path); data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzlib.c:601:38: [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 ((state->msg = (char *)malloc(strlen(state->path) + strlen(msg) + 3)) == data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzlib.c:601:60: [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 ((state->msg = (char *)malloc(strlen(state->path) + strlen(msg) + 3)) == data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzlib.c:607:26: [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). snprintf(state->msg, strlen(state->path) + strlen(msg) + 3, data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzlib.c:607:48: [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). snprintf(state->msg, strlen(state->path) + strlen(msg) + 3, data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzread.c:30:15: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret = read(state->fd, buf + *have, len - *have); data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzwrite.c:301: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). len = (unsigned)strlen(str); data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzwrite.c:355: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 *)(state->in)); data/pytables-3.6.1/c-blosc/internal-complibs/zlib-1.2.8/gzwrite.c:443: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 *)(state->in)); data/pytables-3.6.1/c-blosc/internal-complibs/zstd-1.3.8/compress/fse_compress.c:509:9: [1] (buffer) getchar: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). getchar(); data/pytables-3.6.1/c-blosc/tests/test_forksafe.c:51: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); data/pytables-3.6.1/src/H5ATTR.c:306:15: [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). type_size = strlen( *data ); ANALYSIS SUMMARY: Hits = 370 Lines analyzed = 94562 in approximately 2.79 seconds (33878 lines/second) Physical Source Lines of Code (SLOC) = 60412 Hits@level = [0] 290 [1] 19 [2] 289 [3] 24 [4] 38 [5] 0 Hits@level+ = [0+] 660 [1+] 370 [2+] 351 [3+] 62 [4+] 38 [5+] 0 Hits/KSLOC@level+ = [0+] 10.925 [1+] 6.12461 [2+] 5.8101 [3+] 1.02629 [4+] 0.629014 [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.