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/pool.c:226:9: 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: CPPCHECK_WARNING (CWE-682): [#def13]
zstd-1.5.7/lib/compress/zstd_ldm.c:356: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def14]
zstd-1.5.7/lib/compress/zstd_ldm.c:357: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def15]
zstd-1.5.7/lib/compress/zstd_opt.c:631: warning[nullPointer]: Possible null pointer dereference: dms
Error: CPPCHECK_WARNING (CWE-476): [#def16]
zstd-1.5.7/lib/compress/zstd_opt.c:632: warning[nullPointer]: Possible null pointer dereference: dms
Error: CPPCHECK_WARNING (CWE-476): [#def17]
zstd-1.5.7/lib/compress/zstd_opt.c:634: warning[nullPointer]: Possible null pointer dereference: dms
Error: CPPCHECK_WARNING (CWE-476): [#def18]
zstd-1.5.7/lib/compress/zstd_opt.c:636: warning[nullPointer]: Possible null pointer dereference: dmsCParams
Error: CPPCHECK_WARNING (CWE-476): [#def19]
zstd-1.5.7/lib/compress/zstd_opt.c:637: warning[nullPointer]: Possible null pointer dereference: dmsCParams
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
zstd-1.5.7/lib/compress/zstdmt_compress.c:226:1: 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_false: following ‘false’ branch (when ‘endOp == 2’)...
zstd-1.5.7/lib/compress/zstdmt_compress.c:1448:13: branch_false: ...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): [#def21]
zstd-1.5.7/lib/compress/zstdmt_compress.c:1673:1: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
zstd-1.5.7/lib/compress/zstdmt_compress.c:1853:8: enter_function: entry to ‘ZSTDMT_compressStream_generic’
zstd-1.5.7/lib/compress/zstdmt_compress.c:1870:8: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/compress/zstdmt_compress.c:1871:11: branch_true: ...to here
zstd-1.5.7/lib/compress/zstdmt_compress.c:1870:10: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/compress/zstdmt_compress.c:1872:13: branch_true: ...to here
zstd-1.5.7/lib/compress/zstdmt_compress.c:1872:12: branch_true: following ‘true’ branch...
zstd-1.5.7/lib/compress/zstdmt_compress.c:1874:18: branch_true: ...to here
zstd-1.5.7/lib/compress/zstdmt_compress.c:1874:18: call_function: calling ‘ZSTDMT_tryGetInputRange’ from ‘ZSTDMT_compressStream_generic’
zstd-1.5.7/lib/compress/zstdmt_compress.c:1874:18: return_function: returning to ‘ZSTDMT_compressStream_generic’ from ‘ZSTDMT_tryGetInputRange’
zstd-1.5.7/lib/compress/zstdmt_compress.c:1883:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/compress/zstdmt_compress.c:1897:10: branch_false: ...to here
zstd-1.5.7/lib/compress/zstdmt_compress.c:1914:9: call_function: calling ‘ZSTDMT_createCompressionJob’ from ‘ZSTDMT_compressStream_generic’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
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: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): [#def23]
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:145:13: enter_function: entry to ‘ZSTD_createDDict_advanced’
zstd-1.5.7/lib/decompress/zstd_ddict.c:150:8: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/decompress/zstd_ddict.c:152:49: branch_false: ...to here
zstd-1.5.7/lib/decompress/zstd_ddict.c:152:49: call_function: calling ‘ZSTD_customMalloc’ from ‘ZSTD_createDDict_advanced’
zstd-1.5.7/lib/decompress/zstd_ddict.c:152:49: return_function: returning to ‘ZSTD_createDDict_advanced’ from ‘ZSTD_customMalloc’
zstd-1.5.7/lib/decompress/zstd_ddict.c:153:12: branch_false: following ‘false’ branch...
zstd-1.5.7/lib/decompress/zstd_ddict.c:154:9: branch_false: ...to here
zstd-1.5.7/lib/decompress/zstd_ddict.c:155:39: call_function: calling ‘ZSTD_initDDict_internal’ from ‘ZSTD_createDDict_advanced’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
zstd-1.5.7/lib/decompress/zstd_ddict.c:125:9: 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): [#def25]
zstd-1.5.7/lib/decompress/zstd_decompress.c:731: error[uninitvar]: Uninitialized variable: frameSizeInfo.nbBlocks
Error: GCC_ANALYZER_WARNING (CWE-401): [#def26]
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): [#def27]
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): [#def28]
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): [#def29]
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): [#def30]
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): [#def31]
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): [#def32]
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): [#def33]
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): [#def34]
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): [#def35]
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): [#def36]
zstd-1.5.7/lib/dictBuilder/cover.c:859:19: 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’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
zstd-1.5.7/lib/dictBuilder/cover.c:859:19: 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’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def38]
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): [#def39]
zstd-1.5.7/lib/dictBuilder/cover.c:863:10: 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’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
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: throw: if ‘ZSTD_createCCtx’ throws an exception...
zstd-1.5.7/lib/dictBuilder/cover.c:863:10: 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): [#def41]
zstd-1.5.7/lib/dictBuilder/cover.c:863:10: 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’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def42]
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): [#def43]
zstd-1.5.7/lib/dictBuilder/cover.c:864:11: 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’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
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: throw: if ‘ZSTD_createCDict’ throws an exception...
zstd-1.5.7/lib/dictBuilder/cover.c:864:11: 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): [#def45]
zstd-1.5.7/lib/dictBuilder/cover.c:864:11: 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’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def46]
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): [#def47]
zstd-1.5.7/lib/dictBuilder/cover.c:873:25: 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’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def48]
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: throw: if ‘ZSTD_compress_usingCDict’ throws an exception...
zstd-1.5.7/lib/dictBuilder/cover.c:873:25: danger: ‘dst’ leaks here; was allocated at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def49]
zstd-1.5.7/lib/dictBuilder/cover.c:873:25: 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’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def50]
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): [#def51]
zstd-1.5.7/lib/dictBuilder/cover.c:883: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’
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): [#def52]
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: throw: if ‘ZSTD_freeCCtx’ throws an exception...
zstd-1.5.7/lib/dictBuilder/cover.c:883:3: danger: ‘dst’ leaks here; was allocated at [(1)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def53]
zstd-1.5.7/lib/dictBuilder/cover.c:883: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’
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): [#def54]
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): [#def55]
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: throw: if ‘ZSTD_freeCDict’ throws an exception...
zstd-1.5.7/lib/dictBuilder/cover.c:884:3: danger: ‘dst’ leaks here; was allocated at [(1)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def56]
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: throw: if ‘ZDICT_finalizeDictionary’ throws an exception...
zstd-1.5.7/lib/dictBuilder/cover.c:1040:21: danger: ‘candidateDictBuffer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def57]
zstd-1.5.7/lib/dictBuilder/cover.c:1040:21: 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’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def58]
zstd-1.5.7/lib/dictBuilder/cover.c:1040:21: 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’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def59]
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: throw: if ‘ZDICT_finalizeDictionary’ throws an exception...
zstd-1.5.7/lib/dictBuilder/cover.c:1040:21: danger: ‘largestDictbuffer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def60]
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: throw: if ‘ZDICT_isError’ throws an exception...
zstd-1.5.7/lib/dictBuilder/cover.c:1044:7: danger: ‘candidateDictBuffer’ leaks here; was allocated at [(1)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def61]
zstd-1.5.7/lib/dictBuilder/cover.c:1044: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’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
zstd-1.5.7/lib/dictBuilder/cover.c:1044: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’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def63]
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: throw: if ‘fflush’ throws an exception...
zstd-1.5.7/lib/dictBuilder/cover.c:1136:5: danger: ‘dict’ leaks here; was allocated at [(2)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def64]
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: throw: if ‘fflush’ throws an exception...
zstd-1.5.7/lib/dictBuilder/cover.c:1136:5: danger: ‘freqs’ leaks here; was allocated at [(2)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def65]
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: throw: if ‘fflush’ throws an exception...
zstd-1.5.7/lib/dictBuilder/cover.c:1140:5: danger: ‘activeDmers.data’ leaks here; was allocated at [(4)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def66]
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: throw: if ‘fflush’ throws an exception...
zstd-1.5.7/lib/dictBuilder/cover.c:1140:5: danger: ‘dict’ leaks here; was allocated at [(2)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def67]
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: throw: if ‘fflush’ throws an exception...
zstd-1.5.7/lib/dictBuilder/cover.c:1140:5: danger: ‘freqs’ leaks here; was allocated at [(2)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def68]
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): [#def69]
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): [#def70]
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): [#def71]
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): [#def72]
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): [#def73]
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): [#def74]
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): [#def75]
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): [#def76]
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): [#def77]
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: throw: if ‘COVER_dictSelectionError’ throws an exception...
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): [#def78]
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: throw: if ‘COVER_dictSelectionError’ throws an exception...
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): [#def79]
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: throw: if ‘fflush’ throws an exception...
zstd-1.5.7/lib/dictBuilder/fastcover.c:488:5: danger: ‘dict’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def80]
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: throw: if ‘fflush’ throws an exception...
zstd-1.5.7/lib/dictBuilder/fastcover.c:488:5: danger: ‘freqs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def81]
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: throw: if ‘fflush’ throws an exception...
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): [#def82]
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: throw: if ‘COVER_selectDict’ throws an exception...
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): [#def83]
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: throw: if ‘COVER_selectDict’ throws an exception...
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): [#def84]
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: throw: if ‘COVER_selectDict’ throws an exception...
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): [#def85]
zstd-1.5.7/lib/dictBuilder/fastcover.c:502:9: 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:502:9: throw: if ‘COVER_dictSelectionIsError’ throws an exception...
zstd-1.5.7/lib/dictBuilder/fastcover.c:502:9: danger: ‘dict’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def86]
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: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:502:9: throw: if ‘COVER_dictSelectionIsError’ throws an exception...
zstd-1.5.7/lib/dictBuilder/fastcover.c:502:9: danger: ‘freqs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def87]
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: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:502:9: throw: if ‘COVER_dictSelectionIsError’ throws an exception...
zstd-1.5.7/lib/dictBuilder/fastcover.c:502:9: danger: ‘segmentFreqs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
zstd-1.5.7/lib/dictBuilder/fastcover.c:503:7: 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: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: throw: if ‘fflush’ throws an exception...
zstd-1.5.7/lib/dictBuilder/fastcover.c:503:7: danger: ‘dict’ leaks here; was allocated at [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
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: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: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: throw: if ‘fflush’ throws an exception...
zstd-1.5.7/lib/dictBuilder/fastcover.c:503:7: danger: ‘freqs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def90]
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: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: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: throw: if ‘fflush’ throws an exception...
zstd-1.5.7/lib/dictBuilder/fastcover.c:503:7: 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): [#def91]
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: throw: if ‘COVER_best_finish’ throws an exception...
zstd-1.5.7/lib/dictBuilder/fastcover.c:509:3: danger: ‘freqs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def92]
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: throw: if ‘COVER_best_finish’ throws an exception...
zstd-1.5.7/lib/dictBuilder/fastcover.c:509:3: danger: ‘segmentFreqs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def93]
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: throw: if ‘COVER_dictSelectionFree’ throws an exception...
zstd-1.5.7/lib/dictBuilder/fastcover.c:512:3: danger: ‘freqs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-682): [#def94]
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): [#def95]
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): [#def96]
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: throw: if ‘fflush’ throws an exception...
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): [#def97]
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: throw: if ‘fflush’ throws an exception...
zstd-1.5.7/lib/dictBuilder/zdict.c:492:5: danger: ‘filePos’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def98]
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): [#def99]
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: throw: if ‘fflush’ throws an exception...
zstd-1.5.7/lib/dictBuilder/zdict.c:492:5: danger: ‘reverseSuffix’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def100]
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: throw: if ‘fflush’ throws an exception...
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): [#def101]
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): [#def102]
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: throw: if ‘fflush’ throws an exception...
zstd-1.5.7/lib/dictBuilder/zdict.c:501:46: danger: ‘doneMarks’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def103]
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: throw: if ‘fflush’ throws an exception...
zstd-1.5.7/lib/dictBuilder/zdict.c:501:46: danger: ‘filePos’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def104]
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: throw: if ‘fflush’ throws an exception...
zstd-1.5.7/lib/dictBuilder/zdict.c:501:46: danger: ‘reverseSuffix’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def105]
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: throw: if ‘fflush’ throws an exception...
zstd-1.5.7/lib/dictBuilder/zdict.c:501:46: danger: ‘suffix0’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def106]
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: throw: if ‘fflush’ throws an exception...
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): [#def107]
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: throw: if ‘fflush’ throws an exception...
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): [#def108]
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: throw: if ‘fflush’ throws an exception...
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): [#def109]
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: throw: if ‘fflush’ throws an exception...
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): [#def110]
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): [#def111]
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: throw: if ‘divsufsort’ throws an exception...
zstd-1.5.7/lib/dictBuilder/zdict.c:506:39: danger: ‘doneMarks’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def112]
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: throw: if ‘divsufsort’ throws an exception...
zstd-1.5.7/lib/dictBuilder/zdict.c:506:39: danger: ‘filePos’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def113]
zstd-1.5.7/lib/dictBuilder/zdict.c:506:39: 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): [#def114]
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: throw: if ‘divsufsort’ throws an exception...
zstd-1.5.7/lib/dictBuilder/zdict.c:506:39: danger: ‘reverseSuffix’ leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def115]
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: throw: if ‘divsufsort’ throws an exception...
zstd-1.5.7/lib/dictBuilder/zdict.c:506:39: danger: ‘suffix0’ leaks here; was allocated at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def116]
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...
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: 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: throw: if ‘fflush’ throws an exception...
zstd-1.5.7/lib/dictBuilder/zdict.c:704:9: danger: ‘malloc(131072)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def117]
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...
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: 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...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: 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: throw: if ‘fflush’ throws an exception...
zstd-1.5.7/lib/dictBuilder/zdict.c:719:9: danger: ‘malloc(131072)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def118]
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...
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: 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...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: 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: throw: if ‘HUF_buildCTable_wksp’ throws an exception...
zstd-1.5.7/lib/dictBuilder/zdict.c:725:28: 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): [#def119]
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...
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: 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...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: 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: throw: if ‘fflush’ throws an exception...
zstd-1.5.7/lib/dictBuilder/zdict.c:728:13: 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): [#def120]
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...
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: 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...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: 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: throw: if ‘fflush’ throws an exception...
zstd-1.5.7/lib/dictBuilder/zdict.c:732: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): [#def121]
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...
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: 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...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: 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:838:5: throw: if ‘ZSTD_freeCDict’ throws an exception...
zstd-1.5.7/lib/dictBuilder/zdict.c:838:5: danger: ‘esr.workPlace’ leaks here; was allocated at [(9)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def122]
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...
zstd-1.5.7/lib/dictBuilder/zdict.c:688:8: 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...
zstd-1.5.7/lib/dictBuilder/zdict.c:702:9: 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:839:5: throw: if ‘ZSTD_freeCCtx’ throws an exception...
zstd-1.5.7/lib/dictBuilder/zdict.c:839:5: danger: ‘esr.workPlace’ leaks here; was allocated at [(9)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/8)
Error: COMPILER_WARNING (CWE-457): [#def123]
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): [#def124]
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): [#def125]
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): [#def126]
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): [#def127]
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): [#def128]
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): [#def129]
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:3693:21: call_function: calling ‘ZSTDv05_decompress_insertDictionary’ from ‘ZSTDv05_decompressBegin_usingDict’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def130]
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:3693:21: call_function: calling ‘ZSTDv05_decompress_insertDictionary’ from ‘ZSTDv05_decompressBegin_usingDict’
Error: CPPCHECK_WARNING (CWE-457): [#def131]
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): [#def132]
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): [#def133]
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): [#def134]
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): [#def135]
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): [#def136]
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): [#def137]
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): [#def138]
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): [#def139]
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): [#def140]
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): [#def141]
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): [#def142]
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): [#def143]
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): [#def144]
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): [#def145]
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): [#def146]
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): [#def147]
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): [#def148]
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): [#def149]
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): [#def150]
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): [#def151]
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): [#def152]
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): [#def153]
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): [#def154]
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): [#def155]
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): [#def156]
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): [#def157]
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): [#def158]
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): [#def159]
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): [#def160]
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): [#def161]
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): [#def162]
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): [#def163]
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): [#def164]
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): [#def165]
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): [#def166]
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): [#def167]
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): [#def168]
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): [#def169]
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): [#def170]
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): [#def171]
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): [#def172]
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): [#def173]
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): [#def174]
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): [#def175]
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): [#def176]
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): [#def177]
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): [#def178]
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): [#def179]
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): [#def180]
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): [#def181]
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): [#def182]
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): [#def183]
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): [#def184]
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): [#def185]
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): [#def186]
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): [#def187]
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): [#def188]
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): [#def189]
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): [#def190]
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): [#def191]
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): [#def192]
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): [#def193]
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): [#def194]
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): [#def195]
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): [#def196]
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): [#def197]
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): [#def198]
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): [#def199]
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): [#def200]
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): [#def201]
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): [#def202]
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): [#def203]
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): [#def204]
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: throw: if ‘LOREM_genBuffer’ throws an exception...
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): [#def205]
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: throw: if ‘RDG_genBuffer’ throws an exception...
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-401): [#def206]
zstd-1.5.7/programs/benchzstd.c:1054:26: warning[-Wanalyzer-malloc-leak]: leak of ‘testmem’
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:1207:19: call_function: calling ‘BMK_findMaxMem’ from ‘BMK_benchFilesAdvanced’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def207]
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): [#def208]
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): [#def209]
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:1207:19: call_function: calling ‘BMK_findMaxMem’ from ‘BMK_benchFilesAdvanced’
zstd-1.5.7/programs/benchzstd.c:1207:19: return_function: returning to ‘BMK_benchFilesAdvanced’ from ‘BMK_findMaxMem’
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): [#def210]
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): [#def211]
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): [#def212]
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:1207:19: call_function: calling ‘BMK_findMaxMem’ from ‘BMK_benchFilesAdvanced’
zstd-1.5.7/programs/benchzstd.c:1207:19: return_function: returning to ‘BMK_benchFilesAdvanced’ from ‘BMK_findMaxMem’
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): [#def213]
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): [#def214]
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): [#def215]
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:1207:19: call_function: calling ‘BMK_findMaxMem’ from ‘BMK_benchFilesAdvanced’
zstd-1.5.7/programs/benchzstd.c:1207:19: return_function: returning to ‘BMK_benchFilesAdvanced’ from ‘BMK_findMaxMem’
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: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): [#def217]
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): [#def218]
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): [#def219]
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-775): [#def220]
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: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: throw: if ‘fflush’ throws an exception...
zstd-1.5.7/programs/benchzstd.c:1104:13: danger: ‘fopen(filename, "rb")’ leaks here; was opened at [(5)](sarif:/runs/0/results/126/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def221]
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): [#def222]
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): [#def223]
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: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: throw: if ‘fflush’ throws an exception...
zstd-1.5.7/programs/benchzstd.c:1104:13: danger: ‘fopen(filename, "rb")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/127/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def224]
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: throw: if ‘UTIL_getFileSize’ throws an exception...
zstd-1.5.7/programs/benchzstd.c:1165:34: danger: ‘fileSizes’ leaks here; was allocated at [(7)](sarif:/runs/0/results/130/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def225]
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: throw: if ‘fflush’ throws an exception...
zstd-1.5.7/programs/benchzstd.c:1167:13: danger: ‘fileSizes’ leaks here; was allocated at [(7)](sarif:/runs/0/results/131/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def226]
zstd-1.5.7/programs/benchzstd.c:1211:9: 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_false: following ‘false’ branch...
zstd-1.5.7/programs/benchzstd.c:1207:19: branch_false: ...to here
zstd-1.5.7/programs/benchzstd.c:1207:19: call_function: calling ‘BMK_findMaxMem’ from ‘BMK_benchFilesAdvanced’
zstd-1.5.7/programs/benchzstd.c:1207:19: return_function: returning to ‘BMK_benchFilesAdvanced’ from ‘BMK_findMaxMem’
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: throw: if ‘fflush’ throws an exception...
zstd-1.5.7/programs/benchzstd.c:1211:9: danger: ‘fileSizes’ leaks here; was allocated at [(8)](sarif:/runs/0/results/132/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def227]
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): [#def228]
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: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: throw: if ‘UTIL_clockSpanMicro’ throws an exception...
zstd-1.5.7/programs/dibio.c:140:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was opened at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def229]
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: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: throw: if ‘UTIL_clockSpanMicro’ throws an exception...
zstd-1.5.7/programs/dibio.c:140:9: danger: ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def230]
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: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 [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def231]
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: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 [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def232]
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: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 [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def233]
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: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 [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def234]
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): [#def235]
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-775): [#def236]
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:1112:16: enter_function: entry to ‘FIO_createCResources’
zstd-1.5.7/programs/fileio.c:1123:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:1127:5: call_function: inlined call to ‘FIO_getDictFileStat’ from ‘FIO_createCResources’
zstd-1.5.7/programs/fileio.c:1127:5: call_function: inlined call to ‘FIO_getDictFileStat’ from ‘FIO_createCResources’
zstd-1.5.7/programs/fileio.c:1131:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:1138:23: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:1139:5: call_function: calling ‘FIO_initDict’ from ‘FIO_createCResources’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def237]
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:1112:16: enter_function: entry to ‘FIO_createCResources’
zstd-1.5.7/programs/fileio.c:1123:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:1127:5: call_function: inlined call to ‘FIO_getDictFileStat’ from ‘FIO_createCResources’
zstd-1.5.7/programs/fileio.c:1127:5: call_function: inlined call to ‘FIO_getDictFileStat’ from ‘FIO_createCResources’
zstd-1.5.7/programs/fileio.c:1131:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:1138:23: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:1139:5: call_function: calling ‘FIO_initDict’ from ‘FIO_createCResources’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def238]
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:1112:16: enter_function: entry to ‘FIO_createCResources’
zstd-1.5.7/programs/fileio.c:1123:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:1127:5: call_function: inlined call to ‘FIO_getDictFileStat’ from ‘FIO_createCResources’
zstd-1.5.7/programs/fileio.c:1127:5: call_function: inlined call to ‘FIO_getDictFileStat’ from ‘FIO_createCResources’
zstd-1.5.7/programs/fileio.c:1131:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:1138:23: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:1139:5: call_function: calling ‘FIO_initDict’ from ‘FIO_createCResources’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def239]
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:1112:16: enter_function: entry to ‘FIO_createCResources’
zstd-1.5.7/programs/fileio.c:1123:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:1127:5: call_function: inlined call to ‘FIO_getDictFileStat’ from ‘FIO_createCResources’
zstd-1.5.7/programs/fileio.c:1127:5: call_function: inlined call to ‘FIO_getDictFileStat’ from ‘FIO_createCResources’
zstd-1.5.7/programs/fileio.c:1131:8: branch_false: following ‘false’ branch...
zstd-1.5.7/programs/fileio.c:1138:23: branch_false: ...to here
zstd-1.5.7/programs/fileio.c:1139:5: call_function: calling ‘FIO_initDict’ from ‘FIO_createCResources’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def240]
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:856:13: enter_function: entry to ‘FIO_initDict’
zstd-1.5.7/programs/fileio.c:861:32: call_function: calling ‘FIO_setDictBufferMMap’ from ‘FIO_initDict’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def241]
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:856:13: enter_function: entry to ‘FIO_initDict’
zstd-1.5.7/programs/fileio.c:861:32: call_function: calling ‘FIO_setDictBufferMMap’ from ‘FIO_initDict’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def242]
zstd-1.5.7/programs/fileio.c:1141:21: warning[-Wanalyzer-malloc-leak]: leak of ‘ress.dict.dictBuffer’
zstd-1.5.7/programs/fileio.c:2142:5: enter_function: entry to ‘FIO_compressFilename’
zstd-1.5.7/programs/fileio.c:2146:20: call_function: calling ‘FIO_createCResources’ from ‘FIO_compressFilename’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def243]
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: throw: if ‘UTIL_getFileSizeStat’ throws an exception...
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/11/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def244]
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: throw: if ‘UTIL_getFileSizeStat’ throws an exception...
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/12/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def245]
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: throw: if ‘AIO_ReadPool_setAsync’ throws an exception...
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/13/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def246]
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: throw: if ‘AIO_ReadPool_setAsync’ throws an exception...
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/14/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def247]
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: throw: if ‘AIO_ReadPool_setAsync’ throws an exception...
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/17/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def248]
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: throw: if ‘AIO_ReadPool_setAsync’ throws an exception...
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/18/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def249]
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: throw: if ‘ZSTD_DCtx_reset’ throws an exception...
zstd-1.5.7/programs/fileio.c:2351:9: danger: ‘ress.dict.dictBuffer’ leaks here; was allocated at [(29)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def250]
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: throw: if ‘ZSTD_DCtx_refPrefix’ throws an exception...
zstd-1.5.7/programs/fileio.c:2354:13: danger: ‘ress.dict.dictBuffer’ leaks here; was allocated at [(29)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def251]
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: throw: if ‘ZSTD_DCtx_loadDictionary_byReference’ throws an exception...
zstd-1.5.7/programs/fileio.c:2356:13: danger: ‘ress.dict.dictBuffer’ leaks here; was allocated at [(29)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def252]
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: throw: if ‘ZSTD_DStreamOutSize’ throws an exception...
zstd-1.5.7/programs/fileio.c:2360:21: danger: ‘ress.dict.dictBuffer’ leaks here; was allocated at [(29)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def253]
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: throw: if ‘ZSTD_DStreamInSize’ throws an exception...
zstd-1.5.7/programs/fileio.c:2361:20: 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-775): [#def254]
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: throw: if ‘UTIL_getFileSizeStat’ throws an exception...
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/36/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def255]
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: throw: if ‘UTIL_getFileSizeStat’ throws an exception...
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/37/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def256]
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: throw: if ‘AIO_ReadPool_setAsync’ throws an exception...
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/38/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def257]
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: throw: if ‘AIO_ReadPool_setAsync’ throws an exception...
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/39/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def258]
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: throw: if ‘AIO_WritePool_setAsync’ throws an exception...
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/40/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def259]
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: throw: if ‘AIO_WritePool_setAsync’ throws an exception...
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/41/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def260]
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: throw: if ‘AIO_ReadPool_setAsync’ throws an exception...
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/42/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def261]
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: throw: if ‘AIO_ReadPool_setAsync’ throws an exception...
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/43/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def262]
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: throw: if ‘AIO_WritePool_setAsync’ throws an exception...
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/44/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def263]
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: throw: if ‘AIO_WritePool_setAsync’ throws an exception...
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/45/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def264]
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: throw: if ‘AIO_ReadPool_setFile’ throws an exception...
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/46/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def265]
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: throw: if ‘AIO_ReadPool_setFile’ throws an exception...
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/47/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def266]
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: throw: if ‘UTIL_getFileSizeStat’ throws an exception...
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/48/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def267]
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: throw: if ‘UTIL_getFileSizeStat’ throws an exception...
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/49/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def268]
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-401): [#def269]
zstd-1.5.7/programs/util.c:1233:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fname’
zstd-1.5.7/programs/util.c:1267:6: enter_function: entry to ‘UTIL_mirrorSourceFilesDirectories’
zstd-1.5.7/programs/util.c:1271:5: branch_false: following ‘false’ branch (when ‘srcFileNames’ is non-NULL)...
zstd-1.5.7/programs/util.c:1271:5: branch_false: ...to here
zstd-1.5.7/programs/util.c:1274:17: branch_true: following ‘true’ branch (when ‘i < nbFile’)...
zstd-1.5.7/programs/util.c:1275:57: branch_true: ...to here
zstd-1.5.7/programs/util.c:1275:13: call_function: inlined call to ‘isFileNameValidForMirroredOutput’ from ‘UTIL_mirrorSourceFilesDirectories’
zstd-1.5.7/programs/util.c:1275:13: call_function: inlined call to ‘isFileNameValidForMirroredOutput’ from ‘UTIL_mirrorSourceFilesDirectories’
zstd-1.5.7/programs/util.c:1275:12: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/util.c:1276:27: branch_true: ...to here
zstd-1.5.7/programs/util.c:1276:27: acquire_memory: allocated here
zstd-1.5.7/programs/util.c:1277:13: branch_false: following ‘false’ branch (when ‘fname’ is non-NULL)...
zstd-1.5.7/programs/util.c:1278:26: branch_false: ...to here
zstd-1.5.7/programs/util.c:1274:17: branch_false: following ‘false’ branch (when ‘i >= nbFile’)...
zstd-1.5.7/programs/util.c:1282:8: branch_false: ...to here
zstd-1.5.7/programs/util.c:1282:8: branch_true: following ‘true’ branch (when ‘validFilenamesNr != 0’)...
zstd-1.5.7/programs/util.c:1283:9: branch_true: ...to here
zstd-1.5.7/programs/util.c:1284:9: call_function: calling ‘makeMirroredDestDirs’ from ‘UTIL_mirrorSourceFilesDirectories’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def270]
zstd-1.5.7/programs/util.c:1233:5: warning[-Wanalyzer-malloc-leak]: leak of ‘srcFileNames’
zstd-1.5.7/programs/util.c:1267:6: enter_function: entry to ‘UTIL_mirrorSourceFilesDirectories’
zstd-1.5.7/programs/util.c:1270:37: acquire_memory: allocated here
zstd-1.5.7/programs/util.c:1271:5: branch_false: following ‘false’ branch (when ‘srcFileNames’ is non-NULL)...
zstd-1.5.7/programs/util.c:1271:5: branch_false: ...to here
zstd-1.5.7/programs/util.c:1274:17: branch_true: following ‘true’ branch (when ‘i < nbFile’)...
zstd-1.5.7/programs/util.c:1275:57: branch_true: ...to here
zstd-1.5.7/programs/util.c:1275:13: call_function: inlined call to ‘isFileNameValidForMirroredOutput’ from ‘UTIL_mirrorSourceFilesDirectories’
zstd-1.5.7/programs/util.c:1275:13: call_function: inlined call to ‘isFileNameValidForMirroredOutput’ from ‘UTIL_mirrorSourceFilesDirectories’
zstd-1.5.7/programs/util.c:1275:12: branch_true: following ‘true’ branch...
zstd-1.5.7/programs/util.c:1276:27: branch_true: ...to here
zstd-1.5.7/programs/util.c:1277:13: branch_false: following ‘false’ branch (when ‘fname’ is non-NULL)...
zstd-1.5.7/programs/util.c:1278:26: branch_false: ...to here
zstd-1.5.7/programs/util.c:1274:17: branch_false: following ‘false’ branch (when ‘i >= nbFile’)...
zstd-1.5.7/programs/util.c:1282:8: branch_false: ...to here
zstd-1.5.7/programs/util.c:1282:8: branch_true: following ‘true’ branch (when ‘validFilenamesNr != 0’)...
zstd-1.5.7/programs/util.c:1283:9: branch_true: ...to here
zstd-1.5.7/programs/util.c:1284:9: call_function: calling ‘makeMirroredDestDirs’ from ‘UTIL_mirrorSourceFilesDirectories’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def271]
zstd-1.5.7/programs/util.c:1233:5: warning[-Wanalyzer-malloc-leak]: leak of ‘uniqueDirNames’
zstd-1.5.7/programs/util.c:1259:1: enter_function: entry to ‘makeMirroredDestDirs’
zstd-1.5.7/programs/util.c:1264:5: call_function: calling ‘makeUniqueMirroredDestDirs’ from ‘makeMirroredDestDirs’
Error: CPPCHECK_WARNING (CWE-682): [#def272]
zstd-1.5.7/programs/util.c:1297: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: COMPILER_WARNING (CWE-457): [#def273]
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): [#def274]
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): [#def275]
zstd-1.5.7/tests/fullbench.c:537: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def276]
zstd-1.5.7/tests/fullbench.c:579: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def277]
zstd-1.5.7/tests/fullbench.c:636: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def278]
zstd-1.5.7/tests/fullbench.c:698:15: warning[-Wanalyzer-malloc-leak]: leak of ‘decompressed’
zstd-1.5.7/tests/fullbench.c:1104:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/fullbench.c:1116:8: branch_false: following ‘false’ branch (when ‘argc > 0’)...
zstd-1.5.7/tests/fullbench.c:1116:8: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1118:19: branch_false: following ‘false’ branch (when ‘argNb >= argc’)...
zstd-1.5.7/tests/fullbench.c:1201:8: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1201:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/fullbench.c:1202:18: branch_true: ...to here
zstd-1.5.7/tests/fullbench.c:1202:18: call_function: calling ‘benchSample’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def279]
zstd-1.5.7/tests/fullbench.c:736:21: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(srcSize)’
zstd-1.5.7/tests/fullbench.c:1104:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/fullbench.c:1116:8: branch_false: following ‘false’ branch (when ‘argc > 0’)...
zstd-1.5.7/tests/fullbench.c:1116:8: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1118:19: branch_false: following ‘false’ branch (when ‘argNb >= argc’)...
zstd-1.5.7/tests/fullbench.c:1201:8: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1201:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/fullbench.c:1202:18: branch_true: ...to here
zstd-1.5.7/tests/fullbench.c:1202:18: call_function: calling ‘benchSample’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def280]
zstd-1.5.7/tests/fullbench.c:738:5: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(srcSize)’
zstd-1.5.7/tests/fullbench.c:1104:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/fullbench.c:1116:8: branch_false: following ‘false’ branch (when ‘argc > 0’)...
zstd-1.5.7/tests/fullbench.c:1116:8: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1118:19: branch_false: following ‘false’ branch (when ‘argNb >= argc’)...
zstd-1.5.7/tests/fullbench.c:1201:8: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1201:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/fullbench.c:1202:18: branch_true: ...to here
zstd-1.5.7/tests/fullbench.c:1202:18: call_function: calling ‘benchSample’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def281]
zstd-1.5.7/tests/fullbench.c:865:41: warning[-Wanalyzer-malloc-leak]: leak of ‘dst’
zstd-1.5.7/tests/fullbench.c:1104:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/fullbench.c:1116:8: branch_false: following ‘false’ branch (when ‘argc > 0’)...
zstd-1.5.7/tests/fullbench.c:1116:8: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1118:19: branch_false: following ‘false’ branch (when ‘argNb >= argc’)...
zstd-1.5.7/tests/fullbench.c:1201:8: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1201:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/fullbench.c:1202:18: branch_true: ...to here
zstd-1.5.7/tests/fullbench.c:1202:18: call_function: calling ‘benchSample’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def282]
zstd-1.5.7/tests/fullbench.c:865:41: warning[-Wanalyzer-malloc-leak]: leak of ‘prepBuff’
zstd-1.5.7/tests/fullbench.c:1104:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/fullbench.c:1116:8: branch_false: following ‘false’ branch (when ‘argc > 0’)...
zstd-1.5.7/tests/fullbench.c:1116:8: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1118:19: branch_false: following ‘false’ branch (when ‘argNb >= argc’)...
zstd-1.5.7/tests/fullbench.c:1201:8: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1201:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/fullbench.c:1202:18: branch_true: ...to here
zstd-1.5.7/tests/fullbench.c:1202:18: call_function: calling ‘benchSample’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def283]
zstd-1.5.7/tests/fullbench.c:888:47: warning[-Wanalyzer-malloc-leak]: leak of ‘dst’
zstd-1.5.7/tests/fullbench.c:1104:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/fullbench.c:1116:8: branch_false: following ‘false’ branch (when ‘argc > 0’)...
zstd-1.5.7/tests/fullbench.c:1116:8: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1118:19: branch_false: following ‘false’ branch (when ‘argNb >= argc’)...
zstd-1.5.7/tests/fullbench.c:1201:8: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1201:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/fullbench.c:1202:18: branch_true: ...to here
zstd-1.5.7/tests/fullbench.c:1202:18: call_function: calling ‘benchSample’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def284]
zstd-1.5.7/tests/fullbench.c:888:47: warning[-Wanalyzer-malloc-leak]: leak of ‘prepBuff’
zstd-1.5.7/tests/fullbench.c:1104:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/fullbench.c:1116:8: branch_false: following ‘false’ branch (when ‘argc > 0’)...
zstd-1.5.7/tests/fullbench.c:1116:8: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1118:19: branch_false: following ‘false’ branch (when ‘argNb >= argc’)...
zstd-1.5.7/tests/fullbench.c:1201:8: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1201:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/fullbench.c:1202:18: branch_true: ...to here
zstd-1.5.7/tests/fullbench.c:1202:18: call_function: calling ‘benchSample’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def285]
zstd-1.5.7/tests/fullbench.c:946:9: warning[-Wanalyzer-malloc-leak]: leak of ‘origBuff’
zstd-1.5.7/tests/fullbench.c:1104:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/fullbench.c:1116:8: branch_false: following ‘false’ branch (when ‘argc > 0’)...
zstd-1.5.7/tests/fullbench.c:1116:8: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1118:19: branch_false: following ‘false’ branch (when ‘argNb >= argc’)...
zstd-1.5.7/tests/fullbench.c:1201:8: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1201:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/fullbench.c:1202:18: branch_true: ...to here
zstd-1.5.7/tests/fullbench.c:1202:18: call_function: calling ‘benchSample’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def286]
zstd-1.5.7/tests/fullbench.c:948:9: warning[-Wanalyzer-malloc-leak]: leak of ‘origBuff’
zstd-1.5.7/tests/fullbench.c:1104:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/fullbench.c:1116:8: branch_false: following ‘false’ branch (when ‘argc > 0’)...
zstd-1.5.7/tests/fullbench.c:1116:8: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1118:19: branch_false: following ‘false’ branch (when ‘argNb >= argc’)...
zstd-1.5.7/tests/fullbench.c:1201:8: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1201:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/fullbench.c:1202:18: branch_true: ...to here
zstd-1.5.7/tests/fullbench.c:1202:18: call_function: calling ‘benchSample’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def287]
zstd-1.5.7/tests/fullbench.c:983:36: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(inFileName, "rb")’
zstd-1.5.7/tests/fullbench.c:1104:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/fullbench.c:1116:8: branch_false: following ‘false’ branch (when ‘argc > 0’)...
zstd-1.5.7/tests/fullbench.c:1116:8: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1118:19: branch_true: following ‘true’ branch (when ‘argNb < argc’)...
zstd-1.5.7/tests/fullbench.c:1119:36: branch_true: ...to here
zstd-1.5.7/tests/fullbench.c:1120:9: branch_false: following ‘false’ branch...
zstd-1.5.7/tests/fullbench.c:1122:13: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1122:12: branch_false: following ‘false’ branch...
zstd-1.5.7/tests/fullbench.c:1144:20: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1144:19: branch_false: following ‘false’ branch...
zstd-1.5.7/tests/fullbench.c:1196:12: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1196:12: branch_true: following ‘true’ branch (when ‘input_filename’ is NULL)...
zstd-1.5.7/tests/fullbench.c:1196:12: branch_true: ...to here
zstd-1.5.7/tests/fullbench.c:1118:19: branch_false: following ‘false’ branch (when ‘argNb >= argc’)...
zstd-1.5.7/tests/fullbench.c:1201:8: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1201:8: branch_false: following ‘false’ branch (when ‘filenamesStart != 0’)...
zstd-1.5.7/tests/fullbench.c:1204:62: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1204:18: call_function: calling ‘benchFiles’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def288]
zstd-1.5.7/tests/fullbench.c:983:36: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(inFileName, "rb")’
zstd-1.5.7/tests/fullbench.c:1104:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/fullbench.c:1116:8: branch_false: following ‘false’ branch (when ‘argc > 0’)...
zstd-1.5.7/tests/fullbench.c:1116:8: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1118:19: branch_true: following ‘true’ branch (when ‘argNb < argc’)...
zstd-1.5.7/tests/fullbench.c:1119:36: branch_true: ...to here
zstd-1.5.7/tests/fullbench.c:1120:9: branch_false: following ‘false’ branch...
zstd-1.5.7/tests/fullbench.c:1122:13: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1122:12: branch_false: following ‘false’ branch...
zstd-1.5.7/tests/fullbench.c:1144:20: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1144:19: branch_false: following ‘false’ branch...
zstd-1.5.7/tests/fullbench.c:1196:12: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1196:12: branch_true: following ‘true’ branch (when ‘input_filename’ is NULL)...
zstd-1.5.7/tests/fullbench.c:1196:12: branch_true: ...to here
zstd-1.5.7/tests/fullbench.c:1118:19: branch_false: following ‘false’ branch (when ‘argNb >= argc’)...
zstd-1.5.7/tests/fullbench.c:1201:8: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1201:8: branch_false: following ‘false’ branch (when ‘filenamesStart != 0’)...
zstd-1.5.7/tests/fullbench.c:1204:62: branch_false: ...to here
zstd-1.5.7/tests/fullbench.c:1204:18: call_function: calling ‘benchFiles’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def289]
zstd-1.5.7/tests/paramgrill.c:392:9: warning[-Wanalyzer-malloc-leak]: leak of ‘testmem’
zstd-1.5.7/tests/paramgrill.c:2362:1: enter_function: entry to ‘optimizeForSize’
zstd-1.5.7/tests/paramgrill.c:2370:27: call_function: calling ‘variableParams’ from ‘optimizeForSize’
zstd-1.5.7/tests/paramgrill.c:2370:27: return_function: returning to ‘optimizeForSize’ from ‘variableParams’
zstd-1.5.7/tests/paramgrill.c:2371:42: call_function: inlined call to ‘emptyParams’ from ‘optimizeForSize’
zstd-1.5.7/tests/paramgrill.c:2378:9: call_function: calling ‘createBuffers’ from ‘optimizeForSize’
Error: CPPCHECK_WARNING (CWE-628): [#def290]
zstd-1.5.7/tests/paramgrill.c:575: warning[invalidFunctionArg]: Invalid log() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def291]
zstd-1.5.7/tests/paramgrill.c:1197:31: warning[-Wanalyzer-malloc-leak]: leak of ‘buf.dstCapacities’
zstd-1.5.7/tests/paramgrill.c:2699:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/paramgrill.c:2714:33: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2715:16: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: following ‘true’ branch...
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2934:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/paramgrill.c:2935:13: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2935:12: branch_false: following ‘false’ branch...
zstd-1.5.7/tests/paramgrill.c:2939:22: branch_false: ...to here
zstd-1.5.7/tests/paramgrill.c:2939:22: call_function: calling ‘benchSample’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def292]
zstd-1.5.7/tests/paramgrill.c:1197:31: warning[-Wanalyzer-malloc-leak]: leak of ‘buf.dstPtrs’
zstd-1.5.7/tests/paramgrill.c:2699:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/paramgrill.c:2714:33: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2715:16: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: following ‘true’ branch...
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2934:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/paramgrill.c:2935:13: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2935:12: branch_false: following ‘false’ branch...
zstd-1.5.7/tests/paramgrill.c:2939:22: branch_false: ...to here
zstd-1.5.7/tests/paramgrill.c:2939:22: call_function: calling ‘benchSample’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def293]
zstd-1.5.7/tests/paramgrill.c:1197:31: warning[-Wanalyzer-malloc-leak]: leak of ‘buf.dstSizes’
zstd-1.5.7/tests/paramgrill.c:2699:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/paramgrill.c:2714:33: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2715:16: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: following ‘true’ branch...
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2934:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/paramgrill.c:2935:13: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2935:12: branch_false: following ‘false’ branch...
zstd-1.5.7/tests/paramgrill.c:2939:22: branch_false: ...to here
zstd-1.5.7/tests/paramgrill.c:2939:22: call_function: calling ‘benchSample’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def294]
zstd-1.5.7/tests/paramgrill.c:1197:31: warning[-Wanalyzer-malloc-leak]: leak of ‘buf.resPtrs’
zstd-1.5.7/tests/paramgrill.c:2699:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/paramgrill.c:2714:33: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2715:16: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: following ‘true’ branch...
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2934:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/paramgrill.c:2935:13: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2935:12: branch_false: following ‘false’ branch...
zstd-1.5.7/tests/paramgrill.c:2939:22: branch_false: ...to here
zstd-1.5.7/tests/paramgrill.c:2939:22: call_function: calling ‘benchSample’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def295]
zstd-1.5.7/tests/paramgrill.c:1197:31: warning[-Wanalyzer-malloc-leak]: leak of ‘buf.resSizes’
zstd-1.5.7/tests/paramgrill.c:2699:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/paramgrill.c:2714:33: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2715:16: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: following ‘true’ branch...
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2934:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/paramgrill.c:2935:13: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2935:12: branch_false: following ‘false’ branch...
zstd-1.5.7/tests/paramgrill.c:2939:22: branch_false: ...to here
zstd-1.5.7/tests/paramgrill.c:2939:22: call_function: calling ‘benchSample’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def296]
zstd-1.5.7/tests/paramgrill.c:1197:31: warning[-Wanalyzer-malloc-leak]: leak of ‘buf.srcPtrs’
zstd-1.5.7/tests/paramgrill.c:2699:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/paramgrill.c:2714:33: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2715:16: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: following ‘true’ branch...
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2934:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/paramgrill.c:2935:13: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2935:12: branch_false: following ‘false’ branch...
zstd-1.5.7/tests/paramgrill.c:2939:22: branch_false: ...to here
zstd-1.5.7/tests/paramgrill.c:2939:22: call_function: calling ‘benchSample’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def297]
zstd-1.5.7/tests/paramgrill.c:1197:31: warning[-Wanalyzer-malloc-leak]: leak of ‘buf.srcSizes’
zstd-1.5.7/tests/paramgrill.c:2699:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/paramgrill.c:2714:33: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2715:16: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: following ‘true’ branch...
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2934:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/paramgrill.c:2935:13: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2935:12: branch_false: following ‘false’ branch...
zstd-1.5.7/tests/paramgrill.c:2939:22: branch_false: ...to here
zstd-1.5.7/tests/paramgrill.c:2939:22: call_function: calling ‘benchSample’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def298]
zstd-1.5.7/tests/paramgrill.c:1218:30: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
zstd-1.5.7/tests/paramgrill.c:2699:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/paramgrill.c:2714:33: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2715:16: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: following ‘true’ branch...
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2934:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/paramgrill.c:2935:13: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2935:12: branch_false: following ‘false’ branch...
zstd-1.5.7/tests/paramgrill.c:2939:22: branch_false: ...to here
zstd-1.5.7/tests/paramgrill.c:2939:22: call_function: calling ‘benchSample’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def299]
zstd-1.5.7/tests/paramgrill.c:1218:30: warning[-Wanalyzer-malloc-leak]: leak of ‘buf.dstCapacities’
zstd-1.5.7/tests/paramgrill.c:2699:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/paramgrill.c:2714:33: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2715:16: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: following ‘true’ branch...
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2934:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/paramgrill.c:2935:13: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2935:12: branch_false: following ‘false’ branch...
zstd-1.5.7/tests/paramgrill.c:2939:22: branch_false: ...to here
zstd-1.5.7/tests/paramgrill.c:2939:22: call_function: calling ‘benchSample’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def300]
zstd-1.5.7/tests/paramgrill.c:1218:30: warning[-Wanalyzer-malloc-leak]: leak of ‘buf.dstPtrs’
zstd-1.5.7/tests/paramgrill.c:2699:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/paramgrill.c:2714:33: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2715:16: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: following ‘true’ branch...
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2934:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/paramgrill.c:2935:13: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2935:12: branch_false: following ‘false’ branch...
zstd-1.5.7/tests/paramgrill.c:2939:22: branch_false: ...to here
zstd-1.5.7/tests/paramgrill.c:2939:22: call_function: calling ‘benchSample’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def301]
zstd-1.5.7/tests/paramgrill.c:1218:30: warning[-Wanalyzer-malloc-leak]: leak of ‘buf.dstSizes’
zstd-1.5.7/tests/paramgrill.c:2699:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/paramgrill.c:2714:33: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2715:16: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: following ‘true’ branch...
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2934:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/paramgrill.c:2935:13: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2935:12: branch_false: following ‘false’ branch...
zstd-1.5.7/tests/paramgrill.c:2939:22: branch_false: ...to here
zstd-1.5.7/tests/paramgrill.c:2939:22: call_function: calling ‘benchSample’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def302]
zstd-1.5.7/tests/paramgrill.c:1218:30: warning[-Wanalyzer-malloc-leak]: leak of ‘buf.resPtrs’
zstd-1.5.7/tests/paramgrill.c:2699:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/paramgrill.c:2714:33: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2715:16: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: following ‘true’ branch...
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2934:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/paramgrill.c:2935:13: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2935:12: branch_false: following ‘false’ branch...
zstd-1.5.7/tests/paramgrill.c:2939:22: branch_false: ...to here
zstd-1.5.7/tests/paramgrill.c:2939:22: call_function: calling ‘benchSample’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def303]
zstd-1.5.7/tests/paramgrill.c:1218:30: warning[-Wanalyzer-malloc-leak]: leak of ‘buf.resSizes’
zstd-1.5.7/tests/paramgrill.c:2699:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/paramgrill.c:2714:33: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2715:16: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: following ‘true’ branch...
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2934:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/paramgrill.c:2935:13: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2935:12: branch_false: following ‘false’ branch...
zstd-1.5.7/tests/paramgrill.c:2939:22: branch_false: ...to here
zstd-1.5.7/tests/paramgrill.c:2939:22: call_function: calling ‘benchSample’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def304]
zstd-1.5.7/tests/paramgrill.c:1218:30: warning[-Wanalyzer-malloc-leak]: leak of ‘buf.srcPtrs’
zstd-1.5.7/tests/paramgrill.c:2699:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/paramgrill.c:2714:33: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2715:16: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: following ‘true’ branch...
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2934:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/paramgrill.c:2935:13: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2935:12: branch_false: following ‘false’ branch...
zstd-1.5.7/tests/paramgrill.c:2939:22: branch_false: ...to here
zstd-1.5.7/tests/paramgrill.c:2939:22: call_function: calling ‘benchSample’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def305]
zstd-1.5.7/tests/paramgrill.c:1218:30: warning[-Wanalyzer-malloc-leak]: leak of ‘buf.srcSizes’
zstd-1.5.7/tests/paramgrill.c:2699:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/paramgrill.c:2714:33: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2715:16: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: following ‘true’ branch...
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2934:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/paramgrill.c:2935:13: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2935:12: branch_false: following ‘false’ branch...
zstd-1.5.7/tests/paramgrill.c:2939:22: branch_false: ...to here
zstd-1.5.7/tests/paramgrill.c:2939:22: call_function: calling ‘benchSample’ from ‘main’
Error: COMPILER_WARNING: [#def306]
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: GCC_ANALYZER_WARNING (CWE-401): [#def307]
zstd-1.5.7/tests/paramgrill.c:1264:24: warning[-Wanalyzer-malloc-leak]: leak of ‘fileSizes’
zstd-1.5.7/tests/paramgrill.c:2362:1: enter_function: entry to ‘optimizeForSize’
zstd-1.5.7/tests/paramgrill.c:2370:27: call_function: calling ‘variableParams’ from ‘optimizeForSize’
zstd-1.5.7/tests/paramgrill.c:2370:27: return_function: returning to ‘optimizeForSize’ from ‘variableParams’
zstd-1.5.7/tests/paramgrill.c:2371:42: call_function: inlined call to ‘emptyParams’ from ‘optimizeForSize’
zstd-1.5.7/tests/paramgrill.c:2378:9: call_function: calling ‘createBuffers’ from ‘optimizeForSize’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def308]
zstd-1.5.7/tests/paramgrill.c:1264:24: warning[-Wanalyzer-malloc-leak]: leak of ‘srcBuffer’
zstd-1.5.7/tests/paramgrill.c:2362:1: enter_function: entry to ‘optimizeForSize’
zstd-1.5.7/tests/paramgrill.c:2370:27: call_function: calling ‘variableParams’ from ‘optimizeForSize’
zstd-1.5.7/tests/paramgrill.c:2370:27: return_function: returning to ‘optimizeForSize’ from ‘variableParams’
zstd-1.5.7/tests/paramgrill.c:2371:42: call_function: inlined call to ‘emptyParams’ from ‘optimizeForSize’
zstd-1.5.7/tests/paramgrill.c:2378:9: call_function: calling ‘createBuffers’ from ‘optimizeForSize’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def309]
zstd-1.5.7/tests/paramgrill.c:1265:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fileSizes’
zstd-1.5.7/tests/paramgrill.c:2362:1: enter_function: entry to ‘optimizeForSize’
zstd-1.5.7/tests/paramgrill.c:2370:27: call_function: calling ‘variableParams’ from ‘optimizeForSize’
zstd-1.5.7/tests/paramgrill.c:2370:27: return_function: returning to ‘optimizeForSize’ from ‘variableParams’
zstd-1.5.7/tests/paramgrill.c:2371:42: call_function: inlined call to ‘emptyParams’ from ‘optimizeForSize’
zstd-1.5.7/tests/paramgrill.c:2378:9: call_function: calling ‘createBuffers’ from ‘optimizeForSize’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def310]
zstd-1.5.7/tests/paramgrill.c:1265:13: warning[-Wanalyzer-malloc-leak]: leak of ‘srcBuffer’
zstd-1.5.7/tests/paramgrill.c:2362:1: enter_function: entry to ‘optimizeForSize’
zstd-1.5.7/tests/paramgrill.c:2370:27: call_function: calling ‘variableParams’ from ‘optimizeForSize’
zstd-1.5.7/tests/paramgrill.c:2370:27: return_function: returning to ‘optimizeForSize’ from ‘variableParams’
zstd-1.5.7/tests/paramgrill.c:2371:42: call_function: inlined call to ‘emptyParams’ from ‘optimizeForSize’
zstd-1.5.7/tests/paramgrill.c:2378:9: call_function: calling ‘createBuffers’ from ‘optimizeForSize’
Error: COMPILER_WARNING: [#def311]
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: [#def312]
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): [#def313]
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: GCC_ANALYZER_WARNING (CWE-401): [#def314]
zstd-1.5.7/tests/paramgrill.c:2081:5: warning[-Wanalyzer-malloc-leak]: leak of ‘srcBuffer’
zstd-1.5.7/tests/paramgrill.c:2699:5: enter_function: entry to ‘main’
zstd-1.5.7/tests/paramgrill.c:2714:33: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2715:16: call_function: inlined call to ‘emptyParams’ from ‘main’
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: following ‘true’ branch...
zstd-1.5.7/tests/paramgrill.c:2932:5: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2934:8: branch_true: following ‘true’ branch (when ‘filenamesStart == 0’)...
zstd-1.5.7/tests/paramgrill.c:2935:13: branch_true: ...to here
zstd-1.5.7/tests/paramgrill.c:2935:12: branch_false: following ‘false’ branch...
zstd-1.5.7/tests/paramgrill.c:2939:22: branch_false: ...to here
zstd-1.5.7/tests/paramgrill.c:2939:22: call_function: calling ‘benchSample’ from ‘main’
Error: CPPCHECK_WARNING (CWE-457): [#def315]
zstd-1.5.7/tests/seqgen.c:38: error[uninitvar]: Uninitialized variables: stream.saved, stream.bytesLeft
Error: COMPILER_WARNING: [#def316]
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.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| 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-211.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-x86_64 |
| project-name | zstd-1.5.7-3.fc44 |
| store-results-to | /tmp/tmpazzl8563/zstd-1.5.7-3.fc44.tar.xz |
| time-created | 2026-01-08 22:22:43 |
| time-finished | 2026-01-08 22:27:22 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpazzl8563/zstd-1.5.7-3.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpazzl8563/zstd-1.5.7-3.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |