zstd-1.5.7-3.fc44
List of Findings
Error: COMPILER_WARNING (CWE-9001): [#def1]
zstd-1.5.7/contrib/gen_html/gen_html.cpp:128:29: warning[-Wcomment]: ‘/*’ within comment
Error: COMPILER_WARNING (CWE-9001): [#def2]
zstd-1.5.7/contrib/gen_html/gen_html.cpp:128:38: warning[-Wcomment]: ‘/*’ within comment
Error: COMPILER_WARNING (CWE-9001): [#def3]
zstd-1.5.7/contrib/gen_html/gen_html.cpp:162:29: warning[-Wcomment]: ‘/*’ within comment
Error: COMPILER_WARNING (CWE-9001): [#def4]
zstd-1.5.7/contrib/gen_html/gen_html.cpp:182:57: warning[-Wcomment]: ‘/*’ within comment
Error: COMPILER_WARNING (CWE-9001): [#def5]
zstd-1.5.7/contrib/gen_html/gen_html.cpp:182:65: warning[-Wcomment]: ‘/*’ within comment
Error: COMPILER_WARNING (CWE-9001): [#def6]
zstd-1.5.7/contrib/gen_html/gen_html.cpp:194:38: warning[-Wcomment]: ‘/*’ within comment
Error: COMPILER_WARNING (CWE-9001): [#def7]
zstd-1.5.7/contrib/gen_html/gen_html.cpp:194:46: warning[-Wcomment]: ‘/*’ within comment
Error: CPPCHECK_WARNING (CWE-404): [#def8]
zstd-1.5.7/contrib/pzstd/Pzstd.cpp:127: error[resourceLeak]: Resource leak: inputFd
Error: CPPCHECK_WARNING (CWE-404): [#def9]
zstd-1.5.7/contrib/pzstd/Pzstd.cpp:162: error[resourceLeak]: Resource leak: outputFd
Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
zstd-1.5.7/lib/common/../common/allocations.h:49:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ZSTD_customCalloc(numThreads * 8, *ctx.customMem)’
zstd-1.5.7/lib/common/pool.c:215:12: enter_function: entry to ‘POOL_resize_internal’
zstd-1.5.7/lib/common/pool.c:217:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/common/pool.c:223:79: branch_false: ...to here
zstd-1.5.7/lib/common/pool.c:223:61: call_function: calling ‘ZSTD_customCalloc’ from ‘POOL_resize_internal’
zstd-1.5.7/lib/common/pool.c:223:61: return_function: returning to ‘POOL_resize_internal’ from ‘ZSTD_customCalloc’
zstd-1.5.7/lib/common/pool.c:224:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/common/pool.c:226:9: branch_false: ...to here
zstd-1.5.7/lib/common/pool.c:227:9: call_function: calling ‘ZSTD_customFree’ from ‘POOL_resize_internal’
Error: CPPCHECK_WARNING (CWE-457): [#def11]
zstd-1.5.7/lib/compress/zstd_compress.c:2809: error[uninitvar]: Uninitialized variables: stats.Offtype, stats.MLtype
Error: CPPCHECK_WARNING (CWE-457): [#def12]
zstd-1.5.7/lib/compress/zstd_compress.c:7465: error[uninitvar]: Uninitialized variables: bs.blockSize, bs.litSize
Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
zstd-1.5.7/lib/compress/zstdmt_compress.c:224:16: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
zstd-1.5.7/lib/compress/zstdmt_compress.c:1403:15: enter_function: entry to ‘ZSTDMT_createCompressionJob’
zstd-1.5.7/lib/compress/zstdmt_compress.c:1408:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/compress/zstdmt_compress.c:1414:10: branch_false: ...to here
zstd-1.5.7/lib/compress/zstdmt_compress.c:1414:8: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/compress/zstdmt_compress.c:1415:21: branch_true: ...to here
zstd-1.5.7/lib/compress/zstdmt_compress.c:1443:12: branch_true: following ‘true’ branch (when ‘endOp != 2’)...
zstd-1.5.7/lib/compress/zstdmt_compress.c:1444:42: branch_true: ...to here
zstd-1.5.7/lib/compress/zstdmt_compress.c:1455:12: branch_true: following ‘true’ branch (when ‘srcSize == 0’)...
zstd-1.5.7/lib/compress/zstdmt_compress.c:1456:15: branch_true: ...to here
zstd-1.5.7/lib/compress/zstdmt_compress.c:1455:14: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/compress/zstdmt_compress.c:1459:13: branch_true: ...to here
zstd-1.5.7/lib/compress/zstdmt_compress.c:1459:13: call_function: calling ‘ZSTDMT_writeLastEmptyBlock’ from ‘ZSTDMT_createCompressionJob’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
zstd-1.5.7/lib/decompress/../common/allocations.h:38:27: warning[-Wanalyzer-malloc-leak]: leak of ‘ZSTD_customMalloc(24, customMem)’
zstd-1.5.7/lib/decompress/zstd_decompress.c:1780:8: enter_function: entry to ‘ZSTD_DCtx_refDDict’
zstd-1.5.7/lib/decompress/zstd_decompress.c:1784:8: branch_true: following ‘true’ branch (when ‘ddict’ is non-NULL)...
zstd-1.5.7/lib/decompress/zstd_decompress.c:1785:9: branch_true: ...to here
zstd-1.5.7/lib/decompress/zstd_decompress.c:1787:12: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/decompress/zstd_decompress.c:1788:17: branch_true: ...to here
zstd-1.5.7/lib/decompress/zstd_decompress.c:1788:16: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/decompress/zstd_decompress.c:1789:34: branch_true: ...to here
zstd-1.5.7/lib/decompress/zstd_decompress.c:1789:34: call_function: calling ‘ZSTD_createDDictHashSet’ from ‘ZSTD_DCtx_refDDict’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def15]
zstd-1.5.7/lib/decompress/../common/allocations.h:49:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ZSTD_customMalloc(24, customMem)’
zstd-1.5.7/lib/decompress/zstd_decompress.c:1780:8: enter_function: entry to ‘ZSTD_DCtx_refDDict’
zstd-1.5.7/lib/decompress/zstd_decompress.c:1784:8: branch_true: following ‘true’ branch (when ‘ddict’ is non-NULL)...
zstd-1.5.7/lib/decompress/zstd_decompress.c:1785:9: branch_true: ...to here
zstd-1.5.7/lib/decompress/zstd_decompress.c:1787:12: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/decompress/zstd_decompress.c:1788:17: branch_true: ...to here
zstd-1.5.7/lib/decompress/zstd_decompress.c:1788:16: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/decompress/zstd_decompress.c:1789:34: branch_true: ...to here
zstd-1.5.7/lib/decompress/zstd_decompress.c:1789:34: call_function: calling ‘ZSTD_createDDictHashSet’ from ‘ZSTD_DCtx_refDDict’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
zstd-1.5.7/lib/decompress/zstd_ddict.c:112:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
zstd-1.5.7/lib/decompress/zstd_ddict.c:170:13: enter_function: entry to ‘ZSTD_createDDict’
zstd-1.5.7/lib/decompress/zstd_ddict.c:173:12: call_function: calling ‘ZSTD_createDDict_advanced’ from ‘ZSTD_createDDict’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
zstd-1.5.7/lib/decompress/zstd_ddict.c:112:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ZSTD_customMalloc(27352, customMem)’
zstd-1.5.7/lib/decompress/zstd_ddict.c:180:13: enter_function: entry to ‘ZSTD_createDDict_byReference’
zstd-1.5.7/lib/decompress/zstd_ddict.c:183:12: call_function: calling ‘ZSTD_createDDict_advanced’ from ‘ZSTD_createDDict_byReference’
Error: CPPCHECK_WARNING (CWE-457): [#def18]
zstd-1.5.7/lib/decompress/zstd_decompress.c:731: error[uninitvar]: Uninitialized variable: frameSizeInfo.nbBlocks
Error: GCC_ANALYZER_WARNING (CWE-457): [#def19]
zstd-1.5.7/lib/decompress/zstd_decompress_block.c:1783:67: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sequences[<unknown>].litLength’
zstd-1.5.7/lib/decompress/zstd_decompress_block.c:1975:1: enter_function: entry to ‘ZSTD_decompressSequencesLong’
zstd-1.5.7/lib/decompress/zstd_decompress_block.c:1982:8: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/decompress/zstd_decompress_block.c:1983:16: branch_true: ...to here
zstd-1.5.7/lib/decompress/zstd_decompress_block.c:1983:16: call_function: calling ‘ZSTD_decompressSequencesLong_bmi2’ from ‘ZSTD_decompressSequencesLong’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def20]
zstd-1.5.7/lib/decompress/zstd_decompress_block.c:1830:67: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sequences[<unknown>].litLength’
zstd-1.5.7/lib/decompress/zstd_decompress_block.c:1975:1: enter_function: entry to ‘ZSTD_decompressSequencesLong’
zstd-1.5.7/lib/decompress/zstd_decompress_block.c:1982:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/decompress/zstd_decompress_block.c:1986:10: branch_false: ...to here
zstd-1.5.7/lib/decompress/zstd_decompress_block.c:1986:10: call_function: calling ‘ZSTD_decompressSequencesLong_default’ from ‘ZSTD_decompressSequencesLong’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def21]
zstd-1.5.7/lib/dictBuilder/cover.c:649:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.dmerAt’
zstd-1.5.7/lib/dictBuilder/cover.c:779:28: enter_function: entry to ‘ZDICT_trainFromBuffer_cover’
zstd-1.5.7/lib/dictBuilder/cover.c:795:6: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:795:6: branch_false: following ‘false’ branch (when ‘nbSamples != 0’)...
zstd-1.5.7/lib/dictBuilder/cover.c:799:6: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:799:6: branch_false: following ‘false’ branch (when ‘dictBufferCapacity > 255’)...
zstd-1.5.7/lib/dictBuilder/cover.c:806:28: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:806:28: call_function: calling ‘COVER_ctx_init’ from ‘ZDICT_trainFromBuffer_cover’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
zstd-1.5.7/lib/dictBuilder/cover.c:649:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.offsets’
zstd-1.5.7/lib/dictBuilder/cover.c:779:28: enter_function: entry to ‘ZDICT_trainFromBuffer_cover’
zstd-1.5.7/lib/dictBuilder/cover.c:795:6: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:795:6: branch_false: following ‘false’ branch (when ‘nbSamples != 0’)...
zstd-1.5.7/lib/dictBuilder/cover.c:799:6: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:799:6: branch_false: following ‘false’ branch (when ‘dictBufferCapacity > 255’)...
zstd-1.5.7/lib/dictBuilder/cover.c:806:28: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:806:28: call_function: calling ‘COVER_ctx_init’ from ‘ZDICT_trainFromBuffer_cover’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
zstd-1.5.7/lib/dictBuilder/cover.c:649:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.suffix’
zstd-1.5.7/lib/dictBuilder/cover.c:779:28: enter_function: entry to ‘ZDICT_trainFromBuffer_cover’
zstd-1.5.7/lib/dictBuilder/cover.c:795:6: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:795:6: branch_false: following ‘false’ branch (when ‘nbSamples != 0’)...
zstd-1.5.7/lib/dictBuilder/cover.c:799:6: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:799:6: branch_false: following ‘false’ branch (when ‘dictBufferCapacity > 255’)...
zstd-1.5.7/lib/dictBuilder/cover.c:806:28: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:806:28: call_function: calling ‘COVER_ctx_init’ from ‘ZDICT_trainFromBuffer_cover’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
zstd-1.5.7/lib/dictBuilder/cover.c:739:3: warning[-Wanalyzer-malloc-leak]: leak of ‘activeDmers.data’
zstd-1.5.7/lib/dictBuilder/cover.c:1122:13: enter_function: entry to ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: call_function: calling ‘COVER_map_init’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_map_init’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1139:7: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1139:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1144:29: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1147:25: call_function: calling ‘COVER_buildDictionary’ from ‘COVER_tryParameters’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def25]
zstd-1.5.7/lib/dictBuilder/cover.c:739:3: warning[-Wanalyzer-malloc-leak]: leak of ‘dict’
zstd-1.5.7/lib/dictBuilder/cover.c:1122:13: enter_function: entry to ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1132:29: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: call_function: calling ‘COVER_map_init’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_map_init’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1139:7: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1139:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1144:29: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1147:25: call_function: calling ‘COVER_buildDictionary’ from ‘COVER_tryParameters’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def26]
zstd-1.5.7/lib/dictBuilder/cover.c:739:3: warning[-Wanalyzer-malloc-leak]: leak of ‘freqs’
zstd-1.5.7/lib/dictBuilder/cover.c:1122:13: enter_function: entry to ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1134:28: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: call_function: calling ‘COVER_map_init’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_map_init’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1139:7: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1139:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1144:29: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1147:25: call_function: calling ‘COVER_buildDictionary’ from ‘COVER_tryParameters’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
zstd-1.5.7/lib/dictBuilder/cover.c:775:3: warning[-Wanalyzer-malloc-leak]: leak of ‘activeDmers.data’
zstd-1.5.7/lib/dictBuilder/cover.c:1122:13: enter_function: entry to ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: call_function: calling ‘COVER_map_init’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_map_init’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1139:7: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1139:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1144:29: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1147:25: call_function: calling ‘COVER_buildDictionary’ from ‘COVER_tryParameters’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def28]
zstd-1.5.7/lib/dictBuilder/cover.c:775:3: warning[-Wanalyzer-malloc-leak]: leak of ‘dict’
zstd-1.5.7/lib/dictBuilder/cover.c:1122:13: enter_function: entry to ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1132:29: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: call_function: calling ‘COVER_map_init’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_map_init’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1139:7: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1139:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1144:29: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1147:25: call_function: calling ‘COVER_buildDictionary’ from ‘COVER_tryParameters’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def29]
zstd-1.5.7/lib/dictBuilder/cover.c:775:3: warning[-Wanalyzer-malloc-leak]: leak of ‘freqs’
zstd-1.5.7/lib/dictBuilder/cover.c:1122:13: enter_function: entry to ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1134:28: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: call_function: calling ‘COVER_map_init’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_map_init’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1139:7: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1139:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1144:29: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1147:25: call_function: calling ‘COVER_buildDictionary’ from ‘COVER_tryParameters’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
zstd-1.5.7/lib/dictBuilder/cover.c:859:19: warning[-Wanalyzer-malloc-leak]: leak of ‘candidateDictBuffer’
zstd-1.5.7/lib/dictBuilder/cover.c:1020:23: enter_function: entry to ‘COVER_selectDict’
zstd-1.5.7/lib/dictBuilder/cover.c:1029:38: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/cover.c:1032:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1039:3: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1044:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1050:25: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1050:25: call_function: calling ‘COVER_checkTotalCompressedSize’ from ‘COVER_selectDict’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def31]
zstd-1.5.7/lib/dictBuilder/cover.c:863:10: warning[-Wanalyzer-malloc-leak]: leak of ‘candidateDictBuffer’
zstd-1.5.7/lib/dictBuilder/cover.c:1020:23: enter_function: entry to ‘COVER_selectDict’
zstd-1.5.7/lib/dictBuilder/cover.c:1029:38: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/cover.c:1032:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1039:3: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1044:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1050:25: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1050:25: call_function: calling ‘COVER_checkTotalCompressedSize’ from ‘COVER_selectDict’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
zstd-1.5.7/lib/dictBuilder/cover.c:863:10: warning[-Wanalyzer-malloc-leak]: leak of ‘dst’
zstd-1.5.7/lib/dictBuilder/cover.c:860:11: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/cover.c:863:10: danger: ‘dst’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def33]
zstd-1.5.7/lib/dictBuilder/cover.c:864:11: warning[-Wanalyzer-malloc-leak]: leak of ‘candidateDictBuffer’
zstd-1.5.7/lib/dictBuilder/cover.c:1020:23: enter_function: entry to ‘COVER_selectDict’
zstd-1.5.7/lib/dictBuilder/cover.c:1029:38: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/cover.c:1032:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1039:3: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1044:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1050:25: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1050:25: call_function: calling ‘COVER_checkTotalCompressedSize’ from ‘COVER_selectDict’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
zstd-1.5.7/lib/dictBuilder/cover.c:864:11: warning[-Wanalyzer-malloc-leak]: leak of ‘dst’
zstd-1.5.7/lib/dictBuilder/cover.c:860:11: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/cover.c:864:11: danger: ‘dst’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def35]
zstd-1.5.7/lib/dictBuilder/cover.c:873:25: warning[-Wanalyzer-malloc-leak]: leak of ‘candidateDictBuffer’
zstd-1.5.7/lib/dictBuilder/cover.c:1020:23: enter_function: entry to ‘COVER_selectDict’
zstd-1.5.7/lib/dictBuilder/cover.c:1029:38: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/cover.c:1032:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1039:3: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1044:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1050:25: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1050:25: call_function: calling ‘COVER_checkTotalCompressedSize’ from ‘COVER_selectDict’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
zstd-1.5.7/lib/dictBuilder/cover.c:873:25: warning[-Wanalyzer-malloc-leak]: leak of ‘dst’
zstd-1.5.7/lib/dictBuilder/cover.c:860:11: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/cover.c:866:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:872:10: branch_true: following ‘true’ branch (when ‘i < nbSamples’)...
zstd-1.5.7/lib/dictBuilder/cover.c:875:21: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:873:25: danger: ‘dst’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
zstd-1.5.7/lib/dictBuilder/cover.c:883:3: warning[-Wanalyzer-malloc-leak]: leak of ‘candidateDictBuffer’
zstd-1.5.7/lib/dictBuilder/cover.c:1020:23: enter_function: entry to ‘COVER_selectDict’
zstd-1.5.7/lib/dictBuilder/cover.c:1029:38: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/cover.c:1032:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1039:3: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1044:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1050:25: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1050:25: call_function: calling ‘COVER_checkTotalCompressedSize’ from ‘COVER_selectDict’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def38]
zstd-1.5.7/lib/dictBuilder/cover.c:883:3: warning[-Wanalyzer-malloc-leak]: leak of ‘dst’
zstd-1.5.7/lib/dictBuilder/cover.c:860:11: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/cover.c:866:6: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:867:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:883:3: danger: ‘dst’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def39]
zstd-1.5.7/lib/dictBuilder/cover.c:884:3: warning[-Wanalyzer-malloc-leak]: leak of ‘candidateDictBuffer’
zstd-1.5.7/lib/dictBuilder/cover.c:1020:23: enter_function: entry to ‘COVER_selectDict’
zstd-1.5.7/lib/dictBuilder/cover.c:1029:38: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/cover.c:1032:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1039:3: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1044:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1050:25: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1050:25: call_function: calling ‘COVER_checkTotalCompressedSize’ from ‘COVER_selectDict’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
zstd-1.5.7/lib/dictBuilder/cover.c:884:3: warning[-Wanalyzer-malloc-leak]: leak of ‘dst’
zstd-1.5.7/lib/dictBuilder/cover.c:860:11: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/cover.c:866:6: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:867:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:884:3: danger: ‘dst’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def41]
zstd-1.5.7/lib/dictBuilder/cover.c:1039:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘customDictContent’
zstd-1.5.7/lib/dictBuilder/cover.c:1122:13: enter_function: entry to ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: call_function: calling ‘COVER_map_init’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_map_init’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1139:7: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1139:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1144:29: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1147:25: call_function: calling ‘COVER_buildDictionary’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1147:25: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_buildDictionary’
zstd-1.5.7/lib/dictBuilder/cover.c:1149:17: call_function: calling ‘COVER_selectDict’ from ‘COVER_tryParameters’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def42]
zstd-1.5.7/lib/dictBuilder/cover.c:1040:21: warning[-Wanalyzer-malloc-leak]: leak of ‘candidateDictBuffer’
zstd-1.5.7/lib/dictBuilder/cover.c:1029:38: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/cover.c:1032:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1039:3: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1040:21: danger: ‘candidateDictBuffer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def43]
zstd-1.5.7/lib/dictBuilder/cover.c:1040:21: warning[-Wanalyzer-malloc-leak]: leak of ‘largestDictbuffer’
zstd-1.5.7/lib/dictBuilder/cover.c:1028:36: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/cover.c:1032:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1039:3: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1040:21: danger: ‘largestDictbuffer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
zstd-1.5.7/lib/dictBuilder/cover.c:1044:7: warning[-Wanalyzer-malloc-leak]: leak of ‘candidateDictBuffer’
zstd-1.5.7/lib/dictBuilder/cover.c:1029:38: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/cover.c:1032:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1039:3: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1044:7: danger: ‘candidateDictBuffer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def45]
zstd-1.5.7/lib/dictBuilder/cover.c:1136:5: warning[-Wanalyzer-malloc-leak]: leak of ‘dict’
zstd-1.5.7/lib/dictBuilder/cover.c:1122:13: enter_function: entry to ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1132:29: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: call_function: calling ‘COVER_map_init’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_map_init’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:6: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1136:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1136:5: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1136:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1136:5: danger: ‘dict’ leaks here; was allocated at [(2)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def46]
zstd-1.5.7/lib/dictBuilder/cover.c:1136:5: warning[-Wanalyzer-malloc-leak]: leak of ‘freqs’
zstd-1.5.7/lib/dictBuilder/cover.c:1122:13: enter_function: entry to ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1134:28: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: call_function: calling ‘COVER_map_init’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_map_init’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:6: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1136:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1136:5: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1136:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1136:5: danger: ‘freqs’ leaks here; was allocated at [(2)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def47]
zstd-1.5.7/lib/dictBuilder/cover.c:1140:5: warning[-Wanalyzer-malloc-leak]: leak of ‘activeDmers.data’
zstd-1.5.7/lib/dictBuilder/cover.c:1122:13: enter_function: entry to ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: call_function: calling ‘COVER_map_init’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_map_init’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1139:7: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1139:6: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1140:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1140:5: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1140:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1140:5: danger: ‘activeDmers.data’ leaks here; was allocated at [(4)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def48]
zstd-1.5.7/lib/dictBuilder/cover.c:1140:5: warning[-Wanalyzer-malloc-leak]: leak of ‘dict’
zstd-1.5.7/lib/dictBuilder/cover.c:1122:13: enter_function: entry to ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1132:29: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: call_function: calling ‘COVER_map_init’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_map_init’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1139:7: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1139:6: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1140:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1140:5: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1140:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1140:5: danger: ‘dict’ leaks here; was allocated at [(2)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def49]
zstd-1.5.7/lib/dictBuilder/cover.c:1140:5: warning[-Wanalyzer-malloc-leak]: leak of ‘freqs’
zstd-1.5.7/lib/dictBuilder/cover.c:1122:13: enter_function: entry to ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1134:28: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: call_function: calling ‘COVER_map_init’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_map_init’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1139:7: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1139:6: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1140:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1140:5: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1140:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1140:5: danger: ‘freqs’ leaks here; was allocated at [(2)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def50]
zstd-1.5.7/lib/dictBuilder/cover.c:1154:7: warning[-Wanalyzer-malloc-leak]: leak of ‘activeDmers.data’
zstd-1.5.7/lib/dictBuilder/cover.c:1122:13: enter_function: entry to ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: call_function: calling ‘COVER_map_init’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_map_init’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1139:7: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1139:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1144:29: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1147:25: call_function: calling ‘COVER_buildDictionary’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1147:25: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_buildDictionary’
zstd-1.5.7/lib/dictBuilder/cover.c:1149:17: call_function: calling ‘COVER_selectDict’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1149:17: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_selectDict’
zstd-1.5.7/lib/dictBuilder/cover.c:1153:9: call_function: calling ‘COVER_dictSelectionIsError’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1153:9: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_dictSelectionIsError’
zstd-1.5.7/lib/dictBuilder/cover.c:1153:8: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1154:7: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1154:7: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1154:7: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1154:7: danger: ‘activeDmers.data’ leaks here; was allocated at [(4)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def51]
zstd-1.5.7/lib/dictBuilder/cover.c:1154:7: warning[-Wanalyzer-malloc-leak]: leak of ‘dict’
zstd-1.5.7/lib/dictBuilder/cover.c:1122:13: enter_function: entry to ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1132:29: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: call_function: calling ‘COVER_map_init’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_map_init’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1139:7: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1139:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1144:29: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1147:25: call_function: calling ‘COVER_buildDictionary’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1147:25: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_buildDictionary’
zstd-1.5.7/lib/dictBuilder/cover.c:1149:17: call_function: calling ‘COVER_selectDict’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1149:17: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_selectDict’
zstd-1.5.7/lib/dictBuilder/cover.c:1153:9: call_function: calling ‘COVER_dictSelectionIsError’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1153:9: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_dictSelectionIsError’
zstd-1.5.7/lib/dictBuilder/cover.c:1153:8: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1154:7: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1154:7: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1154:7: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1154:7: danger: ‘dict’ leaks here; was allocated at [(2)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def52]
zstd-1.5.7/lib/dictBuilder/cover.c:1154:7: warning[-Wanalyzer-malloc-leak]: leak of ‘freqs’
zstd-1.5.7/lib/dictBuilder/cover.c:1122:13: enter_function: entry to ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1134:28: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: call_function: calling ‘COVER_map_init’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:8: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_map_init’
zstd-1.5.7/lib/dictBuilder/cover.c:1135:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1139:7: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1139:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1144:29: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1147:25: call_function: calling ‘COVER_buildDictionary’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1147:25: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_buildDictionary’
zstd-1.5.7/lib/dictBuilder/cover.c:1149:17: call_function: calling ‘COVER_selectDict’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1149:17: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_selectDict’
zstd-1.5.7/lib/dictBuilder/cover.c:1153:9: call_function: calling ‘COVER_dictSelectionIsError’ from ‘COVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/cover.c:1153:9: return_function: returning to ‘COVER_tryParameters’ from ‘COVER_dictSelectionIsError’
zstd-1.5.7/lib/dictBuilder/cover.c:1153:8: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1154:7: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1154:7: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/cover.c:1154:7: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/cover.c:1154:7: danger: ‘freqs’ leaks here; was allocated at [(2)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def53]
zstd-1.5.7/lib/dictBuilder/fastcover.c:409:37: warning[-Wanalyzer-malloc-leak]: leak of ‘dict’
zstd-1.5.7/lib/dictBuilder/fastcover.c:473:13: enter_function: entry to ‘FASTCOVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/fastcover.c:484:29: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:494:25: call_function: calling ‘FASTCOVER_buildDictionary’ from ‘FASTCOVER_tryParameters’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def54]
zstd-1.5.7/lib/dictBuilder/fastcover.c:409:37: warning[-Wanalyzer-malloc-leak]: leak of ‘freqs’
zstd-1.5.7/lib/dictBuilder/fastcover.c:473:13: enter_function: entry to ‘FASTCOVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/fastcover.c:486:23: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:7: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:7: branch_false: following ‘false’ branch (when ‘freqs’ is non-NULL)...
zstd-1.5.7/lib/dictBuilder/fastcover.c:492:17: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:494:25: call_function: calling ‘FASTCOVER_buildDictionary’ from ‘FASTCOVER_tryParameters’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def55]
zstd-1.5.7/lib/dictBuilder/fastcover.c:409:37: warning[-Wanalyzer-malloc-leak]: leak of ‘segmentFreqs’
zstd-1.5.7/lib/dictBuilder/fastcover.c:473:13: enter_function: entry to ‘FASTCOVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/fastcover.c:482:29: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:494:25: call_function: calling ‘FASTCOVER_buildDictionary’ from ‘FASTCOVER_tryParameters’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def56]
zstd-1.5.7/lib/dictBuilder/fastcover.c:414:3: warning[-Wanalyzer-malloc-leak]: leak of ‘dict’
zstd-1.5.7/lib/dictBuilder/fastcover.c:473:13: enter_function: entry to ‘FASTCOVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/fastcover.c:484:29: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:494:25: call_function: calling ‘FASTCOVER_buildDictionary’ from ‘FASTCOVER_tryParameters’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def57]
zstd-1.5.7/lib/dictBuilder/fastcover.c:414:3: warning[-Wanalyzer-malloc-leak]: leak of ‘freqs’
zstd-1.5.7/lib/dictBuilder/fastcover.c:473:13: enter_function: entry to ‘FASTCOVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/fastcover.c:486:23: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:7: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:7: branch_false: following ‘false’ branch (when ‘freqs’ is non-NULL)...
zstd-1.5.7/lib/dictBuilder/fastcover.c:492:17: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:494:25: call_function: calling ‘FASTCOVER_buildDictionary’ from ‘FASTCOVER_tryParameters’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def58]
zstd-1.5.7/lib/dictBuilder/fastcover.c:414:3: warning[-Wanalyzer-malloc-leak]: leak of ‘segmentFreqs’
zstd-1.5.7/lib/dictBuilder/fastcover.c:473:13: enter_function: entry to ‘FASTCOVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/fastcover.c:482:29: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:494:25: call_function: calling ‘FASTCOVER_buildDictionary’ from ‘FASTCOVER_tryParameters’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def59]
zstd-1.5.7/lib/dictBuilder/fastcover.c:453:3: warning[-Wanalyzer-malloc-leak]: leak of ‘dict’
zstd-1.5.7/lib/dictBuilder/fastcover.c:473:13: enter_function: entry to ‘FASTCOVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/fastcover.c:484:29: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:494:25: call_function: calling ‘FASTCOVER_buildDictionary’ from ‘FASTCOVER_tryParameters’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def60]
zstd-1.5.7/lib/dictBuilder/fastcover.c:453:3: warning[-Wanalyzer-malloc-leak]: leak of ‘freqs’
zstd-1.5.7/lib/dictBuilder/fastcover.c:473:13: enter_function: entry to ‘FASTCOVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/fastcover.c:486:23: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:7: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:7: branch_false: following ‘false’ branch (when ‘freqs’ is non-NULL)...
zstd-1.5.7/lib/dictBuilder/fastcover.c:492:17: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:494:25: call_function: calling ‘FASTCOVER_buildDictionary’ from ‘FASTCOVER_tryParameters’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def61]
zstd-1.5.7/lib/dictBuilder/fastcover.c:453:3: warning[-Wanalyzer-malloc-leak]: leak of ‘segmentFreqs’
zstd-1.5.7/lib/dictBuilder/fastcover.c:473:13: enter_function: entry to ‘FASTCOVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/fastcover.c:482:29: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:494:25: call_function: calling ‘FASTCOVER_buildDictionary’ from ‘FASTCOVER_tryParameters’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
zstd-1.5.7/lib/dictBuilder/fastcover.c:485:37: warning[-Wanalyzer-malloc-leak]: leak of ‘dict’
zstd-1.5.7/lib/dictBuilder/fastcover.c:484:29: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/fastcover.c:485:37: danger: ‘dict’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def63]
zstd-1.5.7/lib/dictBuilder/fastcover.c:485:37: warning[-Wanalyzer-malloc-leak]: leak of ‘segmentFreqs’
zstd-1.5.7/lib/dictBuilder/fastcover.c:482:29: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/fastcover.c:485:37: danger: ‘segmentFreqs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def64]
zstd-1.5.7/lib/dictBuilder/fastcover.c:488:5: warning[-Wanalyzer-malloc-leak]: leak of ‘dict’
zstd-1.5.7/lib/dictBuilder/fastcover.c:484:29: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:6: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:488:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:488:5: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:488:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:488:5: danger: ‘dict’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def65]
zstd-1.5.7/lib/dictBuilder/fastcover.c:488:5: warning[-Wanalyzer-malloc-leak]: leak of ‘freqs’
zstd-1.5.7/lib/dictBuilder/fastcover.c:486:23: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:6: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:488:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:488:5: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:488:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:488:5: danger: ‘freqs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def66]
zstd-1.5.7/lib/dictBuilder/fastcover.c:488:5: warning[-Wanalyzer-malloc-leak]: leak of ‘segmentFreqs’
zstd-1.5.7/lib/dictBuilder/fastcover.c:482:29: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:6: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:488:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:488:5: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:488:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:488:5: danger: ‘segmentFreqs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def67]
zstd-1.5.7/lib/dictBuilder/fastcover.c:498:17: warning[-Wanalyzer-malloc-leak]: leak of ‘dict’
zstd-1.5.7/lib/dictBuilder/fastcover.c:484:29: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:498:17: danger: ‘dict’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def68]
zstd-1.5.7/lib/dictBuilder/fastcover.c:498:17: warning[-Wanalyzer-malloc-leak]: leak of ‘freqs’
zstd-1.5.7/lib/dictBuilder/fastcover.c:486:23: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:7: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:7: branch_false: following ‘false’ branch (when ‘freqs’ is non-NULL)...
zstd-1.5.7/lib/dictBuilder/fastcover.c:492:17: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:498:17: danger: ‘freqs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def69]
zstd-1.5.7/lib/dictBuilder/fastcover.c:498:17: warning[-Wanalyzer-malloc-leak]: leak of ‘segmentFreqs’
zstd-1.5.7/lib/dictBuilder/fastcover.c:482:29: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:498:17: danger: ‘segmentFreqs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def70]
zstd-1.5.7/lib/dictBuilder/fastcover.c:502:9: warning[-Wanalyzer-malloc-leak]: leak of ‘freqs’
zstd-1.5.7/lib/dictBuilder/fastcover.c:473:13: enter_function: entry to ‘FASTCOVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/fastcover.c:486:23: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:7: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:7: branch_false: following ‘false’ branch (when ‘freqs’ is non-NULL)...
zstd-1.5.7/lib/dictBuilder/fastcover.c:492:17: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:494:25: call_function: calling ‘FASTCOVER_buildDictionary’ from ‘FASTCOVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/fastcover.c:494:25: return_function: returning to ‘FASTCOVER_tryParameters’ from ‘FASTCOVER_buildDictionary’
zstd-1.5.7/lib/dictBuilder/fastcover.c:502:9: danger: ‘freqs’ leaks here; was allocated at [(2)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def71]
zstd-1.5.7/lib/dictBuilder/fastcover.c:502:9: warning[-Wanalyzer-malloc-leak]: leak of ‘segmentFreqs’
zstd-1.5.7/lib/dictBuilder/fastcover.c:473:13: enter_function: entry to ‘FASTCOVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/fastcover.c:482:29: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:494:25: call_function: calling ‘FASTCOVER_buildDictionary’ from ‘FASTCOVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/fastcover.c:494:25: return_function: returning to ‘FASTCOVER_tryParameters’ from ‘FASTCOVER_buildDictionary’
zstd-1.5.7/lib/dictBuilder/fastcover.c:502:9: danger: ‘segmentFreqs’ leaks here; was allocated at [(2)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def72]
zstd-1.5.7/lib/dictBuilder/fastcover.c:503:7: warning[-Wanalyzer-malloc-leak]: leak of ‘freqs’
zstd-1.5.7/lib/dictBuilder/fastcover.c:473:13: enter_function: entry to ‘FASTCOVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/fastcover.c:486:23: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:7: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:7: branch_false: following ‘false’ branch (when ‘freqs’ is non-NULL)...
zstd-1.5.7/lib/dictBuilder/fastcover.c:492:17: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:494:25: call_function: calling ‘FASTCOVER_buildDictionary’ from ‘FASTCOVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/fastcover.c:494:25: return_function: returning to ‘FASTCOVER_tryParameters’ from ‘FASTCOVER_buildDictionary’
zstd-1.5.7/lib/dictBuilder/fastcover.c:502:8: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:503:7: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:503:7: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:503:7: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:503:7: danger: ‘freqs’ leaks here; was allocated at [(2)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def73]
zstd-1.5.7/lib/dictBuilder/fastcover.c:503:7: warning[-Wanalyzer-malloc-leak]: leak of ‘segmentFreqs’
zstd-1.5.7/lib/dictBuilder/fastcover.c:473:13: enter_function: entry to ‘FASTCOVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/fastcover.c:482:29: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:6: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:494:25: call_function: calling ‘FASTCOVER_buildDictionary’ from ‘FASTCOVER_tryParameters’
zstd-1.5.7/lib/dictBuilder/fastcover.c:494:25: return_function: returning to ‘FASTCOVER_tryParameters’ from ‘FASTCOVER_buildDictionary’
zstd-1.5.7/lib/dictBuilder/fastcover.c:502:8: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:503:7: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:503:7: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:503:7: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:503:7: danger: ‘segmentFreqs’ leaks here; was allocated at [(2)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def74]
zstd-1.5.7/lib/dictBuilder/fastcover.c:509:3: warning[-Wanalyzer-malloc-leak]: leak of ‘freqs’
zstd-1.5.7/lib/dictBuilder/fastcover.c:486:23: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:6: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:488:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:509:3: danger: ‘freqs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def75]
zstd-1.5.7/lib/dictBuilder/fastcover.c:509:3: warning[-Wanalyzer-malloc-leak]: leak of ‘segmentFreqs’
zstd-1.5.7/lib/dictBuilder/fastcover.c:482:29: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:6: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:488:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:509:3: danger: ‘segmentFreqs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def76]
zstd-1.5.7/lib/dictBuilder/fastcover.c:512:3: warning[-Wanalyzer-malloc-leak]: leak of ‘freqs’
zstd-1.5.7/lib/dictBuilder/fastcover.c:486:23: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/fastcover.c:487:6: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/fastcover.c:488:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/fastcover.c:512:3: danger: ‘freqs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-682): [#def77]
zstd-1.5.7/lib/dictBuilder/zdict.c:471: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def78]
zstd-1.5.7/lib/dictBuilder/zdict.c:492:5: warning[-Wanalyzer-malloc-leak]: leak of ‘dictList’
zstd-1.5.7/lib/dictBuilder/zdict.c:978:15: enter_function: entry to ‘ZDICT_trainFromBuffer_unsafe_legacy’
zstd-1.5.7/lib/dictBuilder/zdict.c:984:43: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:993:8: branch_false: following ‘false’ branch (when ‘dictList’ is non-NULL)...
zstd-1.5.7/lib/dictBuilder/zdict.c:994:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:994:8: branch_false: following ‘false’ branch (when ‘maxDictSize > 255’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:995:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:995:8: branch_false: following ‘false’ branch (when ‘total > 511’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:998:5: call_function: inlined call to ‘ZDICT_initDictItem’ from ‘ZDICT_trainFromBuffer_unsafe_legacy’
zstd-1.5.7/lib/dictBuilder/zdict.c:1001:5: call_function: calling ‘ZDICT_trainBuffer_legacy’ from ‘ZDICT_trainFromBuffer_unsafe_legacy’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def79]
zstd-1.5.7/lib/dictBuilder/zdict.c:492:5: warning[-Wanalyzer-malloc-leak]: leak of ‘doneMarks’
zstd-1.5.7/lib/dictBuilder/zdict.c:473:30: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:492:5: branch_true: following ‘true’ branch (when ‘notificationLevel > 1’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:492:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:492:5: danger: ‘doneMarks’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def80]
zstd-1.5.7/lib/dictBuilder/zdict.c:492:5: warning[-Wanalyzer-malloc-leak]: leak of ‘filePos’
zstd-1.5.7/lib/dictBuilder/zdict.c:474:26: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:492:5: branch_true: following ‘true’ branch (when ‘notificationLevel > 1’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:492:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:492:5: danger: ‘filePos’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def81]
zstd-1.5.7/lib/dictBuilder/zdict.c:492:5: warning[-Wanalyzer-malloc-leak]: leak of ‘newBuff’
zstd-1.5.7/lib/dictBuilder/zdict.c:1084:8: enter_function: entry to ‘ZDICT_trainFromBuffer_legacy’
zstd-1.5.7/lib/dictBuilder/zdict.c:1091:8: branch_false: following ‘false’ branch (when ‘total > 511’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:1093:15: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:1093:15: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:1094:8: branch_false: following ‘false’ branch (when ‘newBuff’ is non-NULL)...
zstd-1.5.7/lib/dictBuilder/zdict.c:1096:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:1097:5: call_function: inlined call to ‘ZDICT_fillNoise’ from ‘ZDICT_trainFromBuffer_legacy’
zstd-1.5.7/lib/dictBuilder/zdict.c:1100:9: call_function: calling ‘ZDICT_trainFromBuffer_unsafe_legacy’ from ‘ZDICT_trainFromBuffer_legacy’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def82]
zstd-1.5.7/lib/dictBuilder/zdict.c:492:5: warning[-Wanalyzer-malloc-leak]: leak of ‘reverseSuffix’
zstd-1.5.7/lib/dictBuilder/zdict.c:472:32: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:492:5: branch_true: following ‘true’ branch (when ‘notificationLevel > 1’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:492:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:492:5: danger: ‘reverseSuffix’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def83]
zstd-1.5.7/lib/dictBuilder/zdict.c:492:5: warning[-Wanalyzer-malloc-leak]: leak of ‘suffix0’
zstd-1.5.7/lib/dictBuilder/zdict.c:470:32: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:492:5: branch_true: following ‘true’ branch (when ‘notificationLevel > 1’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:492:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:492:5: danger: ‘suffix0’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def84]
zstd-1.5.7/lib/dictBuilder/zdict.c:501:46: warning[-Wanalyzer-malloc-leak]: leak of ‘dictList’
zstd-1.5.7/lib/dictBuilder/zdict.c:978:15: enter_function: entry to ‘ZDICT_trainFromBuffer_unsafe_legacy’
zstd-1.5.7/lib/dictBuilder/zdict.c:984:43: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:993:8: branch_false: following ‘false’ branch (when ‘dictList’ is non-NULL)...
zstd-1.5.7/lib/dictBuilder/zdict.c:994:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:994:8: branch_false: following ‘false’ branch (when ‘maxDictSize > 255’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:995:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:995:8: branch_false: following ‘false’ branch (when ‘total > 511’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:998:5: call_function: inlined call to ‘ZDICT_initDictItem’ from ‘ZDICT_trainFromBuffer_unsafe_legacy’
zstd-1.5.7/lib/dictBuilder/zdict.c:1001:5: call_function: calling ‘ZDICT_trainBuffer_legacy’ from ‘ZDICT_trainFromBuffer_unsafe_legacy’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def85]
zstd-1.5.7/lib/dictBuilder/zdict.c:501:46: warning[-Wanalyzer-malloc-leak]: leak of ‘doneMarks’
zstd-1.5.7/lib/dictBuilder/zdict.c:473:30: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:493:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:493:39: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:493:9: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:497:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:501:8: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:501:46: danger: ‘doneMarks’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def86]
zstd-1.5.7/lib/dictBuilder/zdict.c:501:46: warning[-Wanalyzer-malloc-leak]: leak of ‘filePos’
zstd-1.5.7/lib/dictBuilder/zdict.c:474:26: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:493:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:493:39: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:493:9: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:497:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:501:8: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:501:46: danger: ‘filePos’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def87]
zstd-1.5.7/lib/dictBuilder/zdict.c:501:46: warning[-Wanalyzer-malloc-leak]: leak of ‘reverseSuffix’
zstd-1.5.7/lib/dictBuilder/zdict.c:472:32: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:493:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:501:8: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:501:46: danger: ‘reverseSuffix’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
zstd-1.5.7/lib/dictBuilder/zdict.c:501:46: warning[-Wanalyzer-malloc-leak]: leak of ‘suffix0’
zstd-1.5.7/lib/dictBuilder/zdict.c:470:32: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:493:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:501:8: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:501:46: danger: ‘suffix0’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
zstd-1.5.7/lib/dictBuilder/zdict.c:505:5: warning[-Wanalyzer-malloc-leak]: leak of ‘doneMarks’
zstd-1.5.7/lib/dictBuilder/zdict.c:473:30: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:493:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:493:39: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:493:9: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:497:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:505:5: branch_true: following ‘true’ branch (when ‘notificationLevel > 1’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:505:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:505:5: danger: ‘doneMarks’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def90]
zstd-1.5.7/lib/dictBuilder/zdict.c:505:5: warning[-Wanalyzer-malloc-leak]: leak of ‘filePos’
zstd-1.5.7/lib/dictBuilder/zdict.c:474:26: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:493:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:493:39: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:493:9: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:497:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:505:5: branch_true: following ‘true’ branch (when ‘notificationLevel > 1’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:505:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:505:5: danger: ‘filePos’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def91]
zstd-1.5.7/lib/dictBuilder/zdict.c:505:5: warning[-Wanalyzer-malloc-leak]: leak of ‘reverseSuffix’
zstd-1.5.7/lib/dictBuilder/zdict.c:472:32: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:493:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:505:5: branch_true: following ‘true’ branch (when ‘notificationLevel > 1’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:505:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:505:5: danger: ‘reverseSuffix’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def92]
zstd-1.5.7/lib/dictBuilder/zdict.c:505:5: warning[-Wanalyzer-malloc-leak]: leak of ‘suffix0’
zstd-1.5.7/lib/dictBuilder/zdict.c:470:32: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:493:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:505:5: branch_true: following ‘true’ branch (when ‘notificationLevel > 1’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:505:5: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:505:5: danger: ‘suffix0’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def93]
zstd-1.5.7/lib/dictBuilder/zdict.c:506:39: warning[-Wanalyzer-malloc-leak]: leak of ‘dictList’
zstd-1.5.7/lib/dictBuilder/zdict.c:978:15: enter_function: entry to ‘ZDICT_trainFromBuffer_unsafe_legacy’
zstd-1.5.7/lib/dictBuilder/zdict.c:984:43: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:993:8: branch_false: following ‘false’ branch (when ‘dictList’ is non-NULL)...
zstd-1.5.7/lib/dictBuilder/zdict.c:994:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:994:8: branch_false: following ‘false’ branch (when ‘maxDictSize > 255’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:995:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:995:8: branch_false: following ‘false’ branch (when ‘total > 511’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:998:5: call_function: inlined call to ‘ZDICT_initDictItem’ from ‘ZDICT_trainFromBuffer_unsafe_legacy’
zstd-1.5.7/lib/dictBuilder/zdict.c:1001:5: call_function: calling ‘ZDICT_trainBuffer_legacy’ from ‘ZDICT_trainFromBuffer_unsafe_legacy’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def94]
zstd-1.5.7/lib/dictBuilder/zdict.c:506:39: warning[-Wanalyzer-malloc-leak]: leak of ‘doneMarks’
zstd-1.5.7/lib/dictBuilder/zdict.c:473:30: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:493:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:493:39: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:493:9: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:497:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:506:39: danger: ‘doneMarks’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def95]
zstd-1.5.7/lib/dictBuilder/zdict.c:506:39: warning[-Wanalyzer-malloc-leak]: leak of ‘filePos’
zstd-1.5.7/lib/dictBuilder/zdict.c:474:26: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:493:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:493:39: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:493:9: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:497:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:506:39: danger: ‘filePos’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def96]
zstd-1.5.7/lib/dictBuilder/zdict.c:506:39: warning[-Wanalyzer-malloc-leak]: leak of ‘reverseSuffix’
zstd-1.5.7/lib/dictBuilder/zdict.c:472:32: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:493:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:506:39: danger: ‘reverseSuffix’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def97]
zstd-1.5.7/lib/dictBuilder/zdict.c:506:39: warning[-Wanalyzer-malloc-leak]: leak of ‘suffix0’
zstd-1.5.7/lib/dictBuilder/zdict.c:470:32: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:493:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:506:39: danger: ‘suffix0’ leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def98]
zstd-1.5.7/lib/dictBuilder/zdict.c:575:34: warning[-Wanalyzer-malloc-leak]: leak of ‘esr.workPlace’
zstd-1.5.7/lib/dictBuilder/zdict.c:659:15: enter_function: entry to ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:702:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:709:15: branch_true: following ‘true’ branch (when ‘u < nbFiles’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:712:65: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:710:9: call_function: calling ‘ZDICT_countEStats’ from ‘ZDICT_analyzeEntropy’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def99]
zstd-1.5.7/lib/dictBuilder/zdict.c:576:40: warning[-Wanalyzer-malloc-leak]: leak of ‘esr.workPlace’
zstd-1.5.7/lib/dictBuilder/zdict.c:659:15: enter_function: entry to ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:702:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:709:15: branch_true: following ‘true’ branch (when ‘u < nbFiles’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:712:65: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:710:9: call_function: calling ‘ZDICT_countEStats’ from ‘ZDICT_analyzeEntropy’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def100]
zstd-1.5.7/lib/dictBuilder/zdict.c:579:13: warning[-Wanalyzer-malloc-leak]: leak of ‘esr.workPlace’
zstd-1.5.7/lib/dictBuilder/zdict.c:659:15: enter_function: entry to ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:702:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:709:15: branch_true: following ‘true’ branch (when ‘u < nbFiles’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:712:65: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:710:9: call_function: calling ‘ZDICT_countEStats’ from ‘ZDICT_analyzeEntropy’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def101]
zstd-1.5.7/lib/dictBuilder/zdict.c:704:9: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(131072)’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:704:9: branch_true: following ‘true’ branch (when ‘notificationLevel != 0’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:704:9: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:704:9: danger: ‘malloc(131072)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def102]
zstd-1.5.7/lib/dictBuilder/zdict.c:719:9: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(131072)’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:702:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:709:15: branch_false: following ‘false’ branch (when ‘u >= nbFiles’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:717:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:717:8: branch_true: following ‘true’ branch (when ‘notificationLevel > 3’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:719:9: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:719:9: danger: ‘malloc(131072)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def103]
zstd-1.5.7/lib/dictBuilder/zdict.c:721:13: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(131072)’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:702:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:709:15: branch_false: following ‘false’ branch (when ‘u >= nbFiles’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:717:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:717:8: branch_true: following ‘true’ branch (when ‘notificationLevel > 3’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:719:9: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:720:19: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:721:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:721:13: danger: ‘malloc(131072)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def104]
zstd-1.5.7/lib/dictBuilder/zdict.c:725:28: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(131072)’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:702:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:709:15: branch_false: following ‘false’ branch (when ‘u >= nbFiles’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:717:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:725:28: danger: ‘malloc(131072)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def105]
zstd-1.5.7/lib/dictBuilder/zdict.c:728:13: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(131072)’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:702:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:709:15: branch_false: following ‘false’ branch (when ‘u >= nbFiles’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:717:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:726:12: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:728:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:728:13: branch_true: following ‘true’ branch (when ‘notificationLevel != 0’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:728:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:728:13: danger: ‘malloc(131072)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def106]
zstd-1.5.7/lib/dictBuilder/zdict.c:732:13: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(131072)’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:702:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:709:15: branch_false: following ‘false’ branch (when ‘u >= nbFiles’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:717:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:726:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:732:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:732:13: branch_true: following ‘true’ branch (when ‘notificationLevel > 1’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:732:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:732:13: danger: ‘malloc(131072)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def107]
zstd-1.5.7/lib/dictBuilder/zdict.c:734:25: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(131072)’
zstd-1.5.7/lib/dictBuilder/zdict.c:659:15: enter_function: entry to ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:702:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:709:15: branch_false: following ‘false’ branch (when ‘u >= nbFiles’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:717:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:726:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:732:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:733:13: call_function: inlined call to ‘ZDICT_flatLit’ from ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:734:25: danger: ‘malloc(131072)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def108]
zstd-1.5.7/lib/dictBuilder/zdict.c:748:17: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(131072)’
zstd-1.5.7/lib/dictBuilder/zdict.c:659:15: enter_function: entry to ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:702:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:709:15: branch_false: following ‘false’ branch (when ‘u >= nbFiles’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:717:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:726:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:737:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_true: following ‘true’ branch (when ‘offset != 1024’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: call_function: calling ‘ZDICT_insertSortCount’ from ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: return_function: returning to ‘ZDICT_analyzeEntropy’ from ‘ZDICT_insertSortCount’
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_false: following ‘false’ branch (when ‘offset == 1024’)...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:748:17: danger: ‘malloc(131072)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def109]
zstd-1.5.7/lib/dictBuilder/zdict.c:751:9: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(131072)’
zstd-1.5.7/lib/dictBuilder/zdict.c:659:15: enter_function: entry to ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:702:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:709:15: branch_false: following ‘false’ branch (when ‘u >= nbFiles’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:717:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:726:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:737:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_true: following ‘true’ branch (when ‘offset != 1024’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: call_function: calling ‘ZDICT_insertSortCount’ from ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: return_function: returning to ‘ZDICT_analyzeEntropy’ from ‘ZDICT_insertSortCount’
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_false: following ‘false’ branch (when ‘offset == 1024’)...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:749:8: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:751:9: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:751:9: branch_true: following ‘true’ branch (when ‘notificationLevel != 0’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:751:9: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:751:9: danger: ‘malloc(131072)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def110]
zstd-1.5.7/lib/dictBuilder/zdict.c:757:17: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(131072)’
zstd-1.5.7/lib/dictBuilder/zdict.c:659:15: enter_function: entry to ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:702:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:709:15: branch_false: following ‘false’ branch (when ‘u >= nbFiles’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:717:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:726:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:737:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_true: following ‘true’ branch (when ‘offset != 1024’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: call_function: calling ‘ZDICT_insertSortCount’ from ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: return_function: returning to ‘ZDICT_analyzeEntropy’ from ‘ZDICT_insertSortCount’
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_false: following ‘false’ branch (when ‘offset == 1024’)...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:749:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:754:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:756:24: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:756:46: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:757:17: danger: ‘malloc(131072)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def111]
zstd-1.5.7/lib/dictBuilder/zdict.c:760:9: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(131072)’
zstd-1.5.7/lib/dictBuilder/zdict.c:659:15: enter_function: entry to ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:702:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:709:15: branch_false: following ‘false’ branch (when ‘u >= nbFiles’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:717:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:726:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:737:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_true: following ‘true’ branch (when ‘offset != 1024’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: call_function: calling ‘ZDICT_insertSortCount’ from ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: return_function: returning to ‘ZDICT_analyzeEntropy’ from ‘ZDICT_insertSortCount’
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_false: following ‘false’ branch (when ‘offset == 1024’)...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:749:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:754:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:756:24: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:756:46: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:758:8: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:760:9: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:760:9: branch_true: following ‘true’ branch (when ‘notificationLevel != 0’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:760:9: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:760:9: danger: ‘malloc(131072)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def112]
zstd-1.5.7/lib/dictBuilder/zdict.c:766:17: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(131072)’
zstd-1.5.7/lib/dictBuilder/zdict.c:659:15: enter_function: entry to ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:702:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:709:15: branch_false: following ‘false’ branch (when ‘u >= nbFiles’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:717:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:726:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:737:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_true: following ‘true’ branch (when ‘offset != 1024’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: call_function: calling ‘ZDICT_insertSortCount’ from ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: return_function: returning to ‘ZDICT_analyzeEntropy’ from ‘ZDICT_insertSortCount’
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_false: following ‘false’ branch (when ‘offset == 1024’)...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:749:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:754:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:756:24: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:756:46: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:758:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:763:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:765:24: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:765:46: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:766:17: danger: ‘malloc(131072)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def113]
zstd-1.5.7/lib/dictBuilder/zdict.c:769:9: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(131072)’
zstd-1.5.7/lib/dictBuilder/zdict.c:659:15: enter_function: entry to ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:702:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:709:15: branch_false: following ‘false’ branch (when ‘u >= nbFiles’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:717:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:726:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:737:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_true: following ‘true’ branch (when ‘offset != 1024’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: call_function: calling ‘ZDICT_insertSortCount’ from ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: return_function: returning to ‘ZDICT_analyzeEntropy’ from ‘ZDICT_insertSortCount’
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_false: following ‘false’ branch (when ‘offset == 1024’)...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:749:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:754:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:756:24: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:756:46: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:758:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:763:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:765:24: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:765:46: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:767:8: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:769:9: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:769:9: branch_true: following ‘true’ branch (when ‘notificationLevel != 0’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:769:9: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:769:9: danger: ‘malloc(131072)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
zstd-1.5.7/lib/dictBuilder/zdict.c:775:31: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(131072)’
zstd-1.5.7/lib/dictBuilder/zdict.c:659:15: enter_function: entry to ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:702:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:709:15: branch_false: following ‘false’ branch (when ‘u >= nbFiles’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:717:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:726:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:737:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_true: following ‘true’ branch (when ‘offset != 1024’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: call_function: calling ‘ZDICT_insertSortCount’ from ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: return_function: returning to ‘ZDICT_analyzeEntropy’ from ‘ZDICT_insertSortCount’
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_false: following ‘false’ branch (when ‘offset == 1024’)...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:749:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:754:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:756:24: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:756:46: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:758:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:763:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:765:24: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:765:46: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:767:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:772:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:775:31: danger: ‘malloc(131072)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def115]
zstd-1.5.7/lib/dictBuilder/zdict.c:778:13: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(131072)’
zstd-1.5.7/lib/dictBuilder/zdict.c:659:15: enter_function: entry to ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:702:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:709:15: branch_false: following ‘false’ branch (when ‘u >= nbFiles’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:717:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:726:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:737:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_true: following ‘true’ branch (when ‘offset != 1024’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: call_function: calling ‘ZDICT_insertSortCount’ from ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: return_function: returning to ‘ZDICT_analyzeEntropy’ from ‘ZDICT_insertSortCount’
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_false: following ‘false’ branch (when ‘offset == 1024’)...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:749:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:754:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:756:24: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:756:46: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:758:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:763:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:765:24: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:765:46: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:767:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:772:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:776:12: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:778:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:778:13: branch_true: following ‘true’ branch (when ‘notificationLevel != 0’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:778:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:778:13: danger: ‘malloc(131072)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def116]
zstd-1.5.7/lib/dictBuilder/zdict.c:786:31: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(131072)’
zstd-1.5.7/lib/dictBuilder/zdict.c:659:15: enter_function: entry to ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:702:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:709:15: branch_false: following ‘false’ branch (when ‘u >= nbFiles’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:717:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:726:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:737:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_true: following ‘true’ branch (when ‘offset != 1024’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: call_function: calling ‘ZDICT_insertSortCount’ from ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: return_function: returning to ‘ZDICT_analyzeEntropy’ from ‘ZDICT_insertSortCount’
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_false: following ‘false’ branch (when ‘offset == 1024’)...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:749:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:754:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:756:24: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:756:46: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:758:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:763:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:765:24: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:765:46: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:767:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:772:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:776:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:781:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:786:31: danger: ‘malloc(131072)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def117]
zstd-1.5.7/lib/dictBuilder/zdict.c:789:13: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(131072)’
zstd-1.5.7/lib/dictBuilder/zdict.c:659:15: enter_function: entry to ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:702:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:709:15: branch_false: following ‘false’ branch (when ‘u >= nbFiles’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:717:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:726:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:737:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_true: following ‘true’ branch (when ‘offset != 1024’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: call_function: calling ‘ZDICT_insertSortCount’ from ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: return_function: returning to ‘ZDICT_analyzeEntropy’ from ‘ZDICT_insertSortCount’
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_false: following ‘false’ branch (when ‘offset == 1024’)...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:749:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:754:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:756:24: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:756:46: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:758:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:763:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:765:24: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:765:46: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:767:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:772:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:776:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:781:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:787:12: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:789:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:789:13: branch_true: following ‘true’ branch (when ‘notificationLevel != 0’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:789:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:789:13: danger: ‘malloc(131072)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def118]
zstd-1.5.7/lib/dictBuilder/zdict.c:797:31: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(131072)’
zstd-1.5.7/lib/dictBuilder/zdict.c:659:15: enter_function: entry to ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:702:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:709:15: branch_false: following ‘false’ branch (when ‘u >= nbFiles’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:717:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:726:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:737:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_true: following ‘true’ branch (when ‘offset != 1024’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: call_function: calling ‘ZDICT_insertSortCount’ from ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: return_function: returning to ‘ZDICT_analyzeEntropy’ from ‘ZDICT_insertSortCount’
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_false: following ‘false’ branch (when ‘offset == 1024’)...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:749:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:754:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:756:24: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:756:46: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:758:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:763:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:765:24: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:765:46: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:767:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:772:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:776:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:781:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:787:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:792:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:797:31: danger: ‘malloc(131072)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def119]
zstd-1.5.7/lib/dictBuilder/zdict.c:800:13: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(131072)’
zstd-1.5.7/lib/dictBuilder/zdict.c:659:15: enter_function: entry to ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:702:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:709:15: branch_false: following ‘false’ branch (when ‘u >= nbFiles’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:717:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:726:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:737:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_true: following ‘true’ branch (when ‘offset != 1024’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: call_function: calling ‘ZDICT_insertSortCount’ from ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: return_function: returning to ‘ZDICT_analyzeEntropy’ from ‘ZDICT_insertSortCount’
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_false: following ‘false’ branch (when ‘offset == 1024’)...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:749:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:754:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:756:24: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:756:46: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:758:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:763:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:765:24: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:765:46: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:767:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:772:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:776:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:781:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:787:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:792:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:798:12: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:800:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:800:13: branch_true: following ‘true’ branch (when ‘notificationLevel != 0’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:800:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:800:13: danger: ‘malloc(131072)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def120]
zstd-1.5.7/lib/dictBuilder/zdict.c:808:31: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(131072)’
zstd-1.5.7/lib/dictBuilder/zdict.c:659:15: enter_function: entry to ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:702:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:709:15: branch_false: following ‘false’ branch (when ‘u >= nbFiles’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:717:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:726:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:737:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_true: following ‘true’ branch (when ‘offset != 1024’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: call_function: calling ‘ZDICT_insertSortCount’ from ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: return_function: returning to ‘ZDICT_analyzeEntropy’ from ‘ZDICT_insertSortCount’
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_false: following ‘false’ branch (when ‘offset == 1024’)...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:749:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:754:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:756:24: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:756:46: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:758:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:763:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:765:24: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:765:46: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:767:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:772:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:776:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:781:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:787:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:792:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:798:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:803:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:808:31: danger: ‘malloc(131072)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def121]
zstd-1.5.7/lib/dictBuilder/zdict.c:811:13: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(131072)’
zstd-1.5.7/lib/dictBuilder/zdict.c:659:15: enter_function: entry to ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:702:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:709:15: branch_false: following ‘false’ branch (when ‘u >= nbFiles’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:717:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:726:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:737:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_true: following ‘true’ branch (when ‘offset != 1024’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: call_function: calling ‘ZDICT_insertSortCount’ from ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: return_function: returning to ‘ZDICT_analyzeEntropy’ from ‘ZDICT_insertSortCount’
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_false: following ‘false’ branch (when ‘offset == 1024’)...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:749:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:754:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:756:24: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:756:46: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:758:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:763:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:765:24: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:765:46: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:767:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:772:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:776:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:781:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:787:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:792:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:798:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:803:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:809:12: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:811:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:811:13: branch_true: following ‘true’ branch (when ‘notificationLevel != 0’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:811:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:811:13: danger: ‘malloc(131072)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def122]
zstd-1.5.7/lib/dictBuilder/zdict.c:821:9: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(131072)’
zstd-1.5.7/lib/dictBuilder/zdict.c:659:15: enter_function: entry to ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:702:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:709:15: branch_false: following ‘false’ branch (when ‘u >= nbFiles’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:717:8: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:726:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:731:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:737:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_true: following ‘true’ branch (when ‘offset != 1024’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: call_function: calling ‘ZDICT_insertSortCount’ from ‘ZDICT_analyzeEntropy’
zstd-1.5.7/lib/dictBuilder/zdict.c:743:13: return_function: returning to ‘ZDICT_analyzeEntropy’ from ‘ZDICT_insertSortCount’
zstd-1.5.7/lib/dictBuilder/zdict.c:742:24: branch_false: following ‘false’ branch (when ‘offset == 1024’)...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:749:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:754:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:756:24: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:756:46: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:758:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:763:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:765:24: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:765:46: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:767:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:772:5: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:776:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:781:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:787:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:792:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:798:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:803:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:809:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/dictBuilder/zdict.c:814:9: branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:819:8: branch_true: following ‘true’ branch (when ‘maxDstSize <= 11’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:821:9: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:821:9: branch_true: following ‘true’ branch (when ‘notificationLevel != 0’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:821:9: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:821:9: danger: ‘malloc(131072)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def123]
zstd-1.5.7/lib/dictBuilder/zdict.c:838:5: warning[-Wanalyzer-malloc-leak]: leak of ‘esr.workPlace’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:838:5: danger: ‘esr.workPlace’ leaks here; was allocated at [(9)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def124]
zstd-1.5.7/lib/dictBuilder/zdict.c:839:5: warning[-Wanalyzer-malloc-leak]: leak of ‘esr.workPlace’
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: branch_false: following ‘false’ branch...
 branch_false: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:689:15: branch_true: following ‘true’ branch (when ‘u != 256’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:689:27: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:691:15: branch_true: following ‘true’ branch (when ‘u != 53’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:691:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:692:15: branch_true: following ‘true’ branch (when ‘u != 36’)...
zstd-1.5.7/lib/dictBuilder/zdict.c:692:30: branch_true: ...to here
zstd-1.5.7/lib/dictBuilder/zdict.c:701:21: acquire_memory: allocated here
zstd-1.5.7/lib/dictBuilder/zdict.c:839:5: danger: ‘esr.workPlace’ leaks here; was allocated at [(9)](sarif:/runs/0/results/47/codeFlows/0/threadFlows/0/locations/8)
Error: COMPILER_WARNING (CWE-457): [#def125]
zstd-1.5.7/lib/legacy/zstd_v01.c:1496:5: warning[-Wmaybe-uninitialized]: ‘MEM <unsigned int> [(struct  *)&litbp]’ may be used uninitialized
zstd-1.5.7/lib/legacy/zstd_v01.c: scope_hint: In function ‘ZSTD_decompressBlock’
zstd-1.5.7/lib/legacy/zstd_v01.c:1489:23: note: ‘MEM <unsigned int> [(struct  *)&litbp]’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def126]
zstd-1.5.7/lib/legacy/zstd_v01.c:1505:20: warning[-Wmaybe-uninitialized]: ‘litbp.origSize’ may be used uninitialized
zstd-1.5.7/lib/legacy/zstd_v01.c: scope_hint: In function ‘ZSTD_decompressBlock’
zstd-1.5.7/lib/legacy/zstd_v01.c:1489:23: note: ‘litbp.origSize’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def127]
zstd-1.5.7/lib/legacy/zstd_v01.c:1850:35: warning[-Wmaybe-uninitialized]: ‘dumpsLength’ may be used uninitialized
zstd-1.5.7/lib/legacy/zstd_v01.c: scope_hint: In function ‘ZSTD_decompressBlock’
zstd-1.5.7/lib/legacy/zstd_v01.c:1826:23: note: ‘dumpsLength’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def128]
zstd-1.5.7/lib/legacy/zstd_v01.c:1850:35: warning[-Wmaybe-uninitialized]: ‘dumps’ may be used uninitialized
zstd-1.5.7/lib/legacy/zstd_v01.c: scope_hint: In function ‘ZSTD_decompressBlock’
zstd-1.5.7/lib/legacy/zstd_v01.c:1830:17: note: ‘dumps’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def129]
zstd-1.5.7/lib/legacy/zstd_v01.c:1858:83: warning[-Wmaybe-uninitialized]: ‘nbSeq’ may be used uninitialized
zstd-1.5.7/lib/legacy/zstd_v01.c: scope_hint: In function ‘ZSTD_decompressBlock’
zstd-1.5.7/lib/legacy/zstd_v01.c:1829:9: note: ‘nbSeq’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def130]
zstd-1.5.7/lib/legacy/zstd_v01.c: scope_hint: In function ‘ZSTDv01_decompressDCtx’
zstd-1.5.7/lib/legacy/zstd_v01.c:1936:9: warning[-Wmaybe-uninitialized]: ‘MEM <unsigned int> [(struct  *)&blockProperties]’ may be used uninitialized
zstd-1.5.7/lib/legacy/zstd_v01.c:1918:23: note: ‘MEM <unsigned int> [(struct  *)&blockProperties]’ was declared here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def131]
zstd-1.5.7/lib/legacy/zstd_v03.c:1527:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
zstd-1.5.7/lib/legacy/zstd_v03.c:3102:8: enter_function: entry to ‘ZSTDv03_decompressContinue’
zstd-1.5.7/lib/legacy/zstd_v03.c:3104:12: call_function: calling ‘ZSTD_decompressContinue’ from ‘ZSTDv03_decompressContinue’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def132]
zstd-1.5.7/lib/legacy/zstd_v04.c:2328:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘Dtime[1]’
zstd-1.5.7/lib/legacy/zstd_v04.c:3591:8: enter_function: entry to ‘ZBUFFv04_decompressContinue’
zstd-1.5.7/lib/legacy/zstd_v04.c:3594:12: call_function: calling ‘ZBUFF_decompressContinue’ from ‘ZBUFFv04_decompressContinue’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def133]
zstd-1.5.7/lib/legacy/zstd_v05.c:2111:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘rankValOrigin’
zstd-1.5.7/lib/legacy/zstd_v05.c:3686:8: enter_function: entry to ‘ZSTDv05_decompressBegin_usingDict’
zstd-1.5.7/lib/legacy/zstd_v05.c:3692:8: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/legacy/zstd_v05.c:3693:21: branch_true: ...to here
zstd-1.5.7/lib/legacy/zstd_v05.c:3693:21: call_function: calling ‘ZSTDv05_decompress_insertDictionary’ from ‘ZSTDv05_decompressBegin_usingDict’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def134]
zstd-1.5.7/lib/legacy/zstd_v05.c:2211:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
zstd-1.5.7/lib/legacy/zstd_v05.c:3686:8: enter_function: entry to ‘ZSTDv05_decompressBegin_usingDict’
zstd-1.5.7/lib/legacy/zstd_v05.c:3692:8: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/legacy/zstd_v05.c:3693:21: branch_true: ...to here
zstd-1.5.7/lib/legacy/zstd_v05.c:3693:21: call_function: calling ‘ZSTDv05_decompress_insertDictionary’ from ‘ZSTDv05_decompressBegin_usingDict’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def135]
zstd-1.5.7/lib/legacy/zstd_v07.c:2047:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘rankValOrigin’
zstd-1.5.7/lib/legacy/zstd_v07.c:4114:8: enter_function: entry to ‘ZSTDv07_decompressBegin_usingDict’
zstd-1.5.7/lib/legacy/zstd_v07.c:4119:8: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/legacy/zstd_v07.c:4120:34: branch_true: ...to here
zstd-1.5.7/lib/legacy/zstd_v07.c:4120:34: call_function: calling ‘ZSTDv07_decompress_insertDictionary’ from ‘ZSTDv07_decompressBegin_usingDict’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def136]
zstd-1.5.7/lib/legacy/zstd_v07.c:2145:37: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
zstd-1.5.7/lib/legacy/zstd_v07.c:4114:8: enter_function: entry to ‘ZSTDv07_decompressBegin_usingDict’
zstd-1.5.7/lib/legacy/zstd_v07.c:4119:8: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/legacy/zstd_v07.c:4120:34: branch_true: ...to here
zstd-1.5.7/lib/legacy/zstd_v07.c:4120:34: call_function: calling ‘ZSTDv07_decompress_insertDictionary’ from ‘ZSTDv07_decompressBegin_usingDict’
Error: CPPCHECK_WARNING (CWE-457): [#def137]
zstd-1.5.7/programs/benchfn.c:97: error[uninitvar]: Uninitialized variable: outcome.error_result_never_ever_use_directly
Error: GCC_ANALYZER_WARNING (CWE-457): [#def138]
zstd-1.5.7/programs/benchfn.c:97:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘outcome.error_result_never_ever_use_directly’
zstd-1.5.7/programs/benchfn.c:144:20: call_function: inlined call to ‘BMK_setValid_runTime’ from ‘BMK_benchFunction’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def139]
zstd-1.5.7/programs/benchfn.c:195:30: warning[-Wanalyzer-malloc-leak]: leak of ‘r’
zstd-1.5.7/programs/benchfn.c:160:21: enter_function: entry to ‘BMK_createTimedFnState’
zstd-1.5.7/programs/benchfn.c:162:56: acquire_memory: allocated here
zstd-1.5.7/programs/benchfn.c:163:8: branch_false: following ‘false’ branch (when ‘r’ is non-NULL)...
zstd-1.5.7/programs/benchfn.c:164:5: branch_false: ...to here
zstd-1.5.7/programs/benchfn.c:164:5: call_function: calling ‘BMK_resetTimedFnState’ from ‘BMK_createTimedFnState’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def140]
zstd-1.5.7/programs/benchzstd.c:464:21: warning[-Wanalyzer-malloc-leak]: leak of ‘cCapacities’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def141]
zstd-1.5.7/programs/benchzstd.c:464:21: warning[-Wanalyzer-malloc-leak]: leak of ‘cPtrs’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def142]
zstd-1.5.7/programs/benchzstd.c:464:21: warning[-Wanalyzer-malloc-leak]: leak of ‘cSizes’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def143]
zstd-1.5.7/programs/benchzstd.c:464:21: warning[-Wanalyzer-malloc-leak]: leak of ‘compressedBuffer’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def144]
zstd-1.5.7/programs/benchzstd.c:464:21: warning[-Wanalyzer-malloc-leak]: leak of ‘resPtrs’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def145]
zstd-1.5.7/programs/benchzstd.c:464:21: warning[-Wanalyzer-malloc-leak]: leak of ‘resSizes’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def146]
zstd-1.5.7/programs/benchzstd.c:464:21: warning[-Wanalyzer-malloc-leak]: leak of ‘resultBuffer’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def147]
zstd-1.5.7/programs/benchzstd.c:464:21: warning[-Wanalyzer-malloc-leak]: leak of ‘srcPtrs’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def148]
zstd-1.5.7/programs/benchzstd.c:464:21: warning[-Wanalyzer-malloc-leak]: leak of ‘srcSizes’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def149]
zstd-1.5.7/programs/benchzstd.c:466:17: warning[-Wanalyzer-malloc-leak]: leak of ‘cCapacities’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def150]
zstd-1.5.7/programs/benchzstd.c:466:17: warning[-Wanalyzer-malloc-leak]: leak of ‘cPtrs’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def151]
zstd-1.5.7/programs/benchzstd.c:466:17: warning[-Wanalyzer-malloc-leak]: leak of ‘cSizes’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def152]
zstd-1.5.7/programs/benchzstd.c:466:17: warning[-Wanalyzer-malloc-leak]: leak of ‘compressedBuffer’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def153]
zstd-1.5.7/programs/benchzstd.c:466:17: warning[-Wanalyzer-malloc-leak]: leak of ‘resPtrs’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def154]
zstd-1.5.7/programs/benchzstd.c:466:17: warning[-Wanalyzer-malloc-leak]: leak of ‘resSizes’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def155]
zstd-1.5.7/programs/benchzstd.c:466:17: warning[-Wanalyzer-malloc-leak]: leak of ‘resultBuffer’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def156]
zstd-1.5.7/programs/benchzstd.c:466:17: warning[-Wanalyzer-malloc-leak]: leak of ‘srcPtrs’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def157]
zstd-1.5.7/programs/benchzstd.c:466:17: warning[-Wanalyzer-malloc-leak]: leak of ‘srcSizes’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def158]
zstd-1.5.7/programs/benchzstd.c:472:17: warning[-Wanalyzer-malloc-leak]: leak of ‘cCapacities’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def159]
zstd-1.5.7/programs/benchzstd.c:472:17: warning[-Wanalyzer-malloc-leak]: leak of ‘cPtrs’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def160]
zstd-1.5.7/programs/benchzstd.c:472:17: warning[-Wanalyzer-malloc-leak]: leak of ‘cSizes’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def161]
zstd-1.5.7/programs/benchzstd.c:472:17: warning[-Wanalyzer-malloc-leak]: leak of ‘compressedBuffer’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def162]
zstd-1.5.7/programs/benchzstd.c:472:17: warning[-Wanalyzer-malloc-leak]: leak of ‘resPtrs’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def163]
zstd-1.5.7/programs/benchzstd.c:472:17: warning[-Wanalyzer-malloc-leak]: leak of ‘resSizes’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def164]
zstd-1.5.7/programs/benchzstd.c:472:17: warning[-Wanalyzer-malloc-leak]: leak of ‘resultBuffer’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def165]
zstd-1.5.7/programs/benchzstd.c:472:17: warning[-Wanalyzer-malloc-leak]: leak of ‘srcPtrs’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def166]
zstd-1.5.7/programs/benchzstd.c:472:17: warning[-Wanalyzer-malloc-leak]: leak of ‘srcSizes’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def167]
zstd-1.5.7/programs/benchzstd.c:492:17: warning[-Wanalyzer-malloc-leak]: leak of ‘cCapacities’
zstd-1.5.7/programs/benchzstd.c:994:5: enter_function: entry to ‘BMK_syntheticTest’
zstd-1.5.7/programs/benchzstd.c:1007:8: branch_false: following ‘false’ branch (when ‘srcBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1013:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1013:8: branch_true: following ‘true’ branch (when ‘compressibility < 0.0’)...
zstd-1.5.7/programs/benchzstd.c:1014:9: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1026:19: call_function: calling ‘BMK_benchCLevels’ from ‘BMK_syntheticTest’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def168]
zstd-1.5.7/programs/benchzstd.c:492:17: warning[-Wanalyzer-malloc-leak]: leak of ‘cPtrs’
zstd-1.5.7/programs/benchzstd.c:994:5: enter_function: entry to ‘BMK_syntheticTest’
zstd-1.5.7/programs/benchzstd.c:1007:8: branch_false: following ‘false’ branch (when ‘srcBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1013:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1013:8: branch_true: following ‘true’ branch (when ‘compressibility < 0.0’)...
zstd-1.5.7/programs/benchzstd.c:1014:9: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1026:19: call_function: calling ‘BMK_benchCLevels’ from ‘BMK_syntheticTest’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def169]
zstd-1.5.7/programs/benchzstd.c:492:17: warning[-Wanalyzer-malloc-leak]: leak of ‘cSizes’
zstd-1.5.7/programs/benchzstd.c:994:5: enter_function: entry to ‘BMK_syntheticTest’
zstd-1.5.7/programs/benchzstd.c:1007:8: branch_false: following ‘false’ branch (when ‘srcBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1013:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1013:8: branch_true: following ‘true’ branch (when ‘compressibility < 0.0’)...
zstd-1.5.7/programs/benchzstd.c:1014:9: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1026:19: call_function: calling ‘BMK_benchCLevels’ from ‘BMK_syntheticTest’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def170]
zstd-1.5.7/programs/benchzstd.c:492:17: warning[-Wanalyzer-malloc-leak]: leak of ‘compressedBuffer’
zstd-1.5.7/programs/benchzstd.c:994:5: enter_function: entry to ‘BMK_syntheticTest’
zstd-1.5.7/programs/benchzstd.c:1007:8: branch_false: following ‘false’ branch (when ‘srcBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1013:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1013:8: branch_true: following ‘true’ branch (when ‘compressibility < 0.0’)...
zstd-1.5.7/programs/benchzstd.c:1014:9: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1026:19: call_function: calling ‘BMK_benchCLevels’ from ‘BMK_syntheticTest’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def171]
zstd-1.5.7/programs/benchzstd.c:492:17: warning[-Wanalyzer-malloc-leak]: leak of ‘resPtrs’
zstd-1.5.7/programs/benchzstd.c:994:5: enter_function: entry to ‘BMK_syntheticTest’
zstd-1.5.7/programs/benchzstd.c:1007:8: branch_false: following ‘false’ branch (when ‘srcBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1013:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1013:8: branch_true: following ‘true’ branch (when ‘compressibility < 0.0’)...
zstd-1.5.7/programs/benchzstd.c:1014:9: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1026:19: call_function: calling ‘BMK_benchCLevels’ from ‘BMK_syntheticTest’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def172]
zstd-1.5.7/programs/benchzstd.c:492:17: warning[-Wanalyzer-malloc-leak]: leak of ‘resSizes’
zstd-1.5.7/programs/benchzstd.c:994:5: enter_function: entry to ‘BMK_syntheticTest’
zstd-1.5.7/programs/benchzstd.c:1007:8: branch_false: following ‘false’ branch (when ‘srcBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1013:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1013:8: branch_true: following ‘true’ branch (when ‘compressibility < 0.0’)...
zstd-1.5.7/programs/benchzstd.c:1014:9: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1026:19: call_function: calling ‘BMK_benchCLevels’ from ‘BMK_syntheticTest’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def173]
zstd-1.5.7/programs/benchzstd.c:492:17: warning[-Wanalyzer-malloc-leak]: leak of ‘srcPtrs’
zstd-1.5.7/programs/benchzstd.c:994:5: enter_function: entry to ‘BMK_syntheticTest’
zstd-1.5.7/programs/benchzstd.c:1007:8: branch_false: following ‘false’ branch (when ‘srcBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1013:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1013:8: branch_true: following ‘true’ branch (when ‘compressibility < 0.0’)...
zstd-1.5.7/programs/benchzstd.c:1014:9: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1026:19: call_function: calling ‘BMK_benchCLevels’ from ‘BMK_syntheticTest’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def174]
zstd-1.5.7/programs/benchzstd.c:492:17: warning[-Wanalyzer-malloc-leak]: leak of ‘srcSizes’
zstd-1.5.7/programs/benchzstd.c:994:5: enter_function: entry to ‘BMK_syntheticTest’
zstd-1.5.7/programs/benchzstd.c:1007:8: branch_false: following ‘false’ branch (when ‘srcBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1013:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1013:8: branch_true: following ‘true’ branch (when ‘compressibility < 0.0’)...
zstd-1.5.7/programs/benchzstd.c:1014:9: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1026:19: call_function: calling ‘BMK_benchCLevels’ from ‘BMK_syntheticTest’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def175]
zstd-1.5.7/programs/benchzstd.c:818:45: warning[-Wanalyzer-malloc-leak]: leak of ‘cCapacities’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def176]
zstd-1.5.7/programs/benchzstd.c:818:45: warning[-Wanalyzer-malloc-leak]: leak of ‘cPtrs’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def177]
zstd-1.5.7/programs/benchzstd.c:818:45: warning[-Wanalyzer-malloc-leak]: leak of ‘cSizes’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def178]
zstd-1.5.7/programs/benchzstd.c:818:45: warning[-Wanalyzer-malloc-leak]: leak of ‘resPtrs’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def179]
zstd-1.5.7/programs/benchzstd.c:818:45: warning[-Wanalyzer-malloc-leak]: leak of ‘resSizes’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def180]
zstd-1.5.7/programs/benchzstd.c:818:45: warning[-Wanalyzer-malloc-leak]: leak of ‘srcPtrs’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def181]
zstd-1.5.7/programs/benchzstd.c:818:45: warning[-Wanalyzer-malloc-leak]: leak of ‘srcSizes’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def182]
zstd-1.5.7/programs/benchzstd.c:820:47: warning[-Wanalyzer-malloc-leak]: leak of ‘cCapacities’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def183]
zstd-1.5.7/programs/benchzstd.c:820:47: warning[-Wanalyzer-malloc-leak]: leak of ‘cPtrs’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def184]
zstd-1.5.7/programs/benchzstd.c:820:47: warning[-Wanalyzer-malloc-leak]: leak of ‘cSizes’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def185]
zstd-1.5.7/programs/benchzstd.c:820:47: warning[-Wanalyzer-malloc-leak]: leak of ‘resPtrs’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def186]
zstd-1.5.7/programs/benchzstd.c:820:47: warning[-Wanalyzer-malloc-leak]: leak of ‘resSizes’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def187]
zstd-1.5.7/programs/benchzstd.c:820:47: warning[-Wanalyzer-malloc-leak]: leak of ‘srcPtrs’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def188]
zstd-1.5.7/programs/benchzstd.c:820:47: warning[-Wanalyzer-malloc-leak]: leak of ‘srcSizes’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def189]
zstd-1.5.7/programs/benchzstd.c:823:29: warning[-Wanalyzer-malloc-leak]: leak of ‘cCapacities’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def190]
zstd-1.5.7/programs/benchzstd.c:823:29: warning[-Wanalyzer-malloc-leak]: leak of ‘cPtrs’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def191]
zstd-1.5.7/programs/benchzstd.c:823:29: warning[-Wanalyzer-malloc-leak]: leak of ‘cSizes’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def192]
zstd-1.5.7/programs/benchzstd.c:823:29: warning[-Wanalyzer-malloc-leak]: leak of ‘resPtrs’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def193]
zstd-1.5.7/programs/benchzstd.c:823:29: warning[-Wanalyzer-malloc-leak]: leak of ‘resSizes’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def194]
zstd-1.5.7/programs/benchzstd.c:823:29: warning[-Wanalyzer-malloc-leak]: leak of ‘srcPtrs’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def195]
zstd-1.5.7/programs/benchzstd.c:823:29: warning[-Wanalyzer-malloc-leak]: leak of ‘srcSizes’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def196]
zstd-1.5.7/programs/benchzstd.c:824:29: warning[-Wanalyzer-malloc-leak]: leak of ‘cCapacities’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def197]
zstd-1.5.7/programs/benchzstd.c:824:29: warning[-Wanalyzer-malloc-leak]: leak of ‘cPtrs’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def198]
zstd-1.5.7/programs/benchzstd.c:824:29: warning[-Wanalyzer-malloc-leak]: leak of ‘cSizes’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def199]
zstd-1.5.7/programs/benchzstd.c:824:29: warning[-Wanalyzer-malloc-leak]: leak of ‘resPtrs’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def200]
zstd-1.5.7/programs/benchzstd.c:824:29: warning[-Wanalyzer-malloc-leak]: leak of ‘resSizes’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def201]
zstd-1.5.7/programs/benchzstd.c:824:29: warning[-Wanalyzer-malloc-leak]: leak of ‘srcPtrs’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def202]
zstd-1.5.7/programs/benchzstd.c:824:29: warning[-Wanalyzer-malloc-leak]: leak of ‘srcSizes’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def203]
zstd-1.5.7/programs/benchzstd.c:828:15: warning[-Wanalyzer-malloc-leak]: leak of ‘cCapacities’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def204]
zstd-1.5.7/programs/benchzstd.c:828:15: warning[-Wanalyzer-malloc-leak]: leak of ‘cPtrs’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def205]
zstd-1.5.7/programs/benchzstd.c:828:15: warning[-Wanalyzer-malloc-leak]: leak of ‘cSizes’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def206]
zstd-1.5.7/programs/benchzstd.c:828:15: warning[-Wanalyzer-malloc-leak]: leak of ‘resPtrs’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def207]
zstd-1.5.7/programs/benchzstd.c:828:15: warning[-Wanalyzer-malloc-leak]: leak of ‘resSizes’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def208]
zstd-1.5.7/programs/benchzstd.c:828:15: warning[-Wanalyzer-malloc-leak]: leak of ‘srcPtrs’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def209]
zstd-1.5.7/programs/benchzstd.c:828:15: warning[-Wanalyzer-malloc-leak]: leak of ‘srcSizes’
zstd-1.5.7/programs/benchzstd.c:932:12: enter_function: entry to ‘BMK_benchCLevels’
zstd-1.5.7/programs/benchzstd.c:952:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:956:8: branch_false: following ‘false’ branch (when ‘endCLevel >= startCLevel’)...
zstd-1.5.7/programs/benchzstd.c:961:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:974:31: branch_true: following ‘true’ branch (when ‘level <= endCLevel’)...
zstd-1.5.7/programs/benchzstd.c:975:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:975:34: call_function: calling ‘BMK_benchMemAdvanced’ from ‘BMK_benchCLevels’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def210]
zstd-1.5.7/programs/benchzstd.c:1014:9: warning[-Wanalyzer-malloc-leak]: leak of ‘srcBuffer’
zstd-1.5.7/programs/benchzstd.c:1006:29: acquire_memory: allocated here
zstd-1.5.7/programs/benchzstd.c:1007:8: branch_false: following ‘false’ branch (when ‘srcBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1013:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1013:8: branch_true: following ‘true’ branch (when ‘compressibility < 0.0’)...
zstd-1.5.7/programs/benchzstd.c:1014:9: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1014:9: danger: ‘srcBuffer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/106/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def211]
zstd-1.5.7/programs/benchzstd.c:1017:9: warning[-Wanalyzer-malloc-leak]: leak of ‘srcBuffer’
zstd-1.5.7/programs/benchzstd.c:1006:29: acquire_memory: allocated here
zstd-1.5.7/programs/benchzstd.c:1007:8: branch_false: following ‘false’ branch (when ‘srcBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1013:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1013:8: branch_false: following ‘false’ branch (when ‘compressibility >= 0.0’)...
zstd-1.5.7/programs/benchzstd.c:1017:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1017:9: danger: ‘srcBuffer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/107/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-126): [#def212]
zstd-1.5.7/programs/benchzstd.c:1076:27: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
zstd-1.5.7/programs/benchzstd.c:1125:5: enter_function: entry to ‘BMK_benchFilesAdvanced’
zstd-1.5.7/programs/benchzstd.c:1142:8: branch_false: following ‘false’ branch (when ‘nbFiles != 0’)...
zstd-1.5.7/programs/benchzstd.c:1147:21: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1147:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1157:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1158:8: branch_false: following ‘false’ branch (when ‘fileSizes’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1164:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1164:8: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/benchzstd.c:1165:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1166:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1182:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1183:12: branch_false: following ‘false’ branch (when ‘dictBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1193:35: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1193:35: call_function: calling ‘BMK_loadFiles’ from ‘BMK_benchFilesAdvanced’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def213]
zstd-1.5.7/programs/benchzstd.c:1077:24: warning[-Wanalyzer-malloc-leak]: leak of ‘dictBuffer’
zstd-1.5.7/programs/benchzstd.c:1125:5: enter_function: entry to ‘BMK_benchFilesAdvanced’
zstd-1.5.7/programs/benchzstd.c:1142:8: branch_false: following ‘false’ branch (when ‘nbFiles != 0’)...
zstd-1.5.7/programs/benchzstd.c:1147:21: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1147:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1157:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1158:8: branch_false: following ‘false’ branch (when ‘fileSizes’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1164:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1164:8: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/benchzstd.c:1165:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1166:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1182:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1182:26: acquire_memory: allocated here
zstd-1.5.7/programs/benchzstd.c:1183:12: branch_false: following ‘false’ branch (when ‘dictBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1193:35: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1193:35: call_function: calling ‘BMK_loadFiles’ from ‘BMK_benchFilesAdvanced’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def214]
zstd-1.5.7/programs/benchzstd.c:1077:24: warning[-Wanalyzer-malloc-leak]: leak of ‘fileSizes’
zstd-1.5.7/programs/benchzstd.c:1125:5: enter_function: entry to ‘BMK_benchFilesAdvanced’
zstd-1.5.7/programs/benchzstd.c:1142:8: branch_false: following ‘false’ branch (when ‘nbFiles != 0’)...
zstd-1.5.7/programs/benchzstd.c:1147:21: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1147:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1157:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1157:26: acquire_memory: allocated here
zstd-1.5.7/programs/benchzstd.c:1158:8: branch_false: following ‘false’ branch (when ‘fileSizes’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1164:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1164:8: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/benchzstd.c:1165:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1166:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1182:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1183:12: branch_false: following ‘false’ branch (when ‘dictBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1193:35: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1193:35: call_function: calling ‘BMK_loadFiles’ from ‘BMK_benchFilesAdvanced’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def215]
zstd-1.5.7/programs/benchzstd.c:1077:24: warning[-Wanalyzer-malloc-leak]: leak of ‘srcBuffer’
zstd-1.5.7/programs/benchzstd.c:1125:5: enter_function: entry to ‘BMK_benchFilesAdvanced’
zstd-1.5.7/programs/benchzstd.c:1142:8: branch_false: following ‘false’ branch (when ‘nbFiles != 0’)...
zstd-1.5.7/programs/benchzstd.c:1147:21: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1147:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1157:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1158:8: branch_false: following ‘false’ branch (when ‘fileSizes’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1164:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1164:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1207:19: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1214:17: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/benchzstd.c:1214:31: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1214:31: acquire_memory: allocated here
zstd-1.5.7/programs/benchzstd.c:1215:8: branch_false: following ‘false’ branch (when ‘srcBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1224:31: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1224:31: call_function: calling ‘BMK_loadFiles’ from ‘BMK_benchFilesAdvanced’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def216]
zstd-1.5.7/programs/benchzstd.c:1079:13: warning[-Wanalyzer-malloc-leak]: leak of ‘dictBuffer’
zstd-1.5.7/programs/benchzstd.c:1125:5: enter_function: entry to ‘BMK_benchFilesAdvanced’
zstd-1.5.7/programs/benchzstd.c:1142:8: branch_false: following ‘false’ branch (when ‘nbFiles != 0’)...
zstd-1.5.7/programs/benchzstd.c:1147:21: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1147:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1157:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1158:8: branch_false: following ‘false’ branch (when ‘fileSizes’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1164:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1164:8: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/benchzstd.c:1165:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1166:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1182:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1182:26: acquire_memory: allocated here
zstd-1.5.7/programs/benchzstd.c:1183:12: branch_false: following ‘false’ branch (when ‘dictBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1193:35: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1193:35: call_function: calling ‘BMK_loadFiles’ from ‘BMK_benchFilesAdvanced’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def217]
zstd-1.5.7/programs/benchzstd.c:1079:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fileSizes’
zstd-1.5.7/programs/benchzstd.c:1125:5: enter_function: entry to ‘BMK_benchFilesAdvanced’
zstd-1.5.7/programs/benchzstd.c:1142:8: branch_false: following ‘false’ branch (when ‘nbFiles != 0’)...
zstd-1.5.7/programs/benchzstd.c:1147:21: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1147:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1157:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1157:26: acquire_memory: allocated here
zstd-1.5.7/programs/benchzstd.c:1158:8: branch_false: following ‘false’ branch (when ‘fileSizes’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1164:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1164:8: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/benchzstd.c:1165:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1166:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1182:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1183:12: branch_false: following ‘false’ branch (when ‘dictBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1193:35: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1193:35: call_function: calling ‘BMK_loadFiles’ from ‘BMK_benchFilesAdvanced’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def218]
zstd-1.5.7/programs/benchzstd.c:1079:13: warning[-Wanalyzer-malloc-leak]: leak of ‘srcBuffer’
zstd-1.5.7/programs/benchzstd.c:1125:5: enter_function: entry to ‘BMK_benchFilesAdvanced’
zstd-1.5.7/programs/benchzstd.c:1142:8: branch_false: following ‘false’ branch (when ‘nbFiles != 0’)...
zstd-1.5.7/programs/benchzstd.c:1147:21: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1147:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1157:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1158:8: branch_false: following ‘false’ branch (when ‘fileSizes’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1164:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1164:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1207:19: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1214:17: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/benchzstd.c:1214:31: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1214:31: acquire_memory: allocated here
zstd-1.5.7/programs/benchzstd.c:1215:8: branch_false: following ‘false’ branch (when ‘srcBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1224:31: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1224:31: call_function: calling ‘BMK_loadFiles’ from ‘BMK_benchFilesAdvanced’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def219]
zstd-1.5.7/programs/benchzstd.c:1080:13: warning[-Wanalyzer-malloc-leak]: leak of ‘dictBuffer’
zstd-1.5.7/programs/benchzstd.c:1125:5: enter_function: entry to ‘BMK_benchFilesAdvanced’
zstd-1.5.7/programs/benchzstd.c:1142:8: branch_false: following ‘false’ branch (when ‘nbFiles != 0’)...
zstd-1.5.7/programs/benchzstd.c:1147:21: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1147:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1157:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1158:8: branch_false: following ‘false’ branch (when ‘fileSizes’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1164:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1164:8: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/benchzstd.c:1165:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1166:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1182:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1182:26: acquire_memory: allocated here
zstd-1.5.7/programs/benchzstd.c:1183:12: branch_false: following ‘false’ branch (when ‘dictBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1193:35: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1193:35: call_function: calling ‘BMK_loadFiles’ from ‘BMK_benchFilesAdvanced’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def220]
zstd-1.5.7/programs/benchzstd.c:1080:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fileSizes’
zstd-1.5.7/programs/benchzstd.c:1125:5: enter_function: entry to ‘BMK_benchFilesAdvanced’
zstd-1.5.7/programs/benchzstd.c:1142:8: branch_false: following ‘false’ branch (when ‘nbFiles != 0’)...
zstd-1.5.7/programs/benchzstd.c:1147:21: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1147:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1157:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1157:26: acquire_memory: allocated here
zstd-1.5.7/programs/benchzstd.c:1158:8: branch_false: following ‘false’ branch (when ‘fileSizes’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1164:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1164:8: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/benchzstd.c:1165:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1166:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1182:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1183:12: branch_false: following ‘false’ branch (when ‘dictBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1193:35: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1193:35: call_function: calling ‘BMK_loadFiles’ from ‘BMK_benchFilesAdvanced’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def221]
zstd-1.5.7/programs/benchzstd.c:1080:13: warning[-Wanalyzer-malloc-leak]: leak of ‘srcBuffer’
zstd-1.5.7/programs/benchzstd.c:1125:5: enter_function: entry to ‘BMK_benchFilesAdvanced’
zstd-1.5.7/programs/benchzstd.c:1142:8: branch_false: following ‘false’ branch (when ‘nbFiles != 0’)...
zstd-1.5.7/programs/benchzstd.c:1147:21: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1147:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1157:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1158:8: branch_false: following ‘false’ branch (when ‘fileSizes’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1164:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1164:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1207:19: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1214:17: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/benchzstd.c:1214:31: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1214:31: acquire_memory: allocated here
zstd-1.5.7/programs/benchzstd.c:1215:8: branch_false: following ‘false’ branch (when ‘srcBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1224:31: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1224:31: call_function: calling ‘BMK_loadFiles’ from ‘BMK_benchFilesAdvanced’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def222]
zstd-1.5.7/programs/benchzstd.c:1086:13: warning[-Wanalyzer-malloc-leak]: leak of ‘dictBuffer’
zstd-1.5.7/programs/benchzstd.c:1125:5: enter_function: entry to ‘BMK_benchFilesAdvanced’
zstd-1.5.7/programs/benchzstd.c:1142:8: branch_false: following ‘false’ branch (when ‘nbFiles != 0’)...
zstd-1.5.7/programs/benchzstd.c:1147:21: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1147:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1157:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1158:8: branch_false: following ‘false’ branch (when ‘fileSizes’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1164:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1164:8: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/benchzstd.c:1165:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1166:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1182:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1182:26: acquire_memory: allocated here
zstd-1.5.7/programs/benchzstd.c:1183:12: branch_false: following ‘false’ branch (when ‘dictBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1193:35: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1193:35: call_function: calling ‘BMK_loadFiles’ from ‘BMK_benchFilesAdvanced’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def223]
zstd-1.5.7/programs/benchzstd.c:1086:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fileSizes’
zstd-1.5.7/programs/benchzstd.c:1125:5: enter_function: entry to ‘BMK_benchFilesAdvanced’
zstd-1.5.7/programs/benchzstd.c:1142:8: branch_false: following ‘false’ branch (when ‘nbFiles != 0’)...
zstd-1.5.7/programs/benchzstd.c:1147:21: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1147:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1157:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1157:26: acquire_memory: allocated here
zstd-1.5.7/programs/benchzstd.c:1158:8: branch_false: following ‘false’ branch (when ‘fileSizes’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1164:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1164:8: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/benchzstd.c:1165:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1166:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1182:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1183:12: branch_false: following ‘false’ branch (when ‘dictBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1193:35: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1193:35: call_function: calling ‘BMK_loadFiles’ from ‘BMK_benchFilesAdvanced’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def224]
zstd-1.5.7/programs/benchzstd.c:1086:13: warning[-Wanalyzer-malloc-leak]: leak of ‘srcBuffer’
zstd-1.5.7/programs/benchzstd.c:1125:5: enter_function: entry to ‘BMK_benchFilesAdvanced’
zstd-1.5.7/programs/benchzstd.c:1142:8: branch_false: following ‘false’ branch (when ‘nbFiles != 0’)...
zstd-1.5.7/programs/benchzstd.c:1147:21: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1147:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1157:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1158:8: branch_false: following ‘false’ branch (when ‘fileSizes’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1164:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1164:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1207:19: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1214:17: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/benchzstd.c:1214:31: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1214:31: acquire_memory: allocated here
zstd-1.5.7/programs/benchzstd.c:1215:8: branch_false: following ‘false’ branch (when ‘srcBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1224:31: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1224:31: call_function: calling ‘BMK_loadFiles’ from ‘BMK_benchFilesAdvanced’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def225]
zstd-1.5.7/programs/benchzstd.c:1101:17: warning[-Wanalyzer-malloc-leak]: leak of ‘dictBuffer’
zstd-1.5.7/programs/benchzstd.c:1125:5: enter_function: entry to ‘BMK_benchFilesAdvanced’
zstd-1.5.7/programs/benchzstd.c:1142:8: branch_false: following ‘false’ branch (when ‘nbFiles != 0’)...
zstd-1.5.7/programs/benchzstd.c:1147:21: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1147:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1157:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1158:8: branch_false: following ‘false’ branch (when ‘fileSizes’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1164:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1164:8: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/benchzstd.c:1165:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1166:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1182:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1182:26: acquire_memory: allocated here
zstd-1.5.7/programs/benchzstd.c:1183:12: branch_false: following ‘false’ branch (when ‘dictBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1193:35: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1193:35: call_function: calling ‘BMK_loadFiles’ from ‘BMK_benchFilesAdvanced’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def226]
zstd-1.5.7/programs/benchzstd.c:1101:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fileSizes’
zstd-1.5.7/programs/benchzstd.c:1125:5: enter_function: entry to ‘BMK_benchFilesAdvanced’
zstd-1.5.7/programs/benchzstd.c:1142:8: branch_false: following ‘false’ branch (when ‘nbFiles != 0’)...
zstd-1.5.7/programs/benchzstd.c:1147:21: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1147:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1157:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1157:26: acquire_memory: allocated here
zstd-1.5.7/programs/benchzstd.c:1158:8: branch_false: following ‘false’ branch (when ‘fileSizes’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1164:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1164:8: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/benchzstd.c:1165:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1166:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1182:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1183:12: branch_false: following ‘false’ branch (when ‘dictBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1193:35: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1193:35: call_function: calling ‘BMK_loadFiles’ from ‘BMK_benchFilesAdvanced’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def227]
zstd-1.5.7/programs/benchzstd.c:1101:17: warning[-Wanalyzer-malloc-leak]: leak of ‘srcBuffer’
zstd-1.5.7/programs/benchzstd.c:1125:5: enter_function: entry to ‘BMK_benchFilesAdvanced’
zstd-1.5.7/programs/benchzstd.c:1142:8: branch_false: following ‘false’ branch (when ‘nbFiles != 0’)...
zstd-1.5.7/programs/benchzstd.c:1147:21: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1147:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1157:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1158:8: branch_false: following ‘false’ branch (when ‘fileSizes’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1164:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1164:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1207:19: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1214:17: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/benchzstd.c:1214:31: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1214:31: acquire_memory: allocated here
zstd-1.5.7/programs/benchzstd.c:1215:8: branch_false: following ‘false’ branch (when ‘srcBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1224:31: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1224:31: call_function: calling ‘BMK_loadFiles’ from ‘BMK_benchFilesAdvanced’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def228]
zstd-1.5.7/programs/benchzstd.c:1104:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "rb")’
zstd-1.5.7/programs/benchzstd.c:1075:17: branch_true: following ‘true’ branch (when ‘nbFiles > n’)...
zstd-1.5.7/programs/benchzstd.c:1076:52: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1079:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1085:12: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1085:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1093:24: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1099:29: acquire_resource: opened here
zstd-1.5.7/programs/benchzstd.c:1100:16: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1104:13: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1104:13: branch_true: following ‘true’ branch (when ‘displayLevel > 1’)...
zstd-1.5.7/programs/benchzstd.c:1104:13: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1104:13: danger: ‘fopen(filename, "rb")’ leaks here; was opened at [(7)](sarif:/runs/0/results/131/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def229]
zstd-1.5.7/programs/benchzstd.c:1104:13: warning[-Wanalyzer-malloc-leak]: leak of ‘dictBuffer’
zstd-1.5.7/programs/benchzstd.c:1125:5: enter_function: entry to ‘BMK_benchFilesAdvanced’
zstd-1.5.7/programs/benchzstd.c:1142:8: branch_false: following ‘false’ branch (when ‘nbFiles != 0’)...
zstd-1.5.7/programs/benchzstd.c:1147:21: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1147:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1157:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1158:8: branch_false: following ‘false’ branch (when ‘fileSizes’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1164:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1164:8: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/benchzstd.c:1165:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1166:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1182:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1182:26: acquire_memory: allocated here
zstd-1.5.7/programs/benchzstd.c:1183:12: branch_false: following ‘false’ branch (when ‘dictBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1193:35: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1193:35: call_function: calling ‘BMK_loadFiles’ from ‘BMK_benchFilesAdvanced’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def230]
zstd-1.5.7/programs/benchzstd.c:1104:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fileSizes’
zstd-1.5.7/programs/benchzstd.c:1125:5: enter_function: entry to ‘BMK_benchFilesAdvanced’
zstd-1.5.7/programs/benchzstd.c:1142:8: branch_false: following ‘false’ branch (when ‘nbFiles != 0’)...
zstd-1.5.7/programs/benchzstd.c:1147:21: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1147:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1157:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1157:26: acquire_memory: allocated here
zstd-1.5.7/programs/benchzstd.c:1158:8: branch_false: following ‘false’ branch (when ‘fileSizes’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1164:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1164:8: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/benchzstd.c:1165:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1166:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1176:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1182:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1183:12: branch_false: following ‘false’ branch (when ‘dictBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1193:35: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1193:35: call_function: calling ‘BMK_loadFiles’ from ‘BMK_benchFilesAdvanced’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def231]
zstd-1.5.7/programs/benchzstd.c:1104:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "rb")’
zstd-1.5.7/programs/benchzstd.c:1075:17: branch_true: following ‘true’ branch (when ‘nbFiles > n’)...
zstd-1.5.7/programs/benchzstd.c:1076:52: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1079:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1085:12: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1085:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1093:24: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1099:29: acquire_memory: allocated here
zstd-1.5.7/programs/benchzstd.c:1100:16: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1104:13: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1104:13: branch_true: following ‘true’ branch (when ‘displayLevel > 1’)...
zstd-1.5.7/programs/benchzstd.c:1104:13: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1104:13: danger: ‘fopen(filename, "rb")’ leaks here; was allocated at [(7)](sarif:/runs/0/results/133/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def232]
zstd-1.5.7/programs/benchzstd.c:1104:13: warning[-Wanalyzer-malloc-leak]: leak of ‘srcBuffer’
zstd-1.5.7/programs/benchzstd.c:1125:5: enter_function: entry to ‘BMK_benchFilesAdvanced’
zstd-1.5.7/programs/benchzstd.c:1142:8: branch_false: following ‘false’ branch (when ‘nbFiles != 0’)...
zstd-1.5.7/programs/benchzstd.c:1147:21: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1147:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1157:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1158:8: branch_false: following ‘false’ branch (when ‘fileSizes’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1164:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1164:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1207:19: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1214:17: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/benchzstd.c:1214:31: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1214:31: acquire_memory: allocated here
zstd-1.5.7/programs/benchzstd.c:1215:8: branch_false: following ‘false’ branch (when ‘srcBuffer’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1224:31: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1224:31: call_function: calling ‘BMK_loadFiles’ from ‘BMK_benchFilesAdvanced’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def233]
zstd-1.5.7/programs/benchzstd.c:1165:34: warning[-Wanalyzer-malloc-leak]: leak of ‘fileSizes’
zstd-1.5.7/programs/benchzstd.c:1142:8: branch_false: following ‘false’ branch (when ‘nbFiles != 0’)...
zstd-1.5.7/programs/benchzstd.c:1147:21: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1147:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1157:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1157:26: acquire_memory: allocated here
zstd-1.5.7/programs/benchzstd.c:1158:8: branch_false: following ‘false’ branch (when ‘fileSizes’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1164:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1164:8: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/benchzstd.c:1165:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1165:34: danger: ‘fileSizes’ leaks here; was allocated at [(7)](sarif:/runs/0/results/136/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def234]
zstd-1.5.7/programs/benchzstd.c:1167:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fileSizes’
zstd-1.5.7/programs/benchzstd.c:1142:8: branch_false: following ‘false’ branch (when ‘nbFiles != 0’)...
zstd-1.5.7/programs/benchzstd.c:1147:21: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1147:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1157:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1157:26: acquire_memory: allocated here
zstd-1.5.7/programs/benchzstd.c:1158:8: branch_false: following ‘false’ branch (when ‘fileSizes’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1164:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1164:8: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/benchzstd.c:1165:34: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1166:12: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/benchzstd.c:1167:13: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1167:13: branch_true: following ‘true’ branch (when ‘displayLevel > 0’)...
zstd-1.5.7/programs/benchzstd.c:1167:13: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1167:13: danger: ‘fileSizes’ leaks here; was allocated at [(7)](sarif:/runs/0/results/137/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def235]
zstd-1.5.7/programs/benchzstd.c:1211:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fileSizes’
zstd-1.5.7/programs/benchzstd.c:1142:8: branch_false: following ‘false’ branch (when ‘nbFiles != 0’)...
zstd-1.5.7/programs/benchzstd.c:1147:21: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1147:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1152:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1157:26: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1157:26: acquire_memory: allocated here
zstd-1.5.7/programs/benchzstd.c:1158:8: branch_false: following ‘false’ branch (when ‘fileSizes’ is non-NULL)...
zstd-1.5.7/programs/benchzstd.c:1164:9: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1164:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1207:19: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1210:8: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/benchzstd.c:1211:9: branch_true: ...to here
zstd-1.5.7/programs/benchzstd.c:1211:9: danger: ‘fileSizes’ leaks here; was allocated at [(7)](sarif:/runs/0/results/138/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def236]
zstd-1.5.7/programs/dibio.c:98:26: warning[-Wanalyzer-malloc-leak]: leak of ‘dictBuffer’
zstd-1.5.7/programs/dibio.c:312:5: enter_function: entry to ‘DiB_trainFromFiles’
zstd-1.5.7/programs/dibio.c:322:30: acquire_memory: allocated here
zstd-1.5.7/programs/dibio.c:336:10: call_function: calling ‘DiB_fileStats’ from ‘DiB_trainFromFiles’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def237]
zstd-1.5.7/programs/dibio.c:140:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
zstd-1.5.7/programs/dibio.c:128:13: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/dibio.c:130:60: branch_true: ...to here
zstd-1.5.7/programs/dibio.c:131:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/dibio.c:137:13: branch_false: ...to here
zstd-1.5.7/programs/dibio.c:137:13: acquire_resource: opened here
zstd-1.5.7/programs/dibio.c:138:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/dibio.c:140:9: branch_false: ...to here
zstd-1.5.7/programs/dibio.c:140:9: branch_true: following ‘true’ branch (when ‘displayLevel > 1’)...
zstd-1.5.7/programs/dibio.c:140:9: branch_true: ...to here
zstd-1.5.7/programs/dibio.c:140:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def238]
zstd-1.5.7/programs/dibio.c:140:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
zstd-1.5.7/programs/dibio.c:128:13: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/dibio.c:130:60: branch_true: ...to here
zstd-1.5.7/programs/dibio.c:131:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/dibio.c:137:13: branch_false: ...to here
zstd-1.5.7/programs/dibio.c:137:13: acquire_memory: allocated here
zstd-1.5.7/programs/dibio.c:138:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/dibio.c:140:9: branch_false: ...to here
zstd-1.5.7/programs/dibio.c:140:9: branch_true: following ‘true’ branch (when ‘displayLevel > 1’)...
zstd-1.5.7/programs/dibio.c:140:9: branch_true: ...to here
zstd-1.5.7/programs/dibio.c:140:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def239]
zstd-1.5.7/programs/dibio.c:144:37: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
zstd-1.5.7/programs/dibio.c:128:13: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/dibio.c:130:60: branch_true: ...to here
zstd-1.5.7/programs/dibio.c:131:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/dibio.c:137:13: branch_false: ...to here
zstd-1.5.7/programs/dibio.c:137:13: acquire_resource: opened here
zstd-1.5.7/programs/dibio.c:138:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/dibio.c:140:9: branch_false: ...to here
zstd-1.5.7/programs/dibio.c:143:26: branch_true: following ‘true’ branch (when ‘targetChunkSize != 0’)...
zstd-1.5.7/programs/dibio.c:144:37: branch_true: ...to here
zstd-1.5.7/programs/dibio.c:146:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/dibio.c:148:13: branch_false: ...to here
zstd-1.5.7/programs/dibio.c:144:37: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def240]
zstd-1.5.7/programs/dibio.c:144:37: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
zstd-1.5.7/programs/dibio.c:128:13: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/dibio.c:130:60: branch_true: ...to here
zstd-1.5.7/programs/dibio.c:131:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/dibio.c:137:13: branch_false: ...to here
zstd-1.5.7/programs/dibio.c:137:13: acquire_memory: allocated here
zstd-1.5.7/programs/dibio.c:138:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/dibio.c:140:9: branch_false: ...to here
zstd-1.5.7/programs/dibio.c:143:26: branch_true: following ‘true’ branch (when ‘targetChunkSize != 0’)...
zstd-1.5.7/programs/dibio.c:144:37: branch_true: ...to here
zstd-1.5.7/programs/dibio.c:146:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/dibio.c:148:13: branch_false: ...to here
zstd-1.5.7/programs/dibio.c:144:37: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def241]
zstd-1.5.7/programs/dibio.c:146:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*<unknown>, "rb")’
zstd-1.5.7/programs/dibio.c:128:13: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/dibio.c:130:60: branch_true: ...to here
zstd-1.5.7/programs/dibio.c:131:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/dibio.c:137:13: branch_false: ...to here
zstd-1.5.7/programs/dibio.c:137:13: acquire_resource: opened here
zstd-1.5.7/programs/dibio.c:138:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/dibio.c:140:9: branch_false: ...to here
zstd-1.5.7/programs/dibio.c:143:26: branch_false: following ‘false’ branch (when ‘targetChunkSize == 0’)...
zstd-1.5.7/programs/dibio.c:143:26: branch_false: ...to here
zstd-1.5.7/programs/dibio.c:146:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/dibio.c:148:13: branch_false: ...to here
zstd-1.5.7/programs/dibio.c:146:13: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(5)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def242]
zstd-1.5.7/programs/dibio.c:146:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*<unknown>, "rb")’
zstd-1.5.7/programs/dibio.c:128:13: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/dibio.c:130:60: branch_true: ...to here
zstd-1.5.7/programs/dibio.c:131:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/dibio.c:137:13: branch_false: ...to here
zstd-1.5.7/programs/dibio.c:137:13: acquire_memory: allocated here
zstd-1.5.7/programs/dibio.c:138:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/dibio.c:140:9: branch_false: ...to here
zstd-1.5.7/programs/dibio.c:143:26: branch_false: following ‘false’ branch (when ‘targetChunkSize == 0’)...
zstd-1.5.7/programs/dibio.c:143:26: branch_false: ...to here
zstd-1.5.7/programs/dibio.c:146:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/dibio.c:148:13: branch_false: ...to here
zstd-1.5.7/programs/dibio.c:146:13: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def243]
zstd-1.5.7/programs/dibio.c:254:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(dictFileName, "wb")’
zstd-1.5.7/programs/dibio.c:250:21: acquire_resource: opened here
zstd-1.5.7/programs/dibio.c:251:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/dibio.c:253:24: branch_false: ...to here
zstd-1.5.7/programs/dibio.c:254:10: danger: ‘fopen(dictFileName, "wb")’ leaks here; was opened at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def244]
zstd-1.5.7/programs/dibio.c:254:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(dictFileName, "wb")’
zstd-1.5.7/programs/dibio.c:250:21: acquire_memory: allocated here
zstd-1.5.7/programs/dibio.c:251:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/dibio.c:253:24: branch_false: ...to here
zstd-1.5.7/programs/dibio.c:254:10: danger: ‘fopen(dictFileName, "wb")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-479): [#def245]
zstd-1.5.7/programs/fileio.c:143:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
zstd-1.5.7/programs/fileio.c:145:13: enter_function: entry to ‘addHandler’
zstd-1.5.7/programs/fileio.c:132:13: enter_function: entry to ‘INThandler’
zstd-1.5.7/programs/fileio.c:143:5: danger: call to ‘exit’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def246]
zstd-1.5.7/programs/fileio.c:207:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘fprintf’ from within signal handler
zstd-1.5.7/programs/fileio.c:227:6: enter_function: entry to ‘FIO_addAbortHandler’
zstd-1.5.7/programs/fileio.c:192:13: enter_function: entry to ‘ABRThandler’
zstd-1.5.7/programs/fileio.c:207:5: danger: call to ‘fprintf’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def247]
zstd-1.5.7/programs/fileio.c:218:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘fprintf’ from within signal handler
zstd-1.5.7/programs/fileio.c:227:6: enter_function: entry to ‘FIO_addAbortHandler’
zstd-1.5.7/programs/fileio.c:192:13: enter_function: entry to ‘ABRThandler’
zstd-1.5.7/programs/fileio.c:210:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:215:18: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:217:43: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/fileio.c:218:9: branch_true: ...to here
zstd-1.5.7/programs/fileio.c:218:9: danger: call to ‘fprintf’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def248]
zstd-1.5.7/programs/fileio.c:220:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
zstd-1.5.7/programs/fileio.c:227:6: enter_function: entry to ‘FIO_addAbortHandler’
zstd-1.5.7/programs/fileio.c:192:13: enter_function: entry to ‘ABRThandler’
zstd-1.5.7/programs/fileio.c:210:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:215:18: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:220:5: danger: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-401): [#def249]
zstd-1.5.7/programs/fileio.c:309:20: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
zstd-1.5.7/programs/fileio.c:280:44: acquire_memory: allocated here
zstd-1.5.7/programs/fileio.c:281:8: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
zstd-1.5.7/programs/fileio.c:283:5: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:309:20: danger: ‘ret’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def250]
zstd-1.5.7/programs/fileio.c:722:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fileName, "rb")’
zstd-1.5.7/programs/fileio.c:712:8: branch_false: following ‘false’ branch (when ‘fileName’ is non-NULL)...
zstd-1.5.7/programs/fileio.c:714:5: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:716:18: acquire_resource: opened here
zstd-1.5.7/programs/fileio.c:718:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:722:16: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:722:16: danger: ‘fopen(fileName, "rb")’ leaks here; was opened at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def251]
zstd-1.5.7/programs/fileio.c:722:16: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fileName, "rb")’
zstd-1.5.7/programs/fileio.c:712:8: branch_false: following ‘false’ branch (when ‘fileName’ is non-NULL)...
zstd-1.5.7/programs/fileio.c:714:5: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:716:18: acquire_memory: allocated here
zstd-1.5.7/programs/fileio.c:718:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:722:16: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:722:16: danger: ‘fopen(fileName, "rb")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def252]
zstd-1.5.7/programs/fileio.c:724:36: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fileName, "rb")’
zstd-1.5.7/programs/fileio.c:712:8: branch_false: following ‘false’ branch (when ‘fileName’ is non-NULL)...
zstd-1.5.7/programs/fileio.c:714:5: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:716:18: acquire_resource: opened here
zstd-1.5.7/programs/fileio.c:718:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:722:16: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:724:36: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:725:12: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:724:36: danger: ‘fopen(fileName, "rb")’ leaks here; was opened at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def253]
zstd-1.5.7/programs/fileio.c:724:36: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fileName, "rb")’
zstd-1.5.7/programs/fileio.c:712:8: branch_false: following ‘false’ branch (when ‘fileName’ is non-NULL)...
zstd-1.5.7/programs/fileio.c:714:5: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:716:18: acquire_memory: allocated here
zstd-1.5.7/programs/fileio.c:718:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:722:16: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:724:36: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:725:12: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:724:36: danger: ‘fopen(fileName, "rb")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def254]
zstd-1.5.7/programs/fileio.c:769:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fileName, 0)’
zstd-1.5.7/programs/fileio.c:759:8: branch_false: following ‘false’ branch (when ‘fileName’ is non-NULL)...
zstd-1.5.7/programs/fileio.c:761:5: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:763:18: acquire_resource: opened here
zstd-1.5.7/programs/fileio.c:765:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:769:16: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:769:16: danger: ‘open(fileName, 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def255]
zstd-1.5.7/programs/fileio.c:771:36: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fileName, 0)’
zstd-1.5.7/programs/fileio.c:759:8: branch_false: following ‘false’ branch (when ‘fileName’ is non-NULL)...
zstd-1.5.7/programs/fileio.c:761:5: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:763:18: acquire_resource: opened here
zstd-1.5.7/programs/fileio.c:765:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:769:16: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:771:36: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:772:12: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:771:36: danger: ‘open(fileName, 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def256]
zstd-1.5.7/programs/fileio.c:890:5: warning[-Wanalyzer-malloc-leak]: leak of ‘filenameTableSorted’
zstd-1.5.7/programs/fileio.c:875:42: acquire_memory: allocated here
zstd-1.5.7/programs/fileio.c:876:8: branch_false: following ‘false’ branch (when ‘filenameTableSorted’ is non-NULL)...
 branch_false: ...to here
zstd-1.5.7/programs/fileio.c:890:5: danger: ‘filenameTableSorted’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def257]
zstd-1.5.7/programs/fileio.c:2066:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:2021:1: enter_function: entry to ‘FIO_compressFilename_srcFile’
zstd-1.5.7/programs/fileio.c:2061:15: call_function: calling ‘FIO_openSrcFile’ from ‘FIO_compressFilename_srcFile’
zstd-1.5.7/programs/fileio.c:2061:15: return_function: returning to ‘FIO_compressFilename_srcFile’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:2062:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2065:9: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2065:8: branch_true: following ‘true’ branch (when the strings are non-equal)...
zstd-1.5.7/programs/fileio.c:2066:20: branch_true: ...to here
zstd-1.5.7/programs/fileio.c:2066:20: danger: ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’ leaks here; was opened at [(10)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def258]
zstd-1.5.7/programs/fileio.c:2066:20: warning[-Wanalyzer-malloc-leak]: leak of ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:2021:1: enter_function: entry to ‘FIO_compressFilename_srcFile’
zstd-1.5.7/programs/fileio.c:2061:15: call_function: calling ‘FIO_openSrcFile’ from ‘FIO_compressFilename_srcFile’
zstd-1.5.7/programs/fileio.c:2061:15: return_function: returning to ‘FIO_compressFilename_srcFile’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:2062:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2065:9: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2065:8: branch_true: following ‘true’ branch (when the strings are non-equal)...
zstd-1.5.7/programs/fileio.c:2066:20: branch_true: ...to here
zstd-1.5.7/programs/fileio.c:2066:20: danger: ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def259]
zstd-1.5.7/programs/fileio.c:2068:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:2021:1: enter_function: entry to ‘FIO_compressFilename_srcFile’
zstd-1.5.7/programs/fileio.c:2061:15: call_function: calling ‘FIO_openSrcFile’ from ‘FIO_compressFilename_srcFile’
zstd-1.5.7/programs/fileio.c:2061:15: return_function: returning to ‘FIO_compressFilename_srcFile’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:2062:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2065:9: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2065:8: branch_true: following ‘true’ branch (when the strings are non-equal)...
zstd-1.5.7/programs/fileio.c:2066:20: branch_true: ...to here
zstd-1.5.7/programs/fileio.c:2067:7: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/fileio.c:2068:9: branch_true: ...to here
zstd-1.5.7/programs/fileio.c:2068:9: danger: ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’ leaks here; was opened at [(10)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def260]
zstd-1.5.7/programs/fileio.c:2068:9: warning[-Wanalyzer-malloc-leak]: leak of ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:2021:1: enter_function: entry to ‘FIO_compressFilename_srcFile’
zstd-1.5.7/programs/fileio.c:2061:15: call_function: calling ‘FIO_openSrcFile’ from ‘FIO_compressFilename_srcFile’
zstd-1.5.7/programs/fileio.c:2061:15: return_function: returning to ‘FIO_compressFilename_srcFile’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:2062:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2065:9: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2065:8: branch_true: following ‘true’ branch (when the strings are non-equal)...
zstd-1.5.7/programs/fileio.c:2066:20: branch_true: ...to here
zstd-1.5.7/programs/fileio.c:2067:7: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/fileio.c:2068:9: branch_true: ...to here
zstd-1.5.7/programs/fileio.c:2068:9: danger: ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def261]
zstd-1.5.7/programs/fileio.c:2069:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:2021:1: enter_function: entry to ‘FIO_compressFilename_srcFile’
zstd-1.5.7/programs/fileio.c:2061:15: call_function: calling ‘FIO_openSrcFile’ from ‘FIO_compressFilename_srcFile’
zstd-1.5.7/programs/fileio.c:2061:15: return_function: returning to ‘FIO_compressFilename_srcFile’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:2062:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2065:9: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2065:8: branch_true: following ‘true’ branch (when the strings are non-equal)...
zstd-1.5.7/programs/fileio.c:2066:20: branch_true: ...to here
zstd-1.5.7/programs/fileio.c:2067:7: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/fileio.c:2068:9: branch_true: ...to here
zstd-1.5.7/programs/fileio.c:2069:9: danger: ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’ leaks here; was opened at [(10)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def262]
zstd-1.5.7/programs/fileio.c:2069:9: warning[-Wanalyzer-malloc-leak]: leak of ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:2021:1: enter_function: entry to ‘FIO_compressFilename_srcFile’
zstd-1.5.7/programs/fileio.c:2061:15: call_function: calling ‘FIO_openSrcFile’ from ‘FIO_compressFilename_srcFile’
zstd-1.5.7/programs/fileio.c:2061:15: return_function: returning to ‘FIO_compressFilename_srcFile’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:2062:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2065:9: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2065:8: branch_true: following ‘true’ branch (when the strings are non-equal)...
zstd-1.5.7/programs/fileio.c:2066:20: branch_true: ...to here
zstd-1.5.7/programs/fileio.c:2067:7: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/fileio.c:2068:9: branch_true: ...to here
zstd-1.5.7/programs/fileio.c:2069:9: danger: ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def263]
zstd-1.5.7/programs/fileio.c:2071:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:2021:1: enter_function: entry to ‘FIO_compressFilename_srcFile’
zstd-1.5.7/programs/fileio.c:2061:15: call_function: calling ‘FIO_openSrcFile’ from ‘FIO_compressFilename_srcFile’
zstd-1.5.7/programs/fileio.c:2061:15: return_function: returning to ‘FIO_compressFilename_srcFile’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:2062:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2065:9: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2071:9: danger: ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’ leaks here; was opened at [(10)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def264]
zstd-1.5.7/programs/fileio.c:2071:9: warning[-Wanalyzer-malloc-leak]: leak of ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:2021:1: enter_function: entry to ‘FIO_compressFilename_srcFile’
zstd-1.5.7/programs/fileio.c:2061:15: call_function: calling ‘FIO_openSrcFile’ from ‘FIO_compressFilename_srcFile’
zstd-1.5.7/programs/fileio.c:2061:15: return_function: returning to ‘FIO_compressFilename_srcFile’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:2062:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2065:9: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2071:9: danger: ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def265]
zstd-1.5.7/programs/fileio.c:2072:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:2021:1: enter_function: entry to ‘FIO_compressFilename_srcFile’
zstd-1.5.7/programs/fileio.c:2061:15: call_function: calling ‘FIO_openSrcFile’ from ‘FIO_compressFilename_srcFile’
zstd-1.5.7/programs/fileio.c:2061:15: return_function: returning to ‘FIO_compressFilename_srcFile’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:2062:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2065:9: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2072:9: danger: ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’ leaks here; was opened at [(10)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def266]
zstd-1.5.7/programs/fileio.c:2072:9: warning[-Wanalyzer-malloc-leak]: leak of ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:2021:1: enter_function: entry to ‘FIO_compressFilename_srcFile’
zstd-1.5.7/programs/fileio.c:2061:15: call_function: calling ‘FIO_openSrcFile’ from ‘FIO_compressFilename_srcFile’
zstd-1.5.7/programs/fileio.c:2061:15: return_function: returning to ‘FIO_compressFilename_srcFile’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:2062:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2065:9: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2072:9: danger: ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def267]
zstd-1.5.7/programs/fileio.c:2076:14: warning[-Wanalyzer-file-leak]: leak of FILE ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:2021:1: enter_function: entry to ‘FIO_compressFilename_srcFile’
zstd-1.5.7/programs/fileio.c:2061:15: call_function: calling ‘FIO_openSrcFile’ from ‘FIO_compressFilename_srcFile’
zstd-1.5.7/programs/fileio.c:2061:15: return_function: returning to ‘FIO_compressFilename_srcFile’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:2062:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2065:9: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2076:14: danger: ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’ leaks here; was opened at [(10)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def268]
zstd-1.5.7/programs/fileio.c:2076:14: warning[-Wanalyzer-malloc-leak]: leak of ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:2021:1: enter_function: entry to ‘FIO_compressFilename_srcFile’
zstd-1.5.7/programs/fileio.c:2061:15: call_function: calling ‘FIO_openSrcFile’ from ‘FIO_compressFilename_srcFile’
zstd-1.5.7/programs/fileio.c:2061:15: return_function: returning to ‘FIO_compressFilename_srcFile’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:2062:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2065:9: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2076:14: danger: ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def269]
zstd-1.5.7/programs/fileio.c:2351:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ress.dict.dictBuffer’
zstd-1.5.7/programs/fileio.c:2322:16: enter_function: entry to ‘FIO_createDResources’
zstd-1.5.7/programs/fileio.c:2331:5: call_function: inlined call to ‘FIO_getDictFileStat’ from ‘FIO_createDResources’
zstd-1.5.7/programs/fileio.c:2331:5: call_function: inlined call to ‘FIO_getDictFileStat’ from ‘FIO_createDResources’
zstd-1.5.7/programs/fileio.c:2341:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2343:5: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2343:5: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2344:5: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2344:5: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2348:48: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2349:9: call_function: calling ‘FIO_initDict’ from ‘FIO_createDResources’
zstd-1.5.7/programs/fileio.c:2349:9: return_function: returning to ‘FIO_createDResources’ from ‘FIO_initDict’
zstd-1.5.7/programs/fileio.c:2351:9: danger: ‘ress.dict.dictBuffer’ leaks here; was allocated at [(29)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def270]
zstd-1.5.7/programs/fileio.c:2354:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ress.dict.dictBuffer’
zstd-1.5.7/programs/fileio.c:2322:16: enter_function: entry to ‘FIO_createDResources’
zstd-1.5.7/programs/fileio.c:2331:5: call_function: inlined call to ‘FIO_getDictFileStat’ from ‘FIO_createDResources’
zstd-1.5.7/programs/fileio.c:2331:5: call_function: inlined call to ‘FIO_getDictFileStat’ from ‘FIO_createDResources’
zstd-1.5.7/programs/fileio.c:2341:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2343:5: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2343:5: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2344:5: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2344:5: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2348:48: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2349:9: call_function: calling ‘FIO_initDict’ from ‘FIO_createDResources’
zstd-1.5.7/programs/fileio.c:2349:9: return_function: returning to ‘FIO_createDResources’ from ‘FIO_initDict’
zstd-1.5.7/programs/fileio.c:2351:9: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2353:13: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2353:12: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/fileio.c:2354:13: branch_true: ...to here
zstd-1.5.7/programs/fileio.c:2354:13: danger: ‘ress.dict.dictBuffer’ leaks here; was allocated at [(29)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def271]
zstd-1.5.7/programs/fileio.c:2356:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ress.dict.dictBuffer’
zstd-1.5.7/programs/fileio.c:2322:16: enter_function: entry to ‘FIO_createDResources’
zstd-1.5.7/programs/fileio.c:2331:5: call_function: inlined call to ‘FIO_getDictFileStat’ from ‘FIO_createDResources’
zstd-1.5.7/programs/fileio.c:2331:5: call_function: inlined call to ‘FIO_getDictFileStat’ from ‘FIO_createDResources’
zstd-1.5.7/programs/fileio.c:2341:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2343:5: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2343:5: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2344:5: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2344:5: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2348:48: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2349:9: call_function: calling ‘FIO_initDict’ from ‘FIO_createDResources’
zstd-1.5.7/programs/fileio.c:2349:9: return_function: returning to ‘FIO_createDResources’ from ‘FIO_initDict’
zstd-1.5.7/programs/fileio.c:2351:9: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2353:13: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2353:12: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2356:13: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2356:13: danger: ‘ress.dict.dictBuffer’ leaks here; was allocated at [(29)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def272]
zstd-1.5.7/programs/fileio.c:2360:21: warning[-Wanalyzer-malloc-leak]: leak of ‘ress.dict.dictBuffer’
zstd-1.5.7/programs/fileio.c:2322:16: enter_function: entry to ‘FIO_createDResources’
zstd-1.5.7/programs/fileio.c:2331:5: call_function: inlined call to ‘FIO_getDictFileStat’ from ‘FIO_createDResources’
zstd-1.5.7/programs/fileio.c:2331:5: call_function: inlined call to ‘FIO_getDictFileStat’ from ‘FIO_createDResources’
zstd-1.5.7/programs/fileio.c:2341:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2343:5: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2343:5: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2344:5: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2344:5: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2348:48: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2349:9: call_function: calling ‘FIO_initDict’ from ‘FIO_createDResources’
zstd-1.5.7/programs/fileio.c:2349:9: return_function: returning to ‘FIO_createDResources’ from ‘FIO_initDict’
zstd-1.5.7/programs/fileio.c:2351:9: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2353:13: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2354:13: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2360:21: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2360:21: danger: ‘ress.dict.dictBuffer’ leaks here; was allocated at [(29)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def273]
zstd-1.5.7/programs/fileio.c:2361:20: warning[-Wanalyzer-malloc-leak]: leak of ‘ress.dict.dictBuffer’
zstd-1.5.7/programs/fileio.c:2322:16: enter_function: entry to ‘FIO_createDResources’
zstd-1.5.7/programs/fileio.c:2331:5: call_function: inlined call to ‘FIO_getDictFileStat’ from ‘FIO_createDResources’
zstd-1.5.7/programs/fileio.c:2331:5: call_function: inlined call to ‘FIO_getDictFileStat’ from ‘FIO_createDResources’
zstd-1.5.7/programs/fileio.c:2341:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2343:5: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2343:5: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2344:5: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2344:5: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2348:48: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2349:9: call_function: calling ‘FIO_initDict’ from ‘FIO_createDResources’
zstd-1.5.7/programs/fileio.c:2349:9: return_function: returning to ‘FIO_createDResources’ from ‘FIO_initDict’
zstd-1.5.7/programs/fileio.c:2351:9: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2353:13: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2354:13: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2360:21: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2361:20: danger: ‘ress.dict.dictBuffer’ leaks here; was allocated at [(29)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def274]
zstd-1.5.7/programs/fileio.c:2902:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:2885:12: enter_function: entry to ‘FIO_decompressSrcFile’
zstd-1.5.7/programs/fileio.c:2892:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2897:15: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2897:15: call_function: calling ‘FIO_openSrcFile’ from ‘FIO_decompressSrcFile’
zstd-1.5.7/programs/fileio.c:2897:15: return_function: returning to ‘FIO_decompressSrcFile’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:2898:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2901:9: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2901:8: branch_true: following ‘true’ branch (when the strings are non-equal)...
zstd-1.5.7/programs/fileio.c:2902:20: branch_true: ...to here
zstd-1.5.7/programs/fileio.c:2902:20: danger: ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’ leaks here; was opened at [(10)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def275]
zstd-1.5.7/programs/fileio.c:2902:20: warning[-Wanalyzer-malloc-leak]: leak of ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:2885:12: enter_function: entry to ‘FIO_decompressSrcFile’
zstd-1.5.7/programs/fileio.c:2892:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2897:15: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2897:15: call_function: calling ‘FIO_openSrcFile’ from ‘FIO_decompressSrcFile’
zstd-1.5.7/programs/fileio.c:2897:15: return_function: returning to ‘FIO_decompressSrcFile’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:2898:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2901:9: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2901:8: branch_true: following ‘true’ branch (when the strings are non-equal)...
zstd-1.5.7/programs/fileio.c:2902:20: branch_true: ...to here
zstd-1.5.7/programs/fileio.c:2902:20: danger: ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def276]
zstd-1.5.7/programs/fileio.c:2904:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:2885:12: enter_function: entry to ‘FIO_decompressSrcFile’
zstd-1.5.7/programs/fileio.c:2892:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2897:15: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2897:15: call_function: calling ‘FIO_openSrcFile’ from ‘FIO_decompressSrcFile’
zstd-1.5.7/programs/fileio.c:2897:15: return_function: returning to ‘FIO_decompressSrcFile’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:2898:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2901:9: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2901:8: branch_true: following ‘true’ branch (when the strings are non-equal)...
zstd-1.5.7/programs/fileio.c:2902:20: branch_true: ...to here
zstd-1.5.7/programs/fileio.c:2903:7: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/fileio.c:2904:9: branch_true: ...to here
zstd-1.5.7/programs/fileio.c:2904:9: danger: ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’ leaks here; was opened at [(10)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def277]
zstd-1.5.7/programs/fileio.c:2904:9: warning[-Wanalyzer-malloc-leak]: leak of ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:2885:12: enter_function: entry to ‘FIO_decompressSrcFile’
zstd-1.5.7/programs/fileio.c:2892:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2897:15: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2897:15: call_function: calling ‘FIO_openSrcFile’ from ‘FIO_decompressSrcFile’
zstd-1.5.7/programs/fileio.c:2897:15: return_function: returning to ‘FIO_decompressSrcFile’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:2898:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2901:9: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2901:8: branch_true: following ‘true’ branch (when the strings are non-equal)...
zstd-1.5.7/programs/fileio.c:2902:20: branch_true: ...to here
zstd-1.5.7/programs/fileio.c:2903:7: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/fileio.c:2904:9: branch_true: ...to here
zstd-1.5.7/programs/fileio.c:2904:9: danger: ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def278]
zstd-1.5.7/programs/fileio.c:2905:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:2885:12: enter_function: entry to ‘FIO_decompressSrcFile’
zstd-1.5.7/programs/fileio.c:2892:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2897:15: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2897:15: call_function: calling ‘FIO_openSrcFile’ from ‘FIO_decompressSrcFile’
zstd-1.5.7/programs/fileio.c:2897:15: return_function: returning to ‘FIO_decompressSrcFile’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:2898:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2901:9: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2901:8: branch_true: following ‘true’ branch (when the strings are non-equal)...
zstd-1.5.7/programs/fileio.c:2902:20: branch_true: ...to here
zstd-1.5.7/programs/fileio.c:2903:7: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/fileio.c:2904:9: branch_true: ...to here
zstd-1.5.7/programs/fileio.c:2905:9: danger: ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’ leaks here; was opened at [(10)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def279]
zstd-1.5.7/programs/fileio.c:2905:9: warning[-Wanalyzer-malloc-leak]: leak of ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:2885:12: enter_function: entry to ‘FIO_decompressSrcFile’
zstd-1.5.7/programs/fileio.c:2892:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2897:15: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2897:15: call_function: calling ‘FIO_openSrcFile’ from ‘FIO_decompressSrcFile’
zstd-1.5.7/programs/fileio.c:2897:15: return_function: returning to ‘FIO_decompressSrcFile’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:2898:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2901:9: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2901:8: branch_true: following ‘true’ branch (when the strings are non-equal)...
zstd-1.5.7/programs/fileio.c:2902:20: branch_true: ...to here
zstd-1.5.7/programs/fileio.c:2903:7: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/fileio.c:2904:9: branch_true: ...to here
zstd-1.5.7/programs/fileio.c:2905:9: danger: ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/46/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def280]
zstd-1.5.7/programs/fileio.c:2907:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:2885:12: enter_function: entry to ‘FIO_decompressSrcFile’
zstd-1.5.7/programs/fileio.c:2892:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2897:15: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2897:15: call_function: calling ‘FIO_openSrcFile’ from ‘FIO_decompressSrcFile’
zstd-1.5.7/programs/fileio.c:2897:15: return_function: returning to ‘FIO_decompressSrcFile’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:2898:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2901:9: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2907:9: danger: ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’ leaks here; was opened at [(10)](sarif:/runs/0/results/47/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def281]
zstd-1.5.7/programs/fileio.c:2907:9: warning[-Wanalyzer-malloc-leak]: leak of ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:2885:12: enter_function: entry to ‘FIO_decompressSrcFile’
zstd-1.5.7/programs/fileio.c:2892:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2897:15: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2897:15: call_function: calling ‘FIO_openSrcFile’ from ‘FIO_decompressSrcFile’
zstd-1.5.7/programs/fileio.c:2897:15: return_function: returning to ‘FIO_decompressSrcFile’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:2898:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2901:9: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2907:9: danger: ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def282]
zstd-1.5.7/programs/fileio.c:2908:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:2885:12: enter_function: entry to ‘FIO_decompressSrcFile’
zstd-1.5.7/programs/fileio.c:2892:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2897:15: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2897:15: call_function: calling ‘FIO_openSrcFile’ from ‘FIO_decompressSrcFile’
zstd-1.5.7/programs/fileio.c:2897:15: return_function: returning to ‘FIO_decompressSrcFile’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:2898:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2901:9: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2908:9: danger: ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’ leaks here; was opened at [(10)](sarif:/runs/0/results/49/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def283]
zstd-1.5.7/programs/fileio.c:2908:9: warning[-Wanalyzer-malloc-leak]: leak of ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:2885:12: enter_function: entry to ‘FIO_decompressSrcFile’
zstd-1.5.7/programs/fileio.c:2892:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2897:15: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2897:15: call_function: calling ‘FIO_openSrcFile’ from ‘FIO_decompressSrcFile’
zstd-1.5.7/programs/fileio.c:2897:15: return_function: returning to ‘FIO_decompressSrcFile’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:2898:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2901:9: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2908:9: danger: ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/50/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def284]
zstd-1.5.7/programs/fileio.c:2911:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:2885:12: enter_function: entry to ‘FIO_decompressSrcFile’
zstd-1.5.7/programs/fileio.c:2892:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2897:15: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2897:15: call_function: calling ‘FIO_openSrcFile’ from ‘FIO_decompressSrcFile’
zstd-1.5.7/programs/fileio.c:2897:15: return_function: returning to ‘FIO_decompressSrcFile’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:2898:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2901:9: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2911:5: danger: ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’ leaks here; was opened at [(10)](sarif:/runs/0/results/51/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def285]
zstd-1.5.7/programs/fileio.c:2911:5: warning[-Wanalyzer-malloc-leak]: leak of ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:2885:12: enter_function: entry to ‘FIO_decompressSrcFile’
zstd-1.5.7/programs/fileio.c:2892:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2897:15: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2897:15: call_function: calling ‘FIO_openSrcFile’ from ‘FIO_decompressSrcFile’
zstd-1.5.7/programs/fileio.c:2897:15: return_function: returning to ‘FIO_decompressSrcFile’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:2898:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:2901:9: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:2911:5: danger: ‘FIO_openSrcFile(prefs,  srcFileName, & srcFileStat)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/52/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def286]
zstd-1.5.7/programs/fileio.c:3284:28: warning[-Wanalyzer-file-leak]: leak of FILE ‘FIO_openSrcFile(0, inFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:3277:1: enter_function: entry to ‘getFileInfo_fileConfirmed’
zstd-1.5.7/programs/fileio.c:3281:27: call_function: calling ‘FIO_openSrcFile’ from ‘getFileInfo_fileConfirmed’
zstd-1.5.7/programs/fileio.c:3281:27: return_function: returning to ‘getFileInfo_fileConfirmed’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:3282:5: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:3284:28: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:3284:28: danger: ‘FIO_openSrcFile(0, inFileName, & srcFileStat)’ leaks here; was opened at [(10)](sarif:/runs/0/results/53/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def287]
zstd-1.5.7/programs/fileio.c:3284:28: warning[-Wanalyzer-malloc-leak]: leak of ‘FIO_openSrcFile(0, inFileName, & srcFileStat)’
zstd-1.5.7/programs/fileio.c:3277:1: enter_function: entry to ‘getFileInfo_fileConfirmed’
zstd-1.5.7/programs/fileio.c:3281:27: call_function: calling ‘FIO_openSrcFile’ from ‘getFileInfo_fileConfirmed’
zstd-1.5.7/programs/fileio.c:3281:27: return_function: returning to ‘getFileInfo_fileConfirmed’ from ‘FIO_openSrcFile’
zstd-1.5.7/programs/fileio.c:3282:5: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:3284:28: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:3284:28: danger: ‘FIO_openSrcFile(0, inFileName, & srcFileStat)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/54/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def288]
zstd-1.5.7/programs/fileio_asyncio.c:173:27: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
zstd-1.5.7/programs/fileio_asyncio.c:547:16: enter_function: entry to ‘AIO_ReadPool_create’
zstd-1.5.7/programs/fileio_asyncio.c:548:49: acquire_memory: allocated here
zstd-1.5.7/programs/fileio_asyncio.c:549:7: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
zstd-1.5.7/programs/fileio_asyncio.c:550:5: branch_false: ...to here
zstd-1.5.7/programs/fileio_asyncio.c:550:5: call_function: calling ‘AIO_IOPool_init’ from ‘AIO_ReadPool_create’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def289]
zstd-1.5.7/programs/util.c:103:5: warning[-Wanalyzer-double-free]: double-‘free’ of ‘ptr’
zstd-1.5.7/programs/util.c:1339:6: enter_function: entry to ‘UTIL_expandFNT’
zstd-1.5.7/programs/util.c:1341:36: call_function: calling ‘UTIL_createExpandedFNT’ from ‘UTIL_expandFNT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def290]
zstd-1.5.7/programs/util.c:896:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
zstd-1.5.7/programs/util.c:1293:1: enter_function: entry to ‘UTIL_createExpandedFNT’
zstd-1.5.7/programs/util.c:1296:24: acquire_memory: allocated here
zstd-1.5.7/programs/util.c:1299:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/util.c:1302:23: branch_false: ...to here
zstd-1.5.7/programs/util.c:1302:41: branch_true: following ‘true’ branch (when ‘ifnNb < nbIfns’)...
zstd-1.5.7/programs/util.c:1303:45: branch_true: ...to here
zstd-1.5.7/programs/util.c:1303:18: call_function: calling ‘UTIL_isDirectory’ from ‘UTIL_createExpandedFNT’
zstd-1.5.7/programs/util.c:1303:18: return_function: returning to ‘UTIL_createExpandedFNT’ from ‘UTIL_isDirectory’
zstd-1.5.7/programs/util.c:1303:16: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/util.c:1318:38: branch_false: ...to here
zstd-1.5.7/programs/util.c:1318:38: call_function: calling ‘UTIL_prepareFileList’ from ‘UTIL_createExpandedFNT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def291]
zstd-1.5.7/programs/util.c:896:17: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
zstd-1.5.7/programs/util.c:1293:1: enter_function: entry to ‘UTIL_createExpandedFNT’
zstd-1.5.7/programs/util.c:1299:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/util.c:1302:23: branch_false: ...to here
zstd-1.5.7/programs/util.c:1302:41: branch_true: following ‘true’ branch (when ‘ifnNb < nbIfns’)...
zstd-1.5.7/programs/util.c:1303:45: branch_true: ...to here
zstd-1.5.7/programs/util.c:1303:18: call_function: calling ‘UTIL_isDirectory’ from ‘UTIL_createExpandedFNT’
zstd-1.5.7/programs/util.c:1303:18: return_function: returning to ‘UTIL_createExpandedFNT’ from ‘UTIL_isDirectory’
zstd-1.5.7/programs/util.c:1303:16: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/util.c:1318:38: branch_false: ...to here
zstd-1.5.7/programs/util.c:1318:38: call_function: calling ‘UTIL_prepareFileList’ from ‘UTIL_createExpandedFNT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def292]
zstd-1.5.7/programs/util.c:903:21: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
zstd-1.5.7/programs/util.c:1293:1: enter_function: entry to ‘UTIL_createExpandedFNT’
zstd-1.5.7/programs/util.c:1296:24: acquire_memory: allocated here
zstd-1.5.7/programs/util.c:1299:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/util.c:1302:23: branch_false: ...to here
zstd-1.5.7/programs/util.c:1302:41: branch_true: following ‘true’ branch (when ‘ifnNb < nbIfns’)...
zstd-1.5.7/programs/util.c:1303:45: branch_true: ...to here
zstd-1.5.7/programs/util.c:1303:18: call_function: calling ‘UTIL_isDirectory’ from ‘UTIL_createExpandedFNT’
zstd-1.5.7/programs/util.c:1303:18: return_function: returning to ‘UTIL_createExpandedFNT’ from ‘UTIL_isDirectory’
zstd-1.5.7/programs/util.c:1303:16: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/util.c:1318:38: branch_false: ...to here
zstd-1.5.7/programs/util.c:1318:38: call_function: calling ‘UTIL_prepareFileList’ from ‘UTIL_createExpandedFNT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def293]
zstd-1.5.7/programs/util.c:903:21: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(dirName)’
zstd-1.5.7/programs/util.c:1293:1: enter_function: entry to ‘UTIL_createExpandedFNT’
zstd-1.5.7/programs/util.c:1299:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/util.c:1302:23: branch_false: ...to here
zstd-1.5.7/programs/util.c:1302:41: branch_true: following ‘true’ branch (when ‘ifnNb < nbIfns’)...
zstd-1.5.7/programs/util.c:1303:45: branch_true: ...to here
zstd-1.5.7/programs/util.c:1303:18: call_function: calling ‘UTIL_isDirectory’ from ‘UTIL_createExpandedFNT’
zstd-1.5.7/programs/util.c:1303:18: return_function: returning to ‘UTIL_createExpandedFNT’ from ‘UTIL_isDirectory’
zstd-1.5.7/programs/util.c:1303:16: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/util.c:1318:38: branch_false: ...to here
zstd-1.5.7/programs/util.c:1318:38: call_function: calling ‘UTIL_prepareFileList’ from ‘UTIL_createExpandedFNT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def294]
zstd-1.5.7/programs/util.c:903:21: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
zstd-1.5.7/programs/util.c:1293:1: enter_function: entry to ‘UTIL_createExpandedFNT’
zstd-1.5.7/programs/util.c:1299:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/util.c:1302:23: branch_false: ...to here
zstd-1.5.7/programs/util.c:1302:41: branch_true: following ‘true’ branch (when ‘ifnNb < nbIfns’)...
zstd-1.5.7/programs/util.c:1303:45: branch_true: ...to here
zstd-1.5.7/programs/util.c:1303:18: call_function: calling ‘UTIL_isDirectory’ from ‘UTIL_createExpandedFNT’
zstd-1.5.7/programs/util.c:1303:18: return_function: returning to ‘UTIL_createExpandedFNT’ from ‘UTIL_isDirectory’
zstd-1.5.7/programs/util.c:1303:16: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/util.c:1318:38: branch_false: ...to here
zstd-1.5.7/programs/util.c:1318:38: call_function: calling ‘UTIL_prepareFileList’ from ‘UTIL_createExpandedFNT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def295]
zstd-1.5.7/programs/util.c:910:22: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
zstd-1.5.7/programs/util.c:1293:1: enter_function: entry to ‘UTIL_createExpandedFNT’
zstd-1.5.7/programs/util.c:1296:24: acquire_memory: allocated here
zstd-1.5.7/programs/util.c:1299:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/util.c:1302:23: branch_false: ...to here
zstd-1.5.7/programs/util.c:1302:41: branch_true: following ‘true’ branch (when ‘ifnNb < nbIfns’)...
zstd-1.5.7/programs/util.c:1303:45: branch_true: ...to here
zstd-1.5.7/programs/util.c:1303:18: call_function: calling ‘UTIL_isDirectory’ from ‘UTIL_createExpandedFNT’
zstd-1.5.7/programs/util.c:1303:18: return_function: returning to ‘UTIL_createExpandedFNT’ from ‘UTIL_isDirectory’
zstd-1.5.7/programs/util.c:1303:16: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/util.c:1318:38: branch_false: ...to here
zstd-1.5.7/programs/util.c:1318:38: call_function: calling ‘UTIL_prepareFileList’ from ‘UTIL_createExpandedFNT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def296]
zstd-1.5.7/programs/util.c:910:22: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
zstd-1.5.7/programs/util.c:1293:1: enter_function: entry to ‘UTIL_createExpandedFNT’
zstd-1.5.7/programs/util.c:1299:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/util.c:1302:23: branch_false: ...to here
zstd-1.5.7/programs/util.c:1302:41: branch_true: following ‘true’ branch (when ‘ifnNb < nbIfns’)...
zstd-1.5.7/programs/util.c:1303:45: branch_true: ...to here
zstd-1.5.7/programs/util.c:1303:18: call_function: calling ‘UTIL_isDirectory’ from ‘UTIL_createExpandedFNT’
zstd-1.5.7/programs/util.c:1303:18: return_function: returning to ‘UTIL_createExpandedFNT’ from ‘UTIL_isDirectory’
zstd-1.5.7/programs/util.c:1303:16: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/util.c:1318:38: branch_false: ...to here
zstd-1.5.7/programs/util.c:1318:38: call_function: calling ‘UTIL_prepareFileList’ from ‘UTIL_createExpandedFNT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def297]
zstd-1.5.7/programs/util.c:935:33: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
zstd-1.5.7/programs/util.c:1293:1: enter_function: entry to ‘UTIL_createExpandedFNT’
zstd-1.5.7/programs/util.c:1299:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/util.c:1302:23: branch_false: ...to here
zstd-1.5.7/programs/util.c:1302:41: branch_true: following ‘true’ branch (when ‘ifnNb < nbIfns’)...
zstd-1.5.7/programs/util.c:1303:45: branch_true: ...to here
zstd-1.5.7/programs/util.c:1303:18: call_function: calling ‘UTIL_isDirectory’ from ‘UTIL_createExpandedFNT’
zstd-1.5.7/programs/util.c:1303:18: return_function: returning to ‘UTIL_createExpandedFNT’ from ‘UTIL_isDirectory’
zstd-1.5.7/programs/util.c:1303:16: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/util.c:1318:38: branch_false: ...to here
zstd-1.5.7/programs/util.c:1318:38: call_function: calling ‘UTIL_prepareFileList’ from ‘UTIL_createExpandedFNT’
Error: CPPCHECK_WARNING (CWE-682): [#def298]
zstd-1.5.7/programs/util.c:1297: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: COMPILER_WARNING (CWE-457): [#def299]
zstd-1.5.7/tests/fullbench.c: scope_hint: In function ‘prepLiterals’
zstd-1.5.7/tests/fullbench.c:189:12: warning[-Wmaybe-uninitialized]: ‘MEM <unsigned int> [(struct  *)&bp]’ may be used uninitialized
zstd-1.5.7/tests/fullbench.c:187:27: note: ‘MEM <unsigned int> [(struct  *)&bp]’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def300]
zstd-1.5.7/tests/fullbench.c: scope_hint: In function ‘prepSequences1stBlock’
zstd-1.5.7/tests/fullbench.c:297:12: warning[-Wmaybe-uninitialized]: ‘MEM <unsigned int> [(struct  *)&bp]’ may be used uninitialized
zstd-1.5.7/tests/fullbench.c:295:27: note: ‘MEM <unsigned int> [(struct  *)&bp]’ was declared here
Error: CPPCHECK_WARNING (CWE-682): [#def301]
zstd-1.5.7/tests/fullbench.c:537: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def302]
zstd-1.5.7/tests/fullbench.c:579: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def303]
zstd-1.5.7/tests/fullbench.c:636: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-835): [#def304]
zstd-1.5.7/tests/fullbench.c:1146:20: warning[-Wanalyzer-infinite-loop]: infinite loop
zstd-1.5.7/tests/fullbench.c:1104:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/fullbench.c:1146:20: danger: infinite loop here
zstd-1.5.7/tests/fullbench.c:1146:20: branch_true: if it ever follows ‘true’ branch, it will always do so...
zstd-1.5.7/tests/fullbench.c:1148:17: branch_true: ...to here
Error: COMPILER_WARNING: [#def305]
zstd-1.5.7/tests/paramgrill.c: scope_hint: In function ‘createBuffers’
zstd-1.5.7/tests/paramgrill.c:1245:39: warning[-Wcalloc-transposed-args]: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument
zstd-1.5.7/tests/paramgrill.c:1245:39: note: earlier argument should specify number of elements, later size of each element
Error: COMPILER_WARNING: [#def306]
zstd-1.5.7/tests/paramgrill.c: scope_hint: In function ‘createMemoTableArray’
zstd-1.5.7/tests/paramgrill.c:1460:60: warning[-Wcalloc-transposed-args]: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument
zstd-1.5.7/tests/paramgrill.c:1460:60: note: earlier argument should specify number of elements, later size of each element
Error: COMPILER_WARNING: [#def307]
zstd-1.5.7/tests/paramgrill.c:1497:47: warning[-Wcalloc-transposed-args]: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument
zstd-1.5.7/tests/paramgrill.c:1497:47: note: earlier argument should specify number of elements, later size of each element
Error: COMPILER_WARNING (CWE-457): [#def308]
zstd-1.5.7/tests/paramgrill.c: scope_hint: In function ‘BMK_generate_cLevelTable’
zstd-1.5.7/tests/paramgrill.c:2018:61: warning[-Wmaybe-uninitialized]: ‘testResult.cSpeed’ may be used uninitialized
zstd-1.5.7/tests/paramgrill.c:2016:27: note: ‘testResult.cSpeed’ was declared here
Error: CPPCHECK_WARNING (CWE-457): [#def309]
zstd-1.5.7/tests/seqgen.c:38: error[uninitvar]: Uninitialized variables: stream.saved, stream.bytesLeft
Error: COMPILER_WARNING: [#def310]
zstd-1.5.7/tests/zstreamtest.c: scope_hint: In function ‘basicUnitTests’
zstd-1.5.7/tests/zstreamtest.c:1899:32: warning[-Wunterminated-string-initialization]: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (7 chars into 6 available)
Scan Properties
| analyzer-version-clippy | 1.90.0 | 
| analyzer-version-cppcheck | 2.18.3 | 
| analyzer-version-gcc | 15.2.1 | 
| analyzer-version-gcc-analyzer | 16.0.0 | 
| analyzer-version-shellcheck | 0.11.0 | 
| analyzer-version-unicontrol | 0.0.2 | 
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol | 
| exit-code | 0 | 
| host | ip-172-16-1-161.us-west-2.compute.internal | 
| known-false-positives | /usr/share/csmock/known-false-positives.js | 
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch | 
| mock-config | fedora-rawhide-gcc-latest-x86_64 | 
| project-name | zstd-1.5.7-3.fc44 | 
| store-results-to | /tmp/tmp0yt2tcl4/zstd-1.5.7-3.fc44.tar.xz | 
| time-created | 2025-10-28 20:51:32 | 
| time-finished | 2025-10-28 20:56:53 | 
| tool | csmock | 
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp0yt2tcl4/zstd-1.5.7-3.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp0yt2tcl4/zstd-1.5.7-3.fc44.src.rpm' | 
| tool-version | csmock-3.8.3.20251027.143044.ge6b947b-1.el9 |