nbdkit-1.45.12-1.fc44
List of Findings
Error: SHELLCHECK_WARNING (CWE-457): [#def1]
/usr/share/doc/nbdkit-devel/assemble.sh:18:11: warning[SC2154]: tmpdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def2]
/usr/share/doc/nbdkit-devel/example.sh:45:11: warning[SC2154]: tmpdir is referenced but not assigned.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
nbdkit-1.45.12/common/allocators/allocator.c:111:7: warning[-Wanalyzer-malloc-leak]: leak of 'kv.key'
nbdkit-1.45.12/common/allocators/allocator.c:86:23: branch_true: following 'true' branch...
nbdkit-1.45.12/common/allocators/allocator.c:89:5: branch_true: ...to here
nbdkit-1.45.12/common/allocators/allocator.c:91:8: branch_false: following 'false' branch (when 'len != 0')...
nbdkit-1.45.12/common/allocators/allocator.c:96:9: branch_false: ...to here
nbdkit-1.45.12/common/allocators/allocator.c:97:8: branch_false: following 'false' branch (when 'j != 0')...
nbdkit-1.45.12/common/allocators/allocator.c:102:8: branch_false: ...to here
nbdkit-1.45.12/common/allocators/allocator.c:107:16: acquire_memory: allocated here
nbdkit-1.45.12/common/allocators/allocator.c:110:8: branch_false: following 'false' branch (when '<unknown>' is non-NULL)...
nbdkit-1.45.12/common/allocators/allocator.c:110:9: branch_false: ...to here
nbdkit-1.45.12/common/allocators/allocator.c:110:9: branch_true: following 'true' branch (when '<unknown>' is NULL)...
nbdkit-1.45.12/common/allocators/allocator.c:111:7: branch_true: ...to here
nbdkit-1.45.12/common/allocators/allocator.c:111:7: danger: 'kv.key' leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def4]
nbdkit-1.45.12/common/allocators/allocator.c:111:7: warning[-Wanalyzer-malloc-leak]: leak of 'kv.value'
nbdkit-1.45.12/common/allocators/allocator.c:86:23: branch_true: following 'true' branch...
nbdkit-1.45.12/common/allocators/allocator.c:89:5: branch_true: ...to here
nbdkit-1.45.12/common/allocators/allocator.c:91:8: branch_false: following 'false' branch (when 'len != 0')...
nbdkit-1.45.12/common/allocators/allocator.c:96:9: branch_false: ...to here
nbdkit-1.45.12/common/allocators/allocator.c:97:8: branch_false: following 'false' branch (when 'j != 0')...
nbdkit-1.45.12/common/allocators/allocator.c:102:8: branch_false: ...to here
nbdkit-1.45.12/common/allocators/allocator.c:102:8: branch_false: following 'false' branch (when 'len <= j')...
nbdkit-1.45.12/common/allocators/allocator.c:107:16: branch_false: ...to here
nbdkit-1.45.12/common/allocators/allocator.c:108:18: acquire_memory: allocated here
nbdkit-1.45.12/common/allocators/allocator.c:110:8: branch_true: following 'true' branch (when '<unknown>' is NULL)...
nbdkit-1.45.12/common/allocators/allocator.c:111:7: branch_true: ...to here
nbdkit-1.45.12/common/allocators/allocator.c:111:7: danger: 'kv.value' leaks here; was allocated at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def5]
nbdkit-1.45.12/common/allocators/allocator.c:118:5: warning[-Wanalyzer-malloc-leak]: leak of 'kv.key'
nbdkit-1.45.12/common/allocators/allocator.c:86:23: branch_true: following 'true' branch...
nbdkit-1.45.12/common/allocators/allocator.c:89:5: branch_true: ...to here
nbdkit-1.45.12/common/allocators/allocator.c:91:8: branch_false: following 'false' branch (when 'len != 0')...
nbdkit-1.45.12/common/allocators/allocator.c:96:9: branch_false: ...to here
nbdkit-1.45.12/common/allocators/allocator.c:97:8: branch_false: following 'false' branch (when 'j != 0')...
nbdkit-1.45.12/common/allocators/allocator.c:102:8: branch_false: ...to here
nbdkit-1.45.12/common/allocators/allocator.c:102:8: branch_false: following 'false' branch (when 'len <= j')...
nbdkit-1.45.12/common/allocators/allocator.c:107:16: branch_false: ...to here
nbdkit-1.45.12/common/allocators/allocator.c:107:16: acquire_memory: allocated here
nbdkit-1.45.12/common/allocators/allocator.c:110:8: branch_false: following 'false' branch...
nbdkit-1.45.12/common/allocators/allocator.c:118:5: danger: 'kv.key' leaks here; was allocated at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def6]
nbdkit-1.45.12/common/allocators/allocator.c:118:5: warning[-Wanalyzer-malloc-leak]: leak of 'kv.value'
nbdkit-1.45.12/common/allocators/allocator.c:86:23: branch_true: following 'true' branch...
nbdkit-1.45.12/common/allocators/allocator.c:89:5: branch_true: ...to here
nbdkit-1.45.12/common/allocators/allocator.c:91:8: branch_false: following 'false' branch (when 'len != 0')...
nbdkit-1.45.12/common/allocators/allocator.c:96:9: branch_false: ...to here
nbdkit-1.45.12/common/allocators/allocator.c:97:8: branch_false: following 'false' branch (when 'j != 0')...
nbdkit-1.45.12/common/allocators/allocator.c:102:8: branch_false: ...to here
nbdkit-1.45.12/common/allocators/allocator.c:102:8: branch_false: following 'false' branch (when 'len <= j')...
nbdkit-1.45.12/common/allocators/allocator.c:107:16: branch_false: ...to here
nbdkit-1.45.12/common/allocators/allocator.c:108:18: acquire_memory: allocated here
nbdkit-1.45.12/common/allocators/allocator.c:110:8: branch_false: following 'false' branch (when '<unknown>' is non-NULL)...
nbdkit-1.45.12/common/allocators/allocator.c:110:9: branch_false: ...to here
nbdkit-1.45.12/common/allocators/allocator.c:110:9: branch_false: following 'false' branch (when '<unknown>' is non-NULL)...
nbdkit-1.45.12/common/allocators/allocator.c:118:5: branch_false: ...to here
nbdkit-1.45.12/common/allocators/allocator.c:118:5: danger: 'kv.value' leaks here; was allocated at [(9)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def7]
nbdkit-1.45.12/common/allocators/sparse.c:124:1: warning[-Wanalyzer-malloc-leak]: leak of 'new_entry.l2_dir'
nbdkit-1.45.12/common/allocators/sparse.c:489:1: enter_function: entry to 'sparse_array_blit'
nbdkit-1.45.12/common/allocators/sparse.c:496:3: branch_true: following 'true' branch (when '_r == 0')...
nbdkit-1.45.12/common/allocators/sparse.c:501:3: branch_true: ...to here
nbdkit-1.45.12/common/allocators/sparse.c:501:3: branch_true: following 'true' branch (when 'a2 != a1')...
nbdkit-1.45.12/common/allocators/sparse.c:502:3: branch_true: ...to here
nbdkit-1.45.12/common/allocators/sparse.c:502:3: branch_true: following 'true' branch (when the strings are equal)...
branch_true: ...to here
nbdkit-1.45.12/common/allocators/sparse.c:504:10: branch_true: following 'true' branch (when 'count != 0')...
nbdkit-1.45.12/common/allocators/sparse.c:505:9: branch_true: ...to here
nbdkit-1.45.12/common/allocators/sparse.c:505:9: call_function: calling 'lookup' from 'sparse_array_blit'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
nbdkit-1.45.12/common/allocators/sparse.c:202:9: warning[-Wanalyzer-malloc-leak]: leak of 'new_entry.l2_dir'
nbdkit-1.45.12/common/allocators/sparse.c:489:1: enter_function: entry to 'sparse_array_blit'
nbdkit-1.45.12/common/allocators/sparse.c:496:3: branch_true: following 'true' branch (when '_r == 0')...
nbdkit-1.45.12/common/allocators/sparse.c:501:3: branch_true: ...to here
nbdkit-1.45.12/common/allocators/sparse.c:501:3: branch_true: following 'true' branch (when 'a2 != a1')...
nbdkit-1.45.12/common/allocators/sparse.c:502:3: branch_true: ...to here
nbdkit-1.45.12/common/allocators/sparse.c:502:3: branch_true: following 'true' branch (when the strings are equal)...
branch_true: ...to here
nbdkit-1.45.12/common/allocators/sparse.c:504:10: branch_true: following 'true' branch (when 'count != 0')...
nbdkit-1.45.12/common/allocators/sparse.c:505:9: branch_true: ...to here
nbdkit-1.45.12/common/allocators/sparse.c:505:9: call_function: calling 'lookup' from 'sparse_array_blit'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def9]
nbdkit-1.45.12/common/allocators/sparse.c:220:5: warning[-Wanalyzer-malloc-leak]: leak of 'new_entry.l2_dir'
nbdkit-1.45.12/common/allocators/sparse.c:489:1: enter_function: entry to 'sparse_array_blit'
nbdkit-1.45.12/common/allocators/sparse.c:496:3: branch_true: following 'true' branch (when '_r == 0')...
nbdkit-1.45.12/common/allocators/sparse.c:501:3: branch_true: ...to here
nbdkit-1.45.12/common/allocators/sparse.c:501:3: branch_true: following 'true' branch (when 'a2 != a1')...
nbdkit-1.45.12/common/allocators/sparse.c:502:3: branch_true: ...to here
nbdkit-1.45.12/common/allocators/sparse.c:502:3: branch_true: following 'true' branch (when the strings are equal)...
branch_true: ...to here
nbdkit-1.45.12/common/allocators/sparse.c:504:10: branch_true: following 'true' branch (when 'count != 0')...
nbdkit-1.45.12/common/allocators/sparse.c:505:9: branch_true: ...to here
nbdkit-1.45.12/common/allocators/sparse.c:505:9: call_function: calling 'lookup' from 'sparse_array_blit'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
nbdkit-1.45.12/common/allocators/zstd.c:88:1: warning[-Wanalyzer-malloc-leak]: leak of 'new_entry.l2_dir'
nbdkit-1.45.12/common/allocators/zstd.c:507:1: enter_function: entry to 'zstd_array_blit'
nbdkit-1.45.12/common/allocators/zstd.c:513:3: branch_true: following 'true' branch (when '_r == 0')...
nbdkit-1.45.12/common/allocators/zstd.c:514:22: branch_true: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:518:3: branch_true: following 'true' branch (when 'a2 != a1')...
nbdkit-1.45.12/common/allocators/zstd.c:519:3: branch_true: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:519:3: branch_true: following 'true' branch (when the strings are equal)...
nbdkit-1.45.12/common/allocators/zstd.c:521:10: branch_true: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:522:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:527:10: branch_true: following 'true' branch (when 'count != 0')...
nbdkit-1.45.12/common/allocators/zstd.c:528:9: branch_true: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:528:9: call_function: calling 'lookup_decompress' from 'zstd_array_blit'
nbdkit-1.45.12/common/allocators/zstd.c:528:9: return_function: returning to 'zstd_array_blit' from 'lookup_decompress'
nbdkit-1.45.12/common/allocators/zstd.c:536:8: branch_false: following 'false' branch...
nbdkit-1.45.12/common/allocators/zstd.c:539:9: branch_false: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:539:9: call_function: calling 'compress' from 'zstd_array_blit'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def11]
nbdkit-1.45.12/common/allocators/zstd.c:177:9: warning[-Wanalyzer-malloc-leak]: leak of 'new_entry.l2_dir'
nbdkit-1.45.12/common/allocators/zstd.c:507:1: enter_function: entry to 'zstd_array_blit'
nbdkit-1.45.12/common/allocators/zstd.c:513:3: branch_true: following 'true' branch (when '_r == 0')...
nbdkit-1.45.12/common/allocators/zstd.c:514:22: branch_true: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:518:3: branch_true: following 'true' branch (when 'a2 != a1')...
nbdkit-1.45.12/common/allocators/zstd.c:519:3: branch_true: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:519:3: branch_true: following 'true' branch (when the strings are equal)...
nbdkit-1.45.12/common/allocators/zstd.c:521:10: branch_true: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:522:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:527:10: branch_true: following 'true' branch (when 'count != 0')...
nbdkit-1.45.12/common/allocators/zstd.c:528:9: branch_true: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:528:9: call_function: calling 'lookup_decompress' from 'zstd_array_blit'
nbdkit-1.45.12/common/allocators/zstd.c:528:9: return_function: returning to 'zstd_array_blit' from 'lookup_decompress'
nbdkit-1.45.12/common/allocators/zstd.c:536:8: branch_false: following 'false' branch...
nbdkit-1.45.12/common/allocators/zstd.c:539:9: branch_false: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:539:9: call_function: calling 'compress' from 'zstd_array_blit'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
nbdkit-1.45.12/common/allocators/zstd.c:195:5: warning[-Wanalyzer-malloc-leak]: leak of 'new_entry.l2_dir'
nbdkit-1.45.12/common/allocators/zstd.c:507:1: enter_function: entry to 'zstd_array_blit'
nbdkit-1.45.12/common/allocators/zstd.c:513:3: branch_true: following 'true' branch (when '_r == 0')...
nbdkit-1.45.12/common/allocators/zstd.c:514:22: branch_true: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:518:3: branch_true: following 'true' branch (when 'a2 != a1')...
nbdkit-1.45.12/common/allocators/zstd.c:519:3: branch_true: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:519:3: branch_true: following 'true' branch (when the strings are equal)...
nbdkit-1.45.12/common/allocators/zstd.c:521:10: branch_true: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:522:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:527:10: branch_true: following 'true' branch (when 'count != 0')...
nbdkit-1.45.12/common/allocators/zstd.c:528:9: branch_true: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:528:9: call_function: calling 'lookup_decompress' from 'zstd_array_blit'
nbdkit-1.45.12/common/allocators/zstd.c:528:9: return_function: returning to 'zstd_array_blit' from 'lookup_decompress'
nbdkit-1.45.12/common/allocators/zstd.c:536:8: branch_false: following 'false' branch...
nbdkit-1.45.12/common/allocators/zstd.c:539:9: branch_false: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:539:9: call_function: calling 'compress' from 'zstd_array_blit'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
nbdkit-1.45.12/common/allocators/zstd.c:322:9: warning[-Wanalyzer-malloc-leak]: leak of 'page'
nbdkit-1.45.12/common/allocators/zstd.c:507:1: enter_function: entry to 'zstd_array_blit'
nbdkit-1.45.12/common/allocators/zstd.c:513:3: branch_true: following 'true' branch (when '_r == 0')...
nbdkit-1.45.12/common/allocators/zstd.c:514:22: branch_true: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:518:3: branch_true: following 'true' branch (when 'a2 != a1')...
nbdkit-1.45.12/common/allocators/zstd.c:519:3: branch_true: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:519:3: branch_true: following 'true' branch (when the strings are equal)...
nbdkit-1.45.12/common/allocators/zstd.c:521:10: branch_true: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:522:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:527:10: branch_true: following 'true' branch (when 'count != 0')...
nbdkit-1.45.12/common/allocators/zstd.c:528:9: branch_true: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:528:9: call_function: calling 'lookup_decompress' from 'zstd_array_blit'
nbdkit-1.45.12/common/allocators/zstd.c:528:9: return_function: returning to 'zstd_array_blit' from 'lookup_decompress'
nbdkit-1.45.12/common/allocators/zstd.c:536:8: branch_false: following 'false' branch...
nbdkit-1.45.12/common/allocators/zstd.c:539:9: branch_false: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:539:9: call_function: calling 'compress' from 'zstd_array_blit'
Error: CPPCHECK_WARNING (CWE-401): [#def14]
nbdkit-1.45.12/common/allocators/zstd.c:328: error[memleakOnRealloc]: Common realloc mistake: 'page' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def15]
nbdkit-1.45.12/common/allocators/zstd.c:536:9: warning[-Wanalyzer-malloc-leak]: leak of 'tbuf'
nbdkit-1.45.12/common/allocators/zstd.c:507:1: enter_function: entry to 'zstd_array_blit'
nbdkit-1.45.12/common/allocators/zstd.c:513:3: branch_true: following 'true' branch (when '_r == 0')...
nbdkit-1.45.12/common/allocators/zstd.c:514:22: branch_true: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:518:3: branch_true: following 'true' branch (when 'a2 != a1')...
nbdkit-1.45.12/common/allocators/zstd.c:519:3: branch_true: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:519:3: branch_true: following 'true' branch (when the strings are equal)...
nbdkit-1.45.12/common/allocators/zstd.c:521:10: branch_true: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:521:10: acquire_memory: allocated here
nbdkit-1.45.12/common/allocators/zstd.c:522:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:527:10: branch_true: following 'true' branch (when 'count != 0')...
nbdkit-1.45.12/common/allocators/zstd.c:528:9: branch_true: ...to here
nbdkit-1.45.12/common/allocators/zstd.c:528:9: call_function: calling 'lookup_decompress' from 'zstd_array_blit'
nbdkit-1.45.12/common/allocators/zstd.c:528:9: return_function: returning to 'zstd_array_blit' from 'lookup_decompress'
nbdkit-1.45.12/common/allocators/zstd.c:536:9: danger: 'tbuf' leaks here; was allocated at [(8)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def16]
nbdkit-1.45.12/common/include/tvdiff.h:48:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*start_t.tv_sec'
nbdkit-1.45.12/plugins/vddk/vddk.c:713:1: enter_function: entry to 'vddk_open'
nbdkit-1.45.12/plugins/vddk/vddk.c:715:3: branch_true: following 'true' branch (when '_r == 0')...
nbdkit-1.45.12/plugins/vddk/vddk.c:722:7: branch_true: ...to here
nbdkit-1.45.12/plugins/vddk/vddk.c:723:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/vddk/vddk.c:727:3: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk.c:770:3: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/vddk/vddk.c:772:3: branch_true: ...to here
nbdkit-1.45.12/plugins/vddk/vddk.c:775:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk.c:780:7: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk.c:816:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/vddk/vddk.c:817:5: branch_true: ...to here
nbdkit-1.45.12/plugins/vddk/vddk.c:817:5: call_function: calling 'update_stats' from 'vddk_open'
nbdkit-1.45.12/plugins/vddk/vddk.c:817:5: return_function: returning to 'vddk_open' from 'update_stats'
nbdkit-1.45.12/plugins/vddk/vddk.c:914:3: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk.c:914:3: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk.c:916:3: call_function: calling 'update_stats' from 'vddk_open'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def17]
nbdkit-1.45.12/common/regions/regions.c:97:5: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
nbdkit-1.45.12/common/regions/regions.c:176:1: enter_function: entry to 'append_region_end'
nbdkit-1.45.12/common/regions/regions.c:185:3: acquire_resource: 'va_start' called here
nbdkit-1.45.12/common/regions/regions.c:187:7: call_function: calling 'append_region_va' from 'append_region_end'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def18]
nbdkit-1.45.12/common/regions/regions.h:76:1: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
nbdkit-1.45.12/common/regions/regions.c:176:1: enter_function: entry to 'append_region_end'
nbdkit-1.45.12/common/regions/regions.c:185:3: acquire_resource: 'va_start' called here
nbdkit-1.45.12/common/regions/regions.c:187:7: call_function: calling 'append_region_va' from 'append_region_end'
Error: CPPCHECK_WARNING (CWE-476): [#def19]
nbdkit-1.45.12/common/utils/const-string-vector.h:40: error[ctunullpointer]: Null pointer dereference: key
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
nbdkit-1.45.12/common/utils/environ.c:66:7: warning[-Wanalyzer-malloc-leak]: leak of 's'
nbdkit-1.45.12/common/utils/environ.c:50:1: enter_function: entry to 'copy_environ'
nbdkit-1.45.12/common/utils/environ.c:59:15: branch_true: following 'true' branch...
nbdkit-1.45.12/common/utils/environ.c:60:9: branch_true: ...to here
nbdkit-1.45.12/common/utils/environ.c:60:9: acquire_memory: allocated here
nbdkit-1.45.12/common/utils/environ.c:61:8: branch_false: following 'false' branch...
nbdkit-1.45.12/common/utils/environ.c:65:9: branch_false: ...to here
nbdkit-1.45.12/common/utils/environ.c:65:9: call_function: calling 'string_vector_append' from 'copy_environ'
nbdkit-1.45.12/common/utils/environ.c:65:9: return_function: returning to 'copy_environ' from 'string_vector_append'
nbdkit-1.45.12/common/utils/environ.c:65:8: branch_true: following 'true' branch...
nbdkit-1.45.12/common/utils/environ.c:66:7: branch_true: ...to here
nbdkit-1.45.12/common/utils/environ.c:66:7: danger: 's' leaks here; was allocated at [(4)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def21]
nbdkit-1.45.12/common/utils/environ.c:76:7: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
nbdkit-1.45.12/common/utils/environ.c:59:15: branch_false: following 'false' branch...
nbdkit-1.45.12/common/utils/environ.c:72:3: branch_false: ...to here
nbdkit-1.45.12/common/utils/environ.c:72:3: acquire_resource: 'va_start' called here
nbdkit-1.45.12/common/utils/environ.c:73:10: branch_true: following 'true' branch (when 'key' is non-NULL)...
nbdkit-1.45.12/common/utils/environ.c:74:5: branch_true: ...to here
nbdkit-1.45.12/common/utils/environ.c:75:8: branch_true: following 'true' branch...
nbdkit-1.45.12/common/utils/environ.c:76:7: branch_true: ...to here
nbdkit-1.45.12/common/utils/environ.c:76:7: danger: missing call to 'va_end' to match 'va_start' at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def22]
nbdkit-1.45.12/common/utils/environ.c:94:7: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
nbdkit-1.45.12/common/utils/environ.c:50:1: enter_function: entry to 'copy_environ'
nbdkit-1.45.12/common/utils/environ.c:59:15: branch_false: following 'false' branch...
nbdkit-1.45.12/common/utils/environ.c:72:3: branch_false: ...to here
nbdkit-1.45.12/common/utils/environ.c:72:3: acquire_resource: 'va_start' called here
nbdkit-1.45.12/common/utils/environ.c:73:10: branch_true: following 'true' branch (when 'key' is non-NULL)...
nbdkit-1.45.12/common/utils/environ.c:74:5: branch_true: ...to here
nbdkit-1.45.12/common/utils/environ.c:75:8: branch_false: following 'false' branch...
nbdkit-1.45.12/common/utils/environ.c:82:11: branch_false: ...to here
nbdkit-1.45.12/common/utils/environ.c:83:17: branch_false: following 'false' branch...
nbdkit-1.45.12/common/utils/environ.c:93:9: branch_false: ...to here
nbdkit-1.45.12/common/utils/environ.c:93:9: call_function: calling 'string_vector_append' from 'copy_environ'
nbdkit-1.45.12/common/utils/environ.c:93:9: return_function: returning to 'copy_environ' from 'string_vector_append'
nbdkit-1.45.12/common/utils/environ.c:93:8: branch_true: following 'true' branch...
nbdkit-1.45.12/common/utils/environ.c:94:7: branch_true: ...to here
nbdkit-1.45.12/common/utils/environ.c:94:7: danger: missing call to 'va_end' to match 'va_start' at [(4)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/3)
Error: CPPCHECK_WARNING (CWE-476): [#def23]
nbdkit-1.45.12/common/utils/nbdkit-string.h:40: error[ctunullpointer]: Null pointer dereference: key
Error: GCC_ANALYZER_WARNING (CWE-775): [#def24]
nbdkit-1.45.12/common/utils/nbdkit-string.h:40:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(&cmdline_file, 524288)'
nbdkit-1.45.12/plugins/vddk/reexec.c:63:1: enter_function: entry to 'perform_reexec'
nbdkit-1.45.12/plugins/vddk/reexec.c:82:8: acquire_resource: opened here
nbdkit-1.45.12/plugins/vddk/reexec.c:83:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/reexec.c:92:9: call_function: inlined call to 'string_reserve' from 'perform_reexec'
Error: CPPCHECK_WARNING (CWE-476): [#def25]
nbdkit-1.45.12/common/utils/string-vector.h:40: error[ctunullpointer]: Null pointer dereference: key
Error: GCC_ANALYZER_WARNING (CWE-401): [#def26]
nbdkit-1.45.12/common/utils/string-vector.h:40:1: warning[-Wanalyzer-malloc-leak]: leak of 's'
nbdkit-1.45.12/common/utils/environ.c:50:1: enter_function: entry to 'copy_environ'
nbdkit-1.45.12/common/utils/environ.c:59:15: branch_true: following 'true' branch...
nbdkit-1.45.12/common/utils/environ.c:60:9: branch_true: ...to here
nbdkit-1.45.12/common/utils/environ.c:60:9: acquire_memory: allocated here
nbdkit-1.45.12/common/utils/environ.c:61:8: branch_false: following 'false' branch...
nbdkit-1.45.12/common/utils/environ.c:65:9: branch_false: ...to here
nbdkit-1.45.12/common/utils/environ.c:65:9: call_function: calling 'string_vector_append' from 'copy_environ'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
nbdkit-1.45.12/common/utils/string-vector.h:40:1: warning[-Wanalyzer-malloc-leak]: leak of ‘copy’
nbdkit-1.45.12/server/public.c:1156:1: enter_function: entry to ‘nbdkit_strdup_intern’
nbdkit-1.45.12/server/public.c:1160:6: branch_false: following ‘false’ branch (when ‘str’ is non-NULL)...
nbdkit-1.45.12/server/public.c:1166:10: branch_false: ...to here
nbdkit-1.45.12/server/public.c:1166:10: acquire_memory: allocated here
nbdkit-1.45.12/server/public.c:1167:6: branch_false: following ‘false’ branch (when ‘copy’ is non-NULL)...
nbdkit-1.45.12/server/public.c:1172:10: branch_false: ...to here
nbdkit-1.45.12/server/public.c:1172:10: call_function: calling ‘add_intern’ from ‘nbdkit_strdup_intern’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def28]
nbdkit-1.45.12/common/utils/string-vector.h:40:1: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
nbdkit-1.45.12/common/utils/environ.c:50:1: enter_function: entry to 'copy_environ'
nbdkit-1.45.12/common/utils/environ.c:59:15: branch_false: following 'false' branch...
nbdkit-1.45.12/common/utils/environ.c:72:3: branch_false: ...to here
nbdkit-1.45.12/common/utils/environ.c:72:3: acquire_resource: 'va_start' called here
nbdkit-1.45.12/common/utils/environ.c:73:10: branch_true: following 'true' branch (when 'key' is non-NULL)...
nbdkit-1.45.12/common/utils/environ.c:74:5: branch_true: ...to here
nbdkit-1.45.12/common/utils/environ.c:75:8: branch_false: following 'false' branch...
nbdkit-1.45.12/common/utils/environ.c:82:11: branch_false: ...to here
nbdkit-1.45.12/common/utils/environ.c:83:17: branch_false: following 'false' branch...
nbdkit-1.45.12/common/utils/environ.c:93:9: branch_false: ...to here
nbdkit-1.45.12/common/utils/environ.c:93:9: call_function: calling 'string_vector_append' from 'copy_environ'
Error: CPPCHECK_WARNING (CWE-457): [#def29]
nbdkit-1.45.12/common/utils/vector.c:72: error[uninitvar]: Uninitialized variable: newbytes
Error: CPPCHECK_WARNING (CWE-457): [#def30]
nbdkit-1.45.12/common/utils/vector.c:72: error[uninitvar]: Uninitialized variable: reqbytes
Error: CPPCHECK_WARNING (CWE-457): [#def31]
nbdkit-1.45.12/common/utils/vector.c:76: error[uninitvar]: Uninitialized variable: reqcap
Error: CPPCHECK_WARNING (CWE-457): [#def32]
nbdkit-1.45.12/common/utils/vector.c:80: warning[uninitvar]: Uninitialized variable: newcap
Error: CPPCHECK_WARNING (CWE-476): [#def33]
nbdkit-1.45.12/contrib/sparseloadtest.c:364: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-476): [#def34]
nbdkit-1.45.12/contrib/sparseloadtest.c:364:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘data’
nbdkit-1.45.12/contrib/sparseloadtest.c:339:10: branch_true: following ‘true’ branch...
branch_true: ...to here
nbdkit-1.45.12/contrib/sparseloadtest.c:363:12: acquire_memory: this call could return NULL
nbdkit-1.45.12/contrib/sparseloadtest.c:364:5: danger: ‘data’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def35]
nbdkit-1.45.12/contrib/sparseloadtest.c:368:11: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
nbdkit-1.45.12/contrib/sparseloadtest.c:339:10: branch_true: following ‘true’ branch...
branch_true: ...to here
nbdkit-1.45.12/contrib/sparseloadtest.c:363:12: acquire_memory: allocated here
nbdkit-1.45.12/contrib/sparseloadtest.c:366:8: branch_true: following ‘true’ branch...
nbdkit-1.45.12/contrib/sparseloadtest.c:367:21: branch_true: ...to here
nbdkit-1.45.12/contrib/sparseloadtest.c:368:11: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
nbdkit-1.45.12/contrib/sparseloadtest.c:377:13: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
nbdkit-1.45.12/contrib/sparseloadtest.c:339:10: branch_true: following ‘true’ branch...
branch_true: ...to here
nbdkit-1.45.12/contrib/sparseloadtest.c:363:12: acquire_memory: allocated here
nbdkit-1.45.12/contrib/sparseloadtest.c:366:8: branch_false: following ‘false’ branch...
nbdkit-1.45.12/contrib/sparseloadtest.c:375:11: branch_false: ...to here
nbdkit-1.45.12/contrib/sparseloadtest.c:375:10: branch_true: following ‘true’ branch...
nbdkit-1.45.12/contrib/sparseloadtest.c:376:23: branch_true: ...to here
nbdkit-1.45.12/contrib/sparseloadtest.c:377:13: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
nbdkit-1.45.12/contrib/sparseloadtest.c:385:13: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
nbdkit-1.45.12/contrib/sparseloadtest.c:339:10: branch_true: following ‘true’ branch...
branch_true: ...to here
nbdkit-1.45.12/contrib/sparseloadtest.c:363:12: acquire_memory: allocated here
nbdkit-1.45.12/contrib/sparseloadtest.c:366:8: branch_false: following ‘false’ branch...
nbdkit-1.45.12/contrib/sparseloadtest.c:375:11: branch_false: ...to here
nbdkit-1.45.12/contrib/sparseloadtest.c:375:10: branch_false: following ‘false’ branch...
nbdkit-1.45.12/contrib/sparseloadtest.c:384:23: branch_false: ...to here
nbdkit-1.45.12/contrib/sparseloadtest.c:385:13: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-401): [#def38]
nbdkit-1.45.12/filters/bzip2/bzip2.c:198: error[memleak]: Memory leak: in_block
Error: GCC_ANALYZER_WARNING (CWE-401): [#def39]
nbdkit-1.45.12/filters/bzip2/bzip2.c:209:11: warning[-Wanalyzer-malloc-leak]: leak of 'in_block'
nbdkit-1.45.12/filters/bzip2/bzip2.c:140:3: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/bzip2/bzip2.c:143:21: branch_true: ...to here
nbdkit-1.45.12/filters/bzip2/bzip2.c:144:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/bzip2/bzip2.c:148:12: branch_false: ...to here
nbdkit-1.45.12/filters/bzip2/bzip2.c:172:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/bzip2/bzip2.c:177:3: branch_false: ...to here
nbdkit-1.45.12/filters/bzip2/bzip2.c:185:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/bzip2/bzip2.c:190:14: branch_false: ...to here
nbdkit-1.45.12/filters/bzip2/bzip2.c:190:14: acquire_memory: allocated here
nbdkit-1.45.12/filters/bzip2/bzip2.c:191:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/bzip2/bzip2.c:195:15: branch_false: ...to here
nbdkit-1.45.12/filters/bzip2/bzip2.c:196:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/filters/bzip2/bzip2.c:205:8: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/bzip2/bzip2.c:209:11: danger: 'in_block' leaks here; was allocated at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
nbdkit-1.45.12/filters/bzip2/bzip2.c:209:11: warning[-Wanalyzer-malloc-leak]: leak of 'out_block'
nbdkit-1.45.12/filters/bzip2/bzip2.c:140:3: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/bzip2/bzip2.c:143:21: branch_true: ...to here
nbdkit-1.45.12/filters/bzip2/bzip2.c:144:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/bzip2/bzip2.c:148:12: branch_false: ...to here
nbdkit-1.45.12/filters/bzip2/bzip2.c:172:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/bzip2/bzip2.c:177:3: branch_false: ...to here
nbdkit-1.45.12/filters/bzip2/bzip2.c:185:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/bzip2/bzip2.c:190:14: branch_false: ...to here
nbdkit-1.45.12/filters/bzip2/bzip2.c:191:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/bzip2/bzip2.c:195:15: branch_false: ...to here
nbdkit-1.45.12/filters/bzip2/bzip2.c:195:15: acquire_memory: allocated here
nbdkit-1.45.12/filters/bzip2/bzip2.c:196:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/filters/bzip2/bzip2.c:205:8: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/bzip2/bzip2.c:209:11: danger: 'out_block' leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def41]
nbdkit-1.45.12/filters/cache/cache.c:457:8: warning[-Wanalyzer-malloc-leak]: leak of 'block'
nbdkit-1.45.12/filters/cache/cache.c:437:1: enter_function: entry to 'cache_pwrite'
nbdkit-1.45.12/filters/cache/cache.c:446:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/cache/cache.c:447:13: branch_true: ...to here
nbdkit-1.45.12/filters/cache/cache.c:447:13: acquire_memory: allocated here
nbdkit-1.45.12/filters/cache/cache.c:448:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/cache/cache.c:455:7: branch_false: ...to here
nbdkit-1.45.12/filters/cache/cache.c:455:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/cache/cache.c:456:8: branch_true: ...to here
nbdkit-1.45.12/filters/cache/cache.c:455:7: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/cache/cache.c:457:8: branch_false: ...to here
nbdkit-1.45.12/filters/cache/cache.c:457:8: danger: 'block' leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def42]
nbdkit-1.45.12/filters/cache/cache.c:548:8: warning[-Wanalyzer-malloc-leak]: leak of 'block'
nbdkit-1.45.12/filters/cache/cache.c:533:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/cache/cache.c:538:11: branch_false: ...to here
nbdkit-1.45.12/filters/cache/cache.c:538:11: acquire_memory: allocated here
nbdkit-1.45.12/filters/cache/cache.c:539:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/cache/cache.c:545:3: branch_false: ...to here
nbdkit-1.45.12/filters/cache/cache.c:546:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/cache/cache.c:547:8: branch_true: ...to here
nbdkit-1.45.12/filters/cache/cache.c:546:7: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/cache/cache.c:548:8: branch_false: ...to here
nbdkit-1.45.12/filters/cache/cache.c:548:8: danger: 'block' leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def43]
nbdkit-1.45.12/filters/cache/cache.c:623:25: warning[-Wanalyzer-malloc-leak]: leak of 'block'
nbdkit-1.45.12/filters/cache/cache.c:628:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/cache/cache.c:631:3: branch_false: ...to here
nbdkit-1.45.12/filters/cache/cache.c:631:3: branch_true: following 'true' branch (when 'flags == 0')...
nbdkit-1.45.12/filters/cache/cache.c:634:11: branch_true: ...to here
nbdkit-1.45.12/filters/cache/cache.c:634:11: acquire_memory: allocated here
nbdkit-1.45.12/filters/cache/cache.c:635:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/cache/cache.c:640:3: branch_false: ...to here
nbdkit-1.45.12/filters/cache/cache.c:648:5: branch_true: following 'true' branch (when '_r == 0')...
nbdkit-1.45.12/filters/cache/cache.c:649:5: branch_true: ...to here
nbdkit-1.45.12/filters/cache/cache.c:623:25: danger: 'block' leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
nbdkit-1.45.12/filters/cache/cache.c:693:25: warning[-Wanalyzer-malloc-leak]: leak of 'block'
nbdkit-1.45.12/filters/cache/cache.c:689:1: enter_function: entry to 'cache_cache'
nbdkit-1.45.12/filters/cache/cache.c:698:3: branch_true: following 'true' branch (when 'flags == 0')...
nbdkit-1.45.12/filters/cache/cache.c:699:11: branch_true: ...to here
nbdkit-1.45.12/filters/cache/cache.c:699:11: acquire_memory: allocated here
nbdkit-1.45.12/filters/cache/cache.c:700:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/cache/cache.c:706:3: branch_false: ...to here
nbdkit-1.45.12/filters/cache/cache.c:717:10: branch_false: following 'false' branch (when 'remaining == 0')...
nbdkit-1.45.12/filters/cache/cache.c:693:25: branch_false: ...to here
nbdkit-1.45.12/filters/cache/cache.c:693:25: danger: 'block' leaks here; was allocated at [(4)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def45]
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:136:7: warning[-Wanalyzer-malloc-leak]: leak of 'expected'
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:128:14: acquire_memory: allocated here
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:129:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:136:7: branch_false: ...to here
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:136:7: danger: 'expected' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-401): [#def46]
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:137: error[memleak]: Memory leak: expected
Error: CPPCHECK_WARNING (CWE-401): [#def47]
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:141: error[memleak]: Memory leak: expected
Error: CPPCHECK_WARNING (CWE-401): [#def48]
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:143: error[memleak]: Memory leak: expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def49]
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:206:13: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:169:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:172:7: branch_true: ...to here
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:173:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:176:9: branch_false: ...to here
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:177:17: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:178:38: branch_true: ...to here
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:182:10: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:191:11: branch_false: ...to here
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:191:10: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:195:14: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:196:25: branch_true: ...to here
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:199:34: acquire_memory: allocated here
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:200:12: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:206:13: branch_false: ...to here
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:206:13: danger: 'buf' leaks here; was allocated at [(13)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def50]
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:228:24: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:169:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:230:9: branch_false: ...to here
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:230:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:234:19: branch_false: ...to here
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:234:11: acquire_memory: allocated here
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:235:8: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:241:12: branch_false: following 'false' branch (when 'count == 0')...
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:228:24: branch_false: ...to here
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:228:24: danger: 'buf' leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def51]
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:244:11: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:169:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:230:9: branch_false: ...to here
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:230:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:234:19: branch_false: ...to here
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:234:11: acquire_memory: allocated here
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:235:8: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:241:12: branch_true: following 'true' branch (when 'count != 0')...
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:242:20: branch_true: ...to here
nbdkit-1.45.12/filters/checkwrite/checkwrite.c:244:11: danger: 'buf' leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def52]
nbdkit-1.45.12/filters/cow/blk.c:188:13: warning[-Wanalyzer-malloc-leak]: leak of 'filename'
nbdkit-1.45.12/filters/cow/blk.c:165:1: enter_function: entry to 'blk_create'
nbdkit-1.45.12/filters/cow/blk.c:171:6: branch_false: following 'false' branch (when 'blk' is non-NULL)...
nbdkit-1.45.12/filters/cow/blk.c:176:3: branch_false: ...to here
nbdkit-1.45.12/filters/cow/blk.c:178:3: call_function: calling 'bitmap_init' from 'blk_create'
nbdkit-1.45.12/filters/cow/blk.c:178:3: return_function: returning to 'blk_create' from 'bitmap_init'
nbdkit-1.45.12/filters/cow/blk.c:180:14: acquire_memory: allocated here
nbdkit-1.45.12/filters/cow/blk.c:181:6: branch_false: following 'false' branch (when 'filename' is non-NULL)...
nbdkit-1.45.12/filters/cow/blk.c:188:13: branch_false: ...to here
nbdkit-1.45.12/filters/cow/blk.c:188:13: danger: 'filename' leaks here; was allocated at [(12)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def53]
nbdkit-1.45.12/filters/cow/cow.c:191:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/cow/cow.c:181:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/cow/cow.c:182:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/cow/cow.c:191:5: branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:191:5: branch_true: following 'true' branch (when '_r == 0')...
branch_true: ...to here
nbdkit-1.45.12/filters/cow/cow.c:192:17: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/cow/cow.c:193:19: branch_true: ...to here
nbdkit-1.45.12/filters/cow/cow.c:200:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/cow/cow.c:191:5: branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:191:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def54]
nbdkit-1.45.12/filters/cow/cow.c:209:32: warning[-Wanalyzer-malloc-leak]: leak of 'strdup(exportname)'
nbdkit-1.45.12/filters/cow/cow.c:182:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/cow/cow.c:191:5: branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:191:5: branch_true: following 'true' branch (when '_r == 0')...
branch_true: ...to here
nbdkit-1.45.12/filters/cow/cow.c:200:8: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/cow/cow.c:203:30: branch_true: ...to here
nbdkit-1.45.12/filters/cow/cow.c:203:30: acquire_memory: allocated here
nbdkit-1.45.12/filters/cow/cow.c:204:10: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/cow/cow.c:209:32: branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:209:32: danger: 'strdup(exportname)' leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def55]
nbdkit-1.45.12/filters/cow/cow.c:227:6: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/cow/cow.c:181:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/cow/cow.c:182:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/cow/cow.c:191:5: branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:191:5: branch_true: following 'true' branch (when '_r == 0')...
branch_true: ...to here
nbdkit-1.45.12/filters/cow/cow.c:192:17: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/cow/cow.c:193:19: branch_true: ...to here
nbdkit-1.45.12/filters/cow/cow.c:200:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/cow/cow.c:191:5: branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:227:6: branch_true: following 'true' branch...
branch_true: ...to here
nbdkit-1.45.12/filters/cow/cow.c:227:6: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def56]
nbdkit-1.45.12/filters/cow/cow.c:227:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/cow/cow.c:181:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/cow/cow.c:182:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/cow/cow.c:191:5: branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:191:5: branch_true: following 'true' branch (when '_r == 0')...
branch_true: ...to here
nbdkit-1.45.12/filters/cow/cow.c:192:17: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/cow/cow.c:193:19: branch_true: ...to here
nbdkit-1.45.12/filters/cow/cow.c:200:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/cow/cow.c:191:5: branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:227:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def57]
nbdkit-1.45.12/filters/cow/cow.c:370:25: warning[-Wanalyzer-malloc-leak]: leak of 'block'
nbdkit-1.45.12/filters/cow/cow.c:365:1: enter_function: entry to 'cow_pread'
nbdkit-1.45.12/filters/cow/cow.c:374:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/cow/cow.c:375:13: branch_true: ...to here
nbdkit-1.45.12/filters/cow/cow.c:375:13: acquire_memory: allocated here
nbdkit-1.45.12/filters/cow/cow.c:376:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/cow/cow.c:383:3: branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:387:6: branch_false: following 'false' branch (when 'blkoffs == 0')...
nbdkit-1.45.12/filters/cow/cow.c:404:14: branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:418:6: branch_false: following 'false' branch (when 'count == 0')...
branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:370:25: danger: 'block' leaks here; was allocated at [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def58]
nbdkit-1.45.12/filters/cow/cow.c:437:25: warning[-Wanalyzer-malloc-leak]: leak of 'block'
nbdkit-1.45.12/filters/cow/cow.c:432:1: enter_function: entry to 'cow_pwrite'
nbdkit-1.45.12/filters/cow/cow.c:441:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/cow/cow.c:442:13: branch_true: ...to here
nbdkit-1.45.12/filters/cow/cow.c:442:13: acquire_memory: allocated here
nbdkit-1.45.12/filters/cow/cow.c:443:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/cow/cow.c:450:3: branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:454:6: branch_false: following 'false' branch (when 'blkoffs == 0')...
branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:489:6: branch_false: following 'false' branch (when 'count == 0')...
branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:437:25: danger: 'block' leaks here; was allocated at [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def59]
nbdkit-1.45.12/filters/cow/cow.c:513:25: warning[-Wanalyzer-malloc-leak]: leak of 'block'
nbdkit-1.45.12/filters/cow/cow.c:520:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/cow/cow.c:525:11: branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:525:11: acquire_memory: allocated here
nbdkit-1.45.12/filters/cow/cow.c:526:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/cow/cow.c:532:3: branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:536:6: branch_false: following 'false' branch (when 'blkoffs == 0')...
nbdkit-1.45.12/filters/cow/cow.c:557:7: branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:573:6: branch_false: following 'false' branch (when 'count == 0')...
branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:513:25: danger: 'block' leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def60]
nbdkit-1.45.12/filters/cow/cow.c:596:25: warning[-Wanalyzer-malloc-leak]: leak of 'block'
nbdkit-1.45.12/filters/cow/cow.c:591:1: enter_function: entry to 'cow_trim'
nbdkit-1.45.12/filters/cow/cow.c:600:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/cow/cow.c:601:13: branch_true: ...to here
nbdkit-1.45.12/filters/cow/cow.c:601:13: acquire_memory: allocated here
nbdkit-1.45.12/filters/cow/cow.c:602:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/cow/cow.c:609:3: branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:613:6: branch_false: following 'false' branch (when 'blkoffs == 0')...
branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:645:6: branch_false: following 'false' branch (when 'count == 0')...
branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:596:25: danger: 'block' leaks here; was allocated at [(7)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def61]
nbdkit-1.45.12/filters/cow/cow.c:620:9: warning[-Wanalyzer-null-argument]: use of NULL 'block' where non-null expected
nbdkit-1.45.12/filters/cow/cow.c:591:1: enter_function: entry to 'cow_trim'
nbdkit-1.45.12/filters/cow/cow.c:596:25: release_memory: 'block' is NULL
nbdkit-1.45.12/filters/cow/cow.c:600:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/cow/cow.c:609:3: branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:613:6: branch_true: following 'true' branch (when 'blkoffs != 0')...
nbdkit-1.45.12/filters/cow/cow.c:614:18: branch_true: ...to here
nbdkit-1.45.12/filters/cow/cow.c:619:5: branch_true: following 'true' branch (when '_r == 0')...
nbdkit-1.45.12/filters/cow/cow.c:620:9: branch_true: ...to here
nbdkit-1.45.12/filters/cow/cow.c:620:9: release_memory: 'block' is NULL
nbdkit-1.45.12/filters/cow/cow.c:620:9: danger: argument 4 ('block') NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def62]
nbdkit-1.45.12/filters/cow/cow.c:647:9: warning[-Wanalyzer-null-argument]: use of NULL 'block' where non-null expected
nbdkit-1.45.12/filters/cow/cow.c:591:1: enter_function: entry to 'cow_trim'
nbdkit-1.45.12/filters/cow/cow.c:596:25: release_memory: 'block' is NULL
nbdkit-1.45.12/filters/cow/cow.c:600:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/cow/cow.c:609:3: branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:613:6: branch_false: following 'false' branch (when 'blkoffs == 0')...
branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:645:6: branch_true: following 'true' branch (when 'count != 0')...
nbdkit-1.45.12/filters/cow/cow.c:646:5: branch_true: ...to here
nbdkit-1.45.12/filters/cow/cow.c:646:5: branch_true: following 'true' branch (when '_r == 0')...
nbdkit-1.45.12/filters/cow/cow.c:647:9: branch_true: ...to here
nbdkit-1.45.12/filters/cow/cow.c:647:9: release_memory: 'block' is NULL
nbdkit-1.45.12/filters/cow/cow.c:647:9: danger: argument 4 ('block') NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def63]
nbdkit-1.45.12/filters/cow/cow.c:675:25: warning[-Wanalyzer-malloc-leak]: leak of 'block'
nbdkit-1.45.12/filters/cow/cow.c:670:1: enter_function: entry to 'cow_cache'
branch_true: following 'true' branch...
nbdkit-1.45.12/filters/cow/cow.c:694:7: branch_true: ...to here
nbdkit-1.45.12/filters/cow/cow.c:697:3: branch_true: following 'true' branch (when 'flags == 0')...
nbdkit-1.45.12/filters/cow/cow.c:698:11: branch_true: ...to here
nbdkit-1.45.12/filters/cow/cow.c:698:11: acquire_memory: allocated here
nbdkit-1.45.12/filters/cow/cow.c:699:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/cow/cow.c:705:3: branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:716:10: branch_false: following 'false' branch (when 'remaining == 0')...
nbdkit-1.45.12/filters/cow/cow.c:675:25: branch_false: ...to here
nbdkit-1.45.12/filters/cow/cow.c:675:25: danger: 'block' leaks here; was allocated at [(6)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def64]
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:84:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'event.u.fd'
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:358:1: enter_function: entry to 'exitwhen_config'
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:365:11: branch_false: following 'false' branch (when the strings are non-equal)...
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:366:7: branch_false: ...to here
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:365:12: branch_false: following 'false' branch (when the strings are non-equal)...
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:383:12: branch_false: ...to here
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:383:11: branch_false: following 'false' branch (when the strings are non-equal)...
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:384:12: branch_false: ...to here
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:383:12: branch_false: following 'false' branch (when the strings are non-equal)...
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:392:12: branch_false: ...to here
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:400:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:404:9: branch_false: ...to here
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:404:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:408:18: branch_false: ...to here
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:408:18: acquire_resource: opened here
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:409:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:416:5: branch_false: ...to here
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:377:9: call_function: calling 'event_list_append' from 'exitwhen_config'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def65]
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:396:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'event.u.fd'
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:365:11: branch_false: following 'false' branch (when the strings are non-equal)...
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:366:7: branch_false: ...to here
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:365:12: branch_false: following 'false' branch (when the strings are non-equal)...
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:383:12: branch_false: ...to here
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:383:11: branch_false: following 'false' branch (when the strings are non-equal)...
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:384:12: branch_false: ...to here
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:383:12: branch_false: following 'false' branch (when the strings are non-equal)...
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:392:12: branch_false: ...to here
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:400:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:404:9: branch_false: ...to here
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:404:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:408:18: branch_false: ...to here
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:408:18: acquire_resource: opened here
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:409:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:416:5: branch_false: ...to here
nbdkit-1.45.12/filters/exitwhen/exitwhen.c:396:24: danger: 'event.u.fd' leaks here; was opened at [(13)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def66]
nbdkit-1.45.12/filters/exportname/exportname.c:200:5: warning[-Wanalyzer-malloc-leak]: leak of 'popen(cmd, "r")'
nbdkit-1.45.12/filters/exportname/exportname.c:179:6: branch_false: following 'false' branch (when 'fp' is non-NULL)...
nbdkit-1.45.12/filters/exportname/exportname.c:183:3: branch_false: ...to here
nbdkit-1.45.12/filters/exportname/exportname.c:186:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/exportname/exportname.c:190:3: branch_false: ...to here
nbdkit-1.45.12/filters/exportname/exportname.c:191:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/exportname/exportname.c:192:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/exportname/exportname.c:198:7: branch_false: ...to here
nbdkit-1.45.12/filters/exportname/exportname.c:199:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/exportname/exportname.c:200:5: danger: 'popen(cmd, "r")' leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def67]
nbdkit-1.45.12/filters/exportname/exportname.c:201:5: warning[-Wanalyzer-malloc-leak]: leak of 'popen(cmd, "r")'
nbdkit-1.45.12/filters/exportname/exportname.c:179:6: branch_false: following 'false' branch (when 'fp' is non-NULL)...
nbdkit-1.45.12/filters/exportname/exportname.c:183:3: branch_false: ...to here
nbdkit-1.45.12/filters/exportname/exportname.c:186:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/exportname/exportname.c:190:3: branch_false: ...to here
nbdkit-1.45.12/filters/exportname/exportname.c:191:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/exportname/exportname.c:192:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/exportname/exportname.c:198:7: branch_false: ...to here
nbdkit-1.45.12/filters/exportname/exportname.c:199:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/exportname/exportname.c:201:5: danger: 'popen(cmd, "r")' leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def68]
nbdkit-1.45.12/filters/exportname/exportname.c:204:3: warning[-Wanalyzer-malloc-leak]: leak of 'popen(cmd, "r")'
nbdkit-1.45.12/filters/exportname/exportname.c:179:6: branch_false: following 'false' branch (when 'fp' is non-NULL)...
nbdkit-1.45.12/filters/exportname/exportname.c:183:3: branch_false: ...to here
nbdkit-1.45.12/filters/exportname/exportname.c:186:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/exportname/exportname.c:190:3: branch_false: ...to here
nbdkit-1.45.12/filters/exportname/exportname.c:191:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/exportname/exportname.c:192:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/exportname/exportname.c:198:7: branch_false: ...to here
nbdkit-1.45.12/filters/exportname/exportname.c:204:3: danger: 'popen(cmd, "r")' leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def69]
nbdkit-1.45.12/filters/exportname/exportname.c:302:13: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/exportname/exportname.c:296:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/exportname/exportname.c:297:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/exportname/exportname.c:302:13: branch_false: ...to here
nbdkit-1.45.12/filters/exportname/exportname.c:302:13: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def70]
nbdkit-1.45.12/filters/exportname/exportname.c:307:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/exportname/exportname.c:296:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/exportname/exportname.c:297:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/exportname/exportname.c:302:13: branch_false: ...to here
nbdkit-1.45.12/filters/exportname/exportname.c:303:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/exportname/exportname.c:307:7: branch_false: ...to here
nbdkit-1.45.12/filters/exportname/exportname.c:307:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def71]
nbdkit-1.45.12/filters/ext2/ext2.c:250:19: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/ext2/ext2.c:243:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/ext2/ext2.c:244:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/ext2/ext2.c:250:19: branch_false: ...to here
nbdkit-1.45.12/filters/ext2/ext2.c:250:19: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def72]
nbdkit-1.45.12/filters/ext2/io.c:213:29: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
nbdkit-1.45.12/filters/ext2/io.c:172:1: enter_function: entry to 'io_open'
nbdkit-1.45.12/filters/ext2/io.c:180:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/ext2/io.c:183:12: call_function: inlined call to 'ext2fs_get_mem' from 'io_open'
nbdkit-1.45.12/filters/ext2/io.c:186:3: branch_false: ...to here
nbdkit-1.45.12/filters/ext2/io.c:188:12: call_function: inlined call to 'ext2fs_get_mem' from 'io_open'
nbdkit-1.45.12/filters/ext2/io.c:192:3: branch_false: ...to here
nbdkit-1.45.12/filters/ext2/io.c:193:12: call_function: inlined call to 'ext2fs_get_mem' from 'io_open'
nbdkit-1.45.12/filters/ext2/io.c:213:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/ext2/io.c:213:29: branch_true: ...to here
nbdkit-1.45.12/filters/ext2/io.c:213:29: danger: '<unknown>' leaks here; was allocated at [(11)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def73]
nbdkit-1.45.12/filters/ext2/io.c:213:29: warning[-Wanalyzer-malloc-leak]: leak of 'malloc(192)'
nbdkit-1.45.12/filters/ext2/io.c:172:1: enter_function: entry to 'io_open'
nbdkit-1.45.12/filters/ext2/io.c:180:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/ext2/io.c:183:12: call_function: inlined call to 'ext2fs_get_mem' from 'io_open'
nbdkit-1.45.12/filters/ext2/io.c:186:3: branch_false: ...to here
nbdkit-1.45.12/filters/ext2/io.c:188:12: call_function: inlined call to 'ext2fs_get_mem' from 'io_open'
nbdkit-1.45.12/filters/ext2/io.c:192:3: branch_false: ...to here
nbdkit-1.45.12/filters/ext2/io.c:193:12: call_function: inlined call to 'ext2fs_get_mem' from 'io_open'
nbdkit-1.45.12/filters/ext2/io.c:213:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/ext2/io.c:213:29: branch_true: ...to here
nbdkit-1.45.12/filters/ext2/io.c:213:29: danger: 'malloc(192)' leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def74]
nbdkit-1.45.12/filters/ext2/io.c:213:29: warning[-Wanalyzer-malloc-leak]: leak of 'malloc(64)'
nbdkit-1.45.12/filters/ext2/io.c:172:1: enter_function: entry to 'io_open'
nbdkit-1.45.12/filters/ext2/io.c:180:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/ext2/io.c:183:12: call_function: inlined call to 'ext2fs_get_mem' from 'io_open'
nbdkit-1.45.12/filters/ext2/io.c:186:3: branch_false: ...to here
nbdkit-1.45.12/filters/ext2/io.c:188:12: call_function: inlined call to 'ext2fs_get_mem' from 'io_open'
nbdkit-1.45.12/filters/ext2/io.c:192:3: branch_false: ...to here
nbdkit-1.45.12/filters/ext2/io.c:193:12: call_function: inlined call to 'ext2fs_get_mem' from 'io_open'
nbdkit-1.45.12/filters/ext2/io.c:213:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/ext2/io.c:213:29: branch_true: ...to here
nbdkit-1.45.12/filters/ext2/io.c:213:29: danger: 'malloc(64)' leaks here; was allocated at [(8)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/7)
Error: CPPCHECK_WARNING (CWE-401): [#def75]
nbdkit-1.45.12/filters/gzip/gzip.c:197: error[memleak]: Memory leak: in_block
Error: GCC_ANALYZER_WARNING (CWE-401): [#def76]
nbdkit-1.45.12/filters/gzip/gzip.c:206:11: warning[-Wanalyzer-malloc-leak]: leak of 'in_block'
nbdkit-1.45.12/filters/gzip/gzip.c:137:3: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/gzip/gzip.c:140:21: branch_true: ...to here
nbdkit-1.45.12/filters/gzip/gzip.c:141:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/gzip/gzip.c:145:12: branch_false: ...to here
nbdkit-1.45.12/filters/gzip/gzip.c:169:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/gzip/gzip.c:174:3: branch_false: ...to here
nbdkit-1.45.12/filters/gzip/gzip.c:184:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/gzip/gzip.c:189:14: branch_false: ...to here
nbdkit-1.45.12/filters/gzip/gzip.c:189:14: acquire_memory: allocated here
nbdkit-1.45.12/filters/gzip/gzip.c:190:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/gzip/gzip.c:194:15: branch_false: ...to here
nbdkit-1.45.12/filters/gzip/gzip.c:195:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/filters/gzip/gzip.c:202:8: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/gzip/gzip.c:206:11: danger: 'in_block' leaks here; was allocated at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def77]
nbdkit-1.45.12/filters/gzip/gzip.c:206:11: warning[-Wanalyzer-malloc-leak]: leak of 'out_block'
nbdkit-1.45.12/filters/gzip/gzip.c:137:3: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/gzip/gzip.c:140:21: branch_true: ...to here
nbdkit-1.45.12/filters/gzip/gzip.c:141:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/gzip/gzip.c:145:12: branch_false: ...to here
nbdkit-1.45.12/filters/gzip/gzip.c:169:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/gzip/gzip.c:174:3: branch_false: ...to here
nbdkit-1.45.12/filters/gzip/gzip.c:184:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/gzip/gzip.c:189:14: branch_false: ...to here
nbdkit-1.45.12/filters/gzip/gzip.c:190:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/gzip/gzip.c:194:15: branch_false: ...to here
nbdkit-1.45.12/filters/gzip/gzip.c:194:15: acquire_memory: allocated here
nbdkit-1.45.12/filters/gzip/gzip.c:195:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/filters/gzip/gzip.c:202:8: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/gzip/gzip.c:206:11: danger: 'out_block' leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def78]
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:74:13: warning[-Wanalyzer-malloc-leak]: leak of 'index'
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:44:35: acquire_memory: allocated here
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:45:8: branch_false: following 'false' branch (when 'index' is non-NULL)...
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:47:5: branch_false: ...to here
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:73:12: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:74:13: branch_true: ...to here
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:74:13: danger: 'index' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def79]
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:86:13: warning[-Wanalyzer-malloc-leak]: leak of 'index'
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:44:35: acquire_memory: allocated here
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:45:8: branch_false: following 'false' branch (when 'index' is non-NULL)...
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:47:5: branch_false: ...to here
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:83:12: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:85:24: branch_true: ...to here
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:86:13: danger: 'index' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def80]
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:90:17: warning[-Wanalyzer-malloc-leak]: leak of 'index'
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:44:35: acquire_memory: allocated here
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:45:8: branch_false: following 'false' branch (when 'index' is non-NULL)...
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:47:5: branch_false: ...to here
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:83:12: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:85:24: branch_true: ...to here
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:90:17: danger: 'index' leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def81]
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:91:17: warning[-Wanalyzer-malloc-leak]: leak of 'index'
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:44:35: acquire_memory: allocated here
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:45:8: branch_false: following 'false' branch (when 'index' is non-NULL)...
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:47:5: branch_false: ...to here
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:83:12: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:85:24: branch_true: ...to here
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:90:16: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:91:17: branch_true: ...to here
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:91:17: danger: 'index' leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def82]
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:116:17: warning[-Wanalyzer-malloc-leak]: leak of 'index'
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:44:35: acquire_memory: allocated here
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:45:8: branch_false: following 'false' branch (when 'index' is non-NULL)...
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:47:5: branch_false: ...to here
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:83:12: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:85:24: branch_true: ...to here
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:90:16: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:94:13: branch_false: ...to here
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:106:16: branch_true: following 'true' branch (when 'mode == 0')...
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:112:24: branch_true: ...to here
nbdkit-1.45.12/filters/indexed-gzip/ig_zran.c:116:17: danger: 'index' leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def83]
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:195:13: warning[-Wanalyzer-file-leak]: leak of FILE 'fopen(gzip_index_path, "wb")'
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:158:8: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:160:9: branch_true: ...to here
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:163:12: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:191:9: branch_false: ...to here
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:194:35: acquire_resource: opened here
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:195:13: danger: 'fopen(gzip_index_path, "wb")' leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def84]
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:195:13: warning[-Wanalyzer-malloc-leak]: leak of 'fopen(gzip_index_path, "wb")'
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:158:8: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:160:9: branch_true: ...to here
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:163:12: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:191:9: branch_false: ...to here
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:194:35: acquire_memory: allocated here
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:195:13: danger: 'fopen(gzip_index_path, "wb")' leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def85]
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:202:9: warning[-Wanalyzer-file-leak]: leak of FILE 'fopen(gzip_index_path, "rb")'
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:157:27: acquire_resource: opened here
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:158:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:202:9: branch_false: ...to here
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:202:9: danger: 'fopen(gzip_index_path, "rb")' leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def86]
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:202:9: warning[-Wanalyzer-malloc-leak]: leak of 'fopen(gzip_index_path, "rb")'
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:157:27: acquire_memory: allocated here
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:158:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:202:9: branch_false: ...to here
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:202:9: danger: 'fopen(gzip_index_path, "rb")' leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def87]
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:203:20: warning[-Wanalyzer-file-leak]: leak of FILE 'fopen(gzip_index_path, "rb")'
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:157:27: acquire_resource: opened here
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:158:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:202:9: branch_false: ...to here
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:203:20: danger: 'fopen(gzip_index_path, "rb")' leaks here; was opened at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:203:20: warning[-Wanalyzer-malloc-leak]: leak of 'fopen(gzip_index_path, "rb")'
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:157:27: acquire_memory: allocated here
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:158:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:202:9: branch_false: ...to here
nbdkit-1.45.12/filters/indexed-gzip/indexed_gzip.c:203:20: danger: 'fopen(gzip_index_path, "rb")' leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def89]
nbdkit-1.45.12/filters/indexed-gzip/zran.c:233:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'point'
nbdkit-1.45.12/filters/indexed-gzip/zran.c:163:8: branch_false: following 'false' branch (when 'in' is non-NULL)...
nbdkit-1.45.12/filters/indexed-gzip/zran.c:167:35: branch_false: ...to here
nbdkit-1.45.12/filters/indexed-gzip/zran.c:168:8: branch_false: following 'false' branch (when 'index' is non-NULL)...
nbdkit-1.45.12/filters/indexed-gzip/zran.c:173:5: branch_false: ...to here
nbdkit-1.45.12/filters/indexed-gzip/zran.c:181:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/indexed-gzip/zran.c:187:15: branch_false: ...to here
nbdkit-1.45.12/filters/indexed-gzip/zran.c:187:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/indexed-gzip/zran.c:188:15: branch_false: ...to here
nbdkit-1.45.12/filters/indexed-gzip/zran.c:187:9: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/indexed-gzip/zran.c:189:15: branch_false: ...to here
nbdkit-1.45.12/filters/indexed-gzip/zran.c:187:9: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/indexed-gzip/zran.c:195:9: branch_false: ...to here
nbdkit-1.45.12/filters/indexed-gzip/zran.c:195:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/indexed-gzip/zran.c:196:10: branch_false: ...to here
nbdkit-1.45.12/filters/indexed-gzip/zran.c:195:9: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/indexed-gzip/zran.c:203:8: branch_false: ...to here
nbdkit-1.45.12/filters/indexed-gzip/zran.c:203:8: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/indexed-gzip/zran.c:204:9: branch_true: ...to here
nbdkit-1.45.12/filters/indexed-gzip/zran.c:204:9: release_memory: using NULL here
nbdkit-1.45.12/filters/indexed-gzip/zran.c:215:17: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/indexed-gzip/zran.c:216:27: branch_true: ...to here
nbdkit-1.45.12/filters/indexed-gzip/zran.c:216:27: release_memory: using NULL here
nbdkit-1.45.12/filters/indexed-gzip/zran.c:216:18: release_memory: 'point' is NULL
nbdkit-1.45.12/filters/indexed-gzip/zran.c:219:12: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/indexed-gzip/zran.c:220:19: branch_false: ...to here
nbdkit-1.45.12/filters/indexed-gzip/zran.c:219:13: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/indexed-gzip/zran.c:221:19: branch_false: ...to here
nbdkit-1.45.12/filters/indexed-gzip/zran.c:219:13: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/indexed-gzip/zran.c:222:19: branch_false: ...to here
nbdkit-1.45.12/filters/indexed-gzip/zran.c:219:13: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/indexed-gzip/zran.c:233:13: branch_false: ...to here
nbdkit-1.45.12/filters/indexed-gzip/zran.c:233:13: danger: dereference of NULL 'point'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def90]
nbdkit-1.45.12/filters/log/log.c:225:19: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/log/log.c:212:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/log/log.c:215:7: branch_false: ...to here
nbdkit-1.45.12/filters/log/log.c:215:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/log/log.c:216:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/log/log.c:225:19: branch_false: ...to here
nbdkit-1.45.12/filters/log/log.c:225:19: danger: 'h' leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def91]
nbdkit-1.45.12/filters/log/log.c:232:3: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/log/log.c:212:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/log/log.c:215:7: branch_false: ...to here
nbdkit-1.45.12/filters/log/log.c:215:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/log/log.c:216:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/log/log.c:225:19: branch_false: ...to here
nbdkit-1.45.12/filters/log/log.c:226:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/log/log.c:230:3: branch_false: ...to here
nbdkit-1.45.12/filters/log/log.c:232:3: branch_true: following 'true' branch (when '_r == 0')...
nbdkit-1.45.12/filters/log/log.c:233:19: branch_true: ...to here
nbdkit-1.45.12/filters/log/log.c:232:3: danger: 'h' leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def92]
nbdkit-1.45.12/filters/log/log.c:249:22: warning[-Wanalyzer-malloc-leak]: leak of 'fp'
nbdkit-1.45.12/filters/log/log.c:266:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/log/log.c:266:7: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/log/log.c:270:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/log/log.c:271:6: branch_true: following 'true' branch (when 'fp' is non-NULL)...
nbdkit-1.45.12/filters/log/log.c:272:5: branch_true: ...to here
nbdkit-1.45.12/filters/log/log.c:249:22: danger: 'fp' leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def93]
nbdkit-1.45.12/filters/log/log.c:401:24: warning[-Wanalyzer-malloc-leak]: leak of 'fp'
nbdkit-1.45.12/filters/log/log.c:384:1: enter_function: entry to 'log_extents'
nbdkit-1.45.12/filters/log/log.c:389:17: call_function: calling 'get_id' from 'log_extents'
nbdkit-1.45.12/filters/log/log.c:389:17: return_function: returning to 'log_extents' from 'get_id'
nbdkit-1.45.12/filters/log/log.c:392:3: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/log/log.c:395:25: branch_true: ...to here
nbdkit-1.45.12/filters/log/log.c:397:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/log/log.c:401:24: branch_false: ...to here
nbdkit-1.45.12/filters/log/log.c:404:10: acquire_memory: allocated here
nbdkit-1.45.12/filters/log/log.c:405:8: branch_true: following 'true' branch (when 'fp' is non-NULL)...
nbdkit-1.45.12/filters/log/log.c:406:7: branch_true: ...to here
nbdkit-1.45.12/filters/log/log.c:401:24: danger: 'fp' leaks here; was allocated at [(11)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def94]
nbdkit-1.45.12/filters/log/output.c:101:3: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
nbdkit-1.45.12/filters/log/output.c:166:1: enter_function: entry to 'leave'
nbdkit-1.45.12/filters/log/output.c:171:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/log/output.c:172:5: branch_true: ...to here
nbdkit-1.45.12/filters/log/output.c:172:5: acquire_resource: 'va_start' called here
nbdkit-1.45.12/filters/log/output.c:173:5: call_function: calling 'to_file' from 'leave'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def95]
nbdkit-1.45.12/filters/log/output.c:113:22: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
nbdkit-1.45.12/filters/log/output.c:184:1: enter_function: entry to 'print'
nbdkit-1.45.12/filters/log/output.c:188:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/log/output.c:193:7: branch_false: ...to here
nbdkit-1.45.12/filters/log/output.c:193:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/log/output.c:194:5: branch_true: ...to here
nbdkit-1.45.12/filters/log/output.c:194:5: acquire_resource: 'va_start' called here
nbdkit-1.45.12/filters/log/output.c:195:5: call_function: calling 'to_script' from 'print'
Error: CPPCHECK_WARNING (CWE-476): [#def96]
nbdkit-1.45.12/filters/luks/luks-encryption.c:489: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: in2
Error: CPPCHECK_WARNING (CWE-476): [#def97]
nbdkit-1.45.12/filters/luks/luks-encryption.c:489: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: out
Error: GCC_ANALYZER_WARNING (CWE-476): [#def98]
nbdkit-1.45.12/filters/luks/luks-encryption.c:489:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'block'
nbdkit-1.45.12/filters/luks/luks-encryption.c:536:1: enter_function: entry to 'afmerge'
nbdkit-1.45.12/filters/luks/luks-encryption.c:539:33: acquire_memory: this call could return NULL
nbdkit-1.45.12/filters/luks/luks-encryption.c:545:15: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks-encryption.c:550:3: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks-encryption.c:550:3: call_function: inlined call to 'xor' from 'afmerge'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def99]
nbdkit-1.45.12/filters/luks/luks-encryption.c:500:25: warning[-Wanalyzer-malloc-leak]: leak of 'temp'
nbdkit-1.45.12/filters/luks/luks-encryption.c:502:10: acquire_memory: allocated here
nbdkit-1.45.12/filters/luks/luks-encryption.c:503:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks-encryption.c:508:3: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks-encryption.c:500:25: danger: 'temp' leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def100]
nbdkit-1.45.12/filters/luks/luks-encryption.c:539:25: warning[-Wanalyzer-malloc-leak]: leak of 'block'
nbdkit-1.45.12/filters/luks/luks-encryption.c:536:1: enter_function: entry to 'afmerge'
nbdkit-1.45.12/filters/luks/luks-encryption.c:539:33: acquire_memory: allocated here
nbdkit-1.45.12/filters/luks/luks-encryption.c:545:15: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks-encryption.c:550:3: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks-encryption.c:550:3: call_function: inlined call to 'xor' from 'afmerge'
nbdkit-1.45.12/filters/luks/luks-encryption.c:539:25: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks-encryption.c:539:25: danger: 'block' leaks here; was allocated at [(2)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def101]
nbdkit-1.45.12/filters/luks/luks-encryption.c:584:25: warning[-Wanalyzer-malloc-leak]: leak of 'split_key'
nbdkit-1.45.12/filters/luks/luks-encryption.c:598:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks-encryption.c:601:19: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks-encryption.c:602:15: acquire_memory: allocated here
nbdkit-1.45.12/filters/luks/luks-encryption.c:603:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks-encryption.c:607:15: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks-encryption.c:608:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks-encryption.c:614:40: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks-encryption.c:616:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/luks/luks-encryption.c:617:5: branch_true: ...to here
nbdkit-1.45.12/filters/luks/luks-encryption.c:584:25: danger: 'split_key' leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-401): [#def102]
nbdkit-1.45.12/filters/luks/luks-encryption.c:610: error[memleak]: Memory leak: split_key
Error: CPPCHECK_WARNING (CWE-401): [#def103]
nbdkit-1.45.12/filters/luks/luks-encryption.c:618: error[memleak]: Memory leak: split_key
Error: GCC_ANALYZER_WARNING (CWE-401): [#def104]
nbdkit-1.45.12/filters/luks/luks-encryption.c:623:7: warning[-Wanalyzer-malloc-leak]: leak of 'split_key'
nbdkit-1.45.12/filters/luks/luks-encryption.c:598:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks-encryption.c:601:19: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks-encryption.c:602:15: acquire_memory: allocated here
nbdkit-1.45.12/filters/luks/luks-encryption.c:603:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks-encryption.c:607:15: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks-encryption.c:608:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks-encryption.c:614:40: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks-encryption.c:616:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks-encryption.c:622:22: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks-encryption.c:623:7: danger: 'split_key' leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-401): [#def105]
nbdkit-1.45.12/filters/luks/luks-encryption.c:625: error[memleak]: Memory leak: split_key
Error: CPPCHECK_WARNING (CWE-401): [#def106]
nbdkit-1.45.12/filters/luks/luks-encryption.c:634: error[memleak]: Memory leak: split_key
Error: GCC_ANALYZER_WARNING (CWE-401): [#def107]
nbdkit-1.45.12/filters/luks/luks-encryption.c:693:10: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/luks/luks-encryption.c:683:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/luks/luks-encryption.c:684:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/luks/luks-encryption.c:693:10: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks-encryption.c:693:10: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def108]
nbdkit-1.45.12/filters/luks/luks-encryption.c:699:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/luks/luks-encryption.c:683:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/luks/luks-encryption.c:684:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/luks/luks-encryption.c:693:10: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks-encryption.c:694:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks-encryption.c:698:6: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks-encryption.c:698:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/luks/luks-encryption.c:699:5: branch_true: ...to here
nbdkit-1.45.12/filters/luks/luks-encryption.c:699:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def109]
nbdkit-1.45.12/filters/luks/luks-encryption.c:705:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/luks/luks-encryption.c:683:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/luks/luks-encryption.c:684:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/luks/luks-encryption.c:693:10: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks-encryption.c:694:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks-encryption.c:698:6: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks-encryption.c:698:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks-encryption.c:705:7: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks-encryption.c:705:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def110]
nbdkit-1.45.12/filters/luks/luks-encryption.c:900:25: warning[-Wanalyzer-malloc-leak]: leak of 'iv'
nbdkit-1.45.12/filters/luks/luks-encryption.c:895:1: enter_function: entry to 'do_decrypt'
nbdkit-1.45.12/filters/luks/luks-encryption.c:899:24: call_function: inlined call to 'cipher_alg_iv_len' from 'do_decrypt'
nbdkit-1.45.12/filters/luks/luks-encryption.c:902:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/luks/luks-encryption.c:903:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks-encryption.c:908:10: branch_false: following 'false' branch (when 'nr_sectors == 0')...
nbdkit-1.45.12/filters/luks/luks-encryption.c:900:25: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks-encryption.c:900:25: danger: 'iv' leaks here; was allocated at [(5)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def111]
nbdkit-1.45.12/filters/luks/luks-encryption.c:934:25: warning[-Wanalyzer-malloc-leak]: leak of 'iv'
nbdkit-1.45.12/filters/luks/luks-encryption.c:929:1: enter_function: entry to 'do_encrypt'
nbdkit-1.45.12/filters/luks/luks-encryption.c:933:24: call_function: inlined call to 'cipher_alg_iv_len' from 'do_encrypt'
nbdkit-1.45.12/filters/luks/luks-encryption.c:936:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/luks/luks-encryption.c:937:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks-encryption.c:942:10: branch_false: following 'false' branch (when 'nr_sectors == 0')...
nbdkit-1.45.12/filters/luks/luks-encryption.c:934:25: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks-encryption.c:934:25: danger: 'iv' leaks here; was allocated at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def112]
nbdkit-1.45.12/filters/luks/luks.c:235:25: warning[-Wanalyzer-malloc-leak]: leak of 'sector'
nbdkit-1.45.12/filters/luks/luks.c:239:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks.c:244:8: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks.c:244:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/luks/luks.c:245:14: branch_true: ...to here
nbdkit-1.45.12/filters/luks/luks.c:245:14: acquire_memory: allocated here
nbdkit-1.45.12/filters/luks/luks.c:246:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks.c:253:3: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks.c:257:6: branch_true: following 'true' branch...
branch_true: ...to here
nbdkit-1.45.12/filters/luks/luks.c:235:25: danger: 'sector' leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def113]
nbdkit-1.45.12/filters/luks/luks.c:265:9: warning[-Wanalyzer-malloc-leak]: leak of 'sector'
nbdkit-1.45.12/filters/luks/luks.c:239:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks.c:244:8: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks.c:244:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/luks/luks.c:245:14: branch_true: ...to here
nbdkit-1.45.12/filters/luks/luks.c:245:14: acquire_memory: allocated here
nbdkit-1.45.12/filters/luks/luks.c:246:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks.c:253:3: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks.c:257:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks.c:261:6: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks.c:261:6: branch_true: following 'true' branch (when 'sectoffs != 0')...
nbdkit-1.45.12/filters/luks/luks.c:262:18: branch_true: ...to here
nbdkit-1.45.12/filters/luks/luks.c:264:5: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/luks/luks.c:265:9: branch_true: ...to here
nbdkit-1.45.12/filters/luks/luks.c:265:9: danger: 'sector' leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
nbdkit-1.45.12/filters/luks/luks.c:282:9: warning[-Wanalyzer-malloc-leak]: leak of 'sector'
nbdkit-1.45.12/filters/luks/luks.c:239:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks.c:244:8: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks.c:244:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/luks/luks.c:245:14: branch_true: ...to here
nbdkit-1.45.12/filters/luks/luks.c:245:14: acquire_memory: allocated here
nbdkit-1.45.12/filters/luks/luks.c:246:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks.c:253:3: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks.c:257:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks.c:261:6: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks.c:261:6: branch_false: following 'false' branch (when 'sectoffs == 0')...
branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks.c:281:10: branch_true: following 'true' branch (when 'count > 511')...
nbdkit-1.45.12/filters/luks/luks.c:282:9: branch_true: ...to here
nbdkit-1.45.12/filters/luks/luks.c:282:9: danger: 'sector' leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def115]
nbdkit-1.45.12/filters/luks/luks.c:298:9: warning[-Wanalyzer-malloc-leak]: leak of 'sector'
nbdkit-1.45.12/filters/luks/luks.c:239:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks.c:244:8: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks.c:244:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/luks/luks.c:245:14: branch_true: ...to here
nbdkit-1.45.12/filters/luks/luks.c:245:14: acquire_memory: allocated here
nbdkit-1.45.12/filters/luks/luks.c:246:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks.c:253:3: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks.c:257:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks.c:261:6: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks.c:261:6: branch_false: following 'false' branch (when 'sectoffs == 0')...
branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks.c:296:6: branch_true: following 'true' branch (when 'count != 0')...
nbdkit-1.45.12/filters/luks/luks.c:297:5: branch_true: ...to here
nbdkit-1.45.12/filters/luks/luks.c:297:5: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/luks/luks.c:298:9: branch_true: ...to here
nbdkit-1.45.12/filters/luks/luks.c:298:9: danger: 'sector' leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def116]
nbdkit-1.45.12/filters/luks/luks.c:328:25: warning[-Wanalyzer-malloc-leak]: leak of 'sector'
nbdkit-1.45.12/filters/luks/luks.c:332:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks.c:337:12: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks.c:337:12: acquire_memory: allocated here
nbdkit-1.45.12/filters/luks/luks.c:338:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks.c:344:3: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks.c:328:25: danger: 'sector' leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-401): [#def117]
nbdkit-1.45.12/filters/luks/luks.c:349: error[memleak]: Memory leak: sector
Error: GCC_ANALYZER_WARNING (CWE-401): [#def118]
nbdkit-1.45.12/filters/luks/luks.c:357:9: warning[-Wanalyzer-malloc-leak]: leak of 'sector'
nbdkit-1.45.12/filters/luks/luks.c:332:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks.c:337:12: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks.c:337:12: acquire_memory: allocated here
nbdkit-1.45.12/filters/luks/luks.c:338:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks.c:344:3: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks.c:348:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks.c:352:6: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks.c:352:6: branch_true: following 'true' branch (when 'sectoffs != 0')...
nbdkit-1.45.12/filters/luks/luks.c:353:5: branch_true: ...to here
nbdkit-1.45.12/filters/luks/luks.c:353:5: branch_true: following 'true' branch (when '_r == 0')...
nbdkit-1.45.12/filters/luks/luks.c:355:18: branch_true: ...to here
nbdkit-1.45.12/filters/luks/luks.c:357:9: danger: 'sector' leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def119]
nbdkit-1.45.12/filters/luks/luks.c:398:9: warning[-Wanalyzer-malloc-leak]: leak of 'sector'
nbdkit-1.45.12/filters/luks/luks.c:332:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks.c:337:12: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks.c:337:12: acquire_memory: allocated here
nbdkit-1.45.12/filters/luks/luks.c:338:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks.c:344:3: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks.c:348:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/luks/luks.c:352:6: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks.c:352:6: branch_false: following 'false' branch (when 'sectoffs == 0')...
branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks.c:378:10: branch_false: following 'false' branch (when 'count <= 511')...
nbdkit-1.45.12/filters/luks/luks.c:395:6: branch_false: ...to here
nbdkit-1.45.12/filters/luks/luks.c:395:6: branch_true: following 'true' branch (when 'count != 0')...
nbdkit-1.45.12/filters/luks/luks.c:396:5: branch_true: ...to here
nbdkit-1.45.12/filters/luks/luks.c:396:5: branch_true: following 'true' branch (when '_r == 0')...
nbdkit-1.45.12/filters/luks/luks.c:398:9: branch_true: ...to here
nbdkit-1.45.12/filters/luks/luks.c:398:9: danger: 'sector' leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def120]
nbdkit-1.45.12/filters/lzip/blkcache.c:71:5: warning[-Wanalyzer-malloc-leak]: leak of 'c'
nbdkit-1.45.12/filters/lzip/blkcache.c:63:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/lzip/blkcache.c:64:6: branch_false: following 'false' branch (when 'c' is non-NULL)...
nbdkit-1.45.12/filters/lzip/blkcache.c:69:15: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/blkcache.c:70:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/lzip/blkcache.c:71:5: branch_true: ...to here
nbdkit-1.45.12/filters/lzip/blkcache.c:71:5: danger: 'c' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def121]
nbdkit-1.45.12/filters/lzip/lzip.c:101:10: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/lzip/lzip.c:92:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/lzip/lzip.c:95:7: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzip.c:95:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/lzip/lzip.c:96:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/lzip/lzip.c:101:10: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzip.c:101:10: danger: 'h' leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def122]
nbdkit-1.45.12/filters/lzip/lzipfile.c:82:5: warning[-Wanalyzer-malloc-leak]: leak of 'lz'
nbdkit-1.45.12/filters/lzip/lzipfile.c:74:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/lzip/lzipfile.c:75:6: branch_false: following 'false' branch (when 'lz' is non-NULL)...
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:8: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/lzip/lzipfile.c:82:5: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:82:5: danger: 'lz' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def123]
nbdkit-1.45.12/filters/lzip/lzipfile.c:116:7: warning[-Wanalyzer-malloc-leak]: leak of 'lz'
nbdkit-1.45.12/filters/lzip/lzipfile.c:69:1: enter_function: entry to 'lzipfile_open'
nbdkit-1.45.12/filters/lzip/lzipfile.c:74:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/lzip/lzipfile.c:75:6: branch_false: following 'false' branch (when 'lz' is non-NULL)...
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:8: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:8: call_function: calling 'check_header_magic' from 'lzipfile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def124]
nbdkit-1.45.12/filters/lzip/lzipfile.c:117:5: warning[-Wanalyzer-malloc-leak]: leak of 'lz'
nbdkit-1.45.12/filters/lzip/lzipfile.c:69:1: enter_function: entry to 'lzipfile_open'
nbdkit-1.45.12/filters/lzip/lzipfile.c:74:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/lzip/lzipfile.c:75:6: branch_false: following 'false' branch (when 'lz' is non-NULL)...
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:8: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:8: call_function: calling 'check_header_magic' from 'lzipfile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def125]
nbdkit-1.45.12/filters/lzip/lzipfile.c:120:7: warning[-Wanalyzer-malloc-leak]: leak of 'lz'
nbdkit-1.45.12/filters/lzip/lzipfile.c:69:1: enter_function: entry to 'lzipfile_open'
nbdkit-1.45.12/filters/lzip/lzipfile.c:74:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/lzip/lzipfile.c:75:6: branch_false: following 'false' branch (when 'lz' is non-NULL)...
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:8: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:8: call_function: calling 'check_header_magic' from 'lzipfile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def126]
nbdkit-1.45.12/filters/lzip/lzipfile.c:121:5: warning[-Wanalyzer-malloc-leak]: leak of 'lz'
nbdkit-1.45.12/filters/lzip/lzipfile.c:69:1: enter_function: entry to 'lzipfile_open'
nbdkit-1.45.12/filters/lzip/lzipfile.c:74:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/lzip/lzipfile.c:75:6: branch_false: following 'false' branch (when 'lz' is non-NULL)...
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:8: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:8: call_function: calling 'check_header_magic' from 'lzipfile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def127]
nbdkit-1.45.12/filters/lzip/lzipfile.c:139:15: warning[-Wanalyzer-malloc-leak]: leak of 'lz'
nbdkit-1.45.12/filters/lzip/lzipfile.c:69:1: enter_function: entry to 'lzipfile_open'
nbdkit-1.45.12/filters/lzip/lzipfile.c:74:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/lzip/lzipfile.c:75:6: branch_false: following 'false' branch (when 'lz' is non-NULL)...
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:8: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/lzip/lzipfile.c:87:27: branch_true: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:87:8: call_function: calling 'setup_index' from 'lzipfile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def128]
nbdkit-1.45.12/filters/lzip/lzipfile.c:141:5: warning[-Wanalyzer-malloc-leak]: leak of 'lz'
nbdkit-1.45.12/filters/lzip/lzipfile.c:69:1: enter_function: entry to 'lzipfile_open'
nbdkit-1.45.12/filters/lzip/lzipfile.c:74:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/lzip/lzipfile.c:75:6: branch_false: following 'false' branch (when 'lz' is non-NULL)...
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:8: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/lzip/lzipfile.c:87:27: branch_true: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:87:8: call_function: calling 'setup_index' from 'lzipfile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def129]
nbdkit-1.45.12/filters/lzip/lzipfile.c:148:5: warning[-Wanalyzer-malloc-leak]: leak of 'lz'
nbdkit-1.45.12/filters/lzip/lzipfile.c:69:1: enter_function: entry to 'lzipfile_open'
nbdkit-1.45.12/filters/lzip/lzipfile.c:74:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/lzip/lzipfile.c:75:6: branch_false: following 'false' branch (when 'lz' is non-NULL)...
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:8: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/lzip/lzipfile.c:87:27: branch_true: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:87:8: call_function: calling 'setup_index' from 'lzipfile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def130]
nbdkit-1.45.12/filters/lzip/lzipfile.c:151:7: warning[-Wanalyzer-malloc-leak]: leak of 'lz'
nbdkit-1.45.12/filters/lzip/lzipfile.c:69:1: enter_function: entry to 'lzipfile_open'
nbdkit-1.45.12/filters/lzip/lzipfile.c:74:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/lzip/lzipfile.c:75:6: branch_false: following 'false' branch (when 'lz' is non-NULL)...
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:8: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/lzip/lzipfile.c:87:27: branch_true: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:87:8: call_function: calling 'setup_index' from 'lzipfile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def131]
nbdkit-1.45.12/filters/lzip/lzipfile.c:155:9: warning[-Wanalyzer-malloc-leak]: leak of 'lz'
nbdkit-1.45.12/filters/lzip/lzipfile.c:69:1: enter_function: entry to 'lzipfile_open'
nbdkit-1.45.12/filters/lzip/lzipfile.c:74:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/lzip/lzipfile.c:75:6: branch_false: following 'false' branch (when 'lz' is non-NULL)...
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:8: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/lzip/lzipfile.c:87:27: branch_true: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:87:8: call_function: calling 'setup_index' from 'lzipfile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def132]
nbdkit-1.45.12/filters/lzip/lzipfile.c:157:7: warning[-Wanalyzer-malloc-leak]: leak of 'lz'
nbdkit-1.45.12/filters/lzip/lzipfile.c:69:1: enter_function: entry to 'lzipfile_open'
nbdkit-1.45.12/filters/lzip/lzipfile.c:74:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/lzip/lzipfile.c:75:6: branch_false: following 'false' branch (when 'lz' is non-NULL)...
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:8: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/lzip/lzipfile.c:87:27: branch_true: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:87:8: call_function: calling 'setup_index' from 'lzipfile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def133]
nbdkit-1.45.12/filters/lzip/lzipfile.c:161:5: warning[-Wanalyzer-malloc-leak]: leak of 'lz'
nbdkit-1.45.12/filters/lzip/lzipfile.c:69:1: enter_function: entry to 'lzipfile_open'
nbdkit-1.45.12/filters/lzip/lzipfile.c:74:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/lzip/lzipfile.c:75:6: branch_false: following 'false' branch (when 'lz' is non-NULL)...
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:8: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/lzip/lzipfile.c:87:27: branch_true: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:87:8: call_function: calling 'setup_index' from 'lzipfile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def134]
nbdkit-1.45.12/filters/lzip/lzipfile.c:169:5: warning[-Wanalyzer-malloc-leak]: leak of 'lz'
nbdkit-1.45.12/filters/lzip/lzipfile.c:69:1: enter_function: entry to 'lzipfile_open'
nbdkit-1.45.12/filters/lzip/lzipfile.c:74:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/lzip/lzipfile.c:75:6: branch_false: following 'false' branch (when 'lz' is non-NULL)...
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:8: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:81:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/lzip/lzipfile.c:87:27: branch_true: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:87:8: call_function: calling 'setup_index' from 'lzipfile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def135]
nbdkit-1.45.12/filters/lzip/lzipfile.c:287:5: warning[-Wanalyzer-malloc-leak]: leak of 'data'
nbdkit-1.45.12/filters/lzip/lzipfile.c:259:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/lzip/lzipfile.c:264:16: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:271:6: branch_false: following 'false' branch (when 'ret == 0')...
nbdkit-1.45.12/filters/lzip/lzipfile.c:276:18: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:276:10: acquire_memory: allocated here
nbdkit-1.45.12/filters/lzip/lzipfile.c:277:6: branch_false: following 'false' branch (when 'data' is non-NULL)...
nbdkit-1.45.12/filters/lzip/lzipfile.c:285:12: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:286:6: branch_true: following 'true' branch (when 'buffer' is NULL)...
nbdkit-1.45.12/filters/lzip/lzipfile.c:287:5: branch_true: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:287:5: danger: 'data' leaks here; was allocated at [(5)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def136]
nbdkit-1.45.12/filters/lzip/lzipfile.c:306:13: warning[-Wanalyzer-malloc-leak]: leak of 'buffer'
nbdkit-1.45.12/filters/lzip/lzipfile.c:259:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/lzip/lzipfile.c:264:16: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:271:6: branch_false: following 'false' branch (when 'ret == 0')...
nbdkit-1.45.12/filters/lzip/lzipfile.c:276:18: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:277:6: branch_false: following 'false' branch (when 'data' is non-NULL)...
nbdkit-1.45.12/filters/lzip/lzipfile.c:285:12: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:285:12: acquire_memory: allocated here
nbdkit-1.45.12/filters/lzip/lzipfile.c:286:6: branch_false: following 'false' branch (when 'buffer' is non-NULL)...
nbdkit-1.45.12/filters/lzip/lzipfile.c:291:3: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:297:8: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/lzip/lzipfile.c:298:7: branch_true: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:304:10: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/lzip/lzipfile.c:305:9: branch_true: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:306:13: danger: 'buffer' leaks here; was allocated at [(7)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def137]
nbdkit-1.45.12/filters/lzip/lzipfile.c:306:13: warning[-Wanalyzer-malloc-leak]: leak of 'data'
nbdkit-1.45.12/filters/lzip/lzipfile.c:259:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/lzip/lzipfile.c:264:16: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:271:6: branch_false: following 'false' branch (when 'ret == 0')...
nbdkit-1.45.12/filters/lzip/lzipfile.c:276:18: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:276:10: acquire_memory: allocated here
nbdkit-1.45.12/filters/lzip/lzipfile.c:277:6: branch_false: following 'false' branch (when 'data' is non-NULL)...
nbdkit-1.45.12/filters/lzip/lzipfile.c:285:12: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:286:6: branch_false: following 'false' branch (when 'buffer' is non-NULL)...
nbdkit-1.45.12/filters/lzip/lzipfile.c:291:3: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:297:8: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/lzip/lzipfile.c:298:7: branch_true: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:304:10: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/lzip/lzipfile.c:305:9: branch_true: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:306:13: danger: 'data' leaks here; was allocated at [(5)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def138]
nbdkit-1.45.12/filters/lzip/lzipfile.c:319:5: warning[-Wanalyzer-malloc-leak]: leak of 'buffer'
nbdkit-1.45.12/filters/lzip/lzipfile.c:259:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/lzip/lzipfile.c:264:16: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:271:6: branch_false: following 'false' branch (when 'ret == 0')...
nbdkit-1.45.12/filters/lzip/lzipfile.c:276:18: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:277:6: branch_false: following 'false' branch (when 'data' is non-NULL)...
nbdkit-1.45.12/filters/lzip/lzipfile.c:285:12: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:285:12: acquire_memory: allocated here
nbdkit-1.45.12/filters/lzip/lzipfile.c:286:6: branch_false: following 'false' branch (when 'buffer' is non-NULL)...
nbdkit-1.45.12/filters/lzip/lzipfile.c:291:3: branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:297:8: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/lzip/lzipfile.c:298:7: branch_true: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:304:10: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:318:6: branch_true: following 'true' branch (when 'ret != 1')...
nbdkit-1.45.12/filters/lzip/lzipfile.c:319:5: branch_true: ...to here
nbdkit-1.45.12/filters/lzip/lzipfile.c:319:5: danger: 'buffer' leaks here; was allocated at [(7)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def139]
nbdkit-1.45.12/filters/map/map.c:149:1: warning[-Wanalyzer-null-argument]: use of NULL 'bounds.ptr' where non-null expected
nbdkit-1.45.12/filters/map/map.c:178:1: enter_function: entry to 'convert_to_regions'
nbdkit-1.45.12/filters/map/map.c:182:14: release_memory: 'bounds.ptr' is NULL
nbdkit-1.45.12/filters/map/map.c:190:15: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/map/map.c:197:3: call_function: inlined call to 'boundaries_sort' from 'convert_to_regions'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def140]
nbdkit-1.45.12/filters/multi-conn/multi-conn.c:181:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/multi-conn/multi-conn.c:169:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/multi-conn/multi-conn.c:173:7: branch_false: ...to here
nbdkit-1.45.12/filters/multi-conn/multi-conn.c:173:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/multi-conn/multi-conn.c:174:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/multi-conn/multi-conn.c:178:7: branch_false: ...to here
nbdkit-1.45.12/filters/multi-conn/multi-conn.c:178:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/multi-conn/multi-conn.c:179:15: branch_true: ...to here
nbdkit-1.45.12/filters/multi-conn/multi-conn.c:180:8: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/multi-conn/multi-conn.c:181:7: branch_true: ...to here
nbdkit-1.45.12/filters/multi-conn/multi-conn.c:181:7: danger: 'h' leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def141]
nbdkit-1.45.12/filters/multi-conn/multi-conn.c:215:3: warning[-Wanalyzer-malloc-leak]: leak of 'g'
nbdkit-1.45.12/filters/multi-conn/multi-conn.c:190:1: enter_function: entry to 'multi_conn_prepare'
nbdkit-1.45.12/filters/multi-conn/multi-conn.c:215:3: branch_true: following 'true' branch (when '_r == 0')...
nbdkit-1.45.12/filters/multi-conn/multi-conn.c:216:7: branch_true: ...to here
nbdkit-1.45.12/filters/multi-conn/multi-conn.c:228:9: acquire_memory: allocated here
nbdkit-1.45.12/filters/multi-conn/multi-conn.c:229:8: branch_false: following 'false' branch (when 'g' is non-NULL)...
nbdkit-1.45.12/filters/multi-conn/multi-conn.c:233:9: branch_false: ...to here
nbdkit-1.45.12/filters/multi-conn/multi-conn.c:233:9: call_function: calling 'group_vector_append' from 'multi_conn_prepare'
nbdkit-1.45.12/filters/multi-conn/multi-conn.c:215:3: danger: 'g' leaks here; was allocated at [(4)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def142]
nbdkit-1.45.12/filters/openonce/openonce.c:93:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/openonce/openonce.c:86:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/openonce/openonce.c:87:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/openonce/openonce.c:93:5: branch_false: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:93:5: branch_true: following 'true' branch (when '_r == 0')...
branch_true: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:97:17: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/openonce/openonce.c:98:11: branch_true: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:107:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/openonce/openonce.c:93:5: branch_false: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:93:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def143]
nbdkit-1.45.12/filters/openonce/openonce.c:120:9: warning[-Wanalyzer-malloc-leak]: leak of 'strdup(exportname)'
nbdkit-1.45.12/filters/openonce/openonce.c:87:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/openonce/openonce.c:93:5: branch_false: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:93:5: branch_true: following 'true' branch (when '_r == 0')...
branch_true: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:107:8: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/openonce/openonce.c:110:30: branch_true: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:110:30: acquire_memory: allocated here
nbdkit-1.45.12/filters/openonce/openonce.c:111:10: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/openonce/openonce.c:116:7: branch_false: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:120:9: danger: 'strdup(exportname)' leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def144]
nbdkit-1.45.12/filters/openonce/openonce.c:129:11: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/openonce/openonce.c:86:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/openonce/openonce.c:87:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/openonce/openonce.c:93:5: branch_false: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:93:5: branch_true: following 'true' branch (when '_r == 0')...
branch_true: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:107:8: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/openonce/openonce.c:110:30: branch_true: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:111:10: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/openonce/openonce.c:116:7: branch_false: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:122:10: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/openonce/openonce.c:129:11: branch_false: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:129:11: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def145]
nbdkit-1.45.12/filters/openonce/openonce.c:129:11: warning[-Wanalyzer-malloc-leak]: leak of 'strdup(exportname)'
nbdkit-1.45.12/filters/openonce/openonce.c:87:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/openonce/openonce.c:93:5: branch_false: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:93:5: branch_true: following 'true' branch (when '_r == 0')...
branch_true: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:107:8: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/openonce/openonce.c:110:30: branch_true: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:110:30: acquire_memory: allocated here
nbdkit-1.45.12/filters/openonce/openonce.c:111:10: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/openonce/openonce.c:116:7: branch_false: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:122:10: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/openonce/openonce.c:129:11: branch_false: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:129:11: danger: 'strdup(exportname)' leaks here; was allocated at [(7)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def146]
nbdkit-1.45.12/filters/openonce/openonce.c:130:9: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/openonce/openonce.c:86:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/openonce/openonce.c:87:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/openonce/openonce.c:93:5: branch_false: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:93:5: branch_true: following 'true' branch (when '_r == 0')...
branch_true: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:107:8: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/openonce/openonce.c:110:30: branch_true: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:111:10: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/openonce/openonce.c:116:7: branch_false: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:122:10: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/openonce/openonce.c:129:11: branch_false: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:129:10: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/openonce/openonce.c:130:9: branch_true: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:130:9: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def147]
nbdkit-1.45.12/filters/openonce/openonce.c:130:9: warning[-Wanalyzer-malloc-leak]: leak of 'strdup(exportname)'
nbdkit-1.45.12/filters/openonce/openonce.c:87:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/openonce/openonce.c:93:5: branch_false: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:93:5: branch_true: following 'true' branch (when '_r == 0')...
branch_true: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:107:8: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/openonce/openonce.c:110:30: branch_true: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:110:30: acquire_memory: allocated here
nbdkit-1.45.12/filters/openonce/openonce.c:111:10: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/openonce/openonce.c:116:7: branch_false: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:122:10: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/openonce/openonce.c:129:11: branch_false: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:129:10: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/openonce/openonce.c:130:9: branch_true: ...to here
nbdkit-1.45.12/filters/openonce/openonce.c:130:9: danger: 'strdup(exportname)' leaks here; was allocated at [(7)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def148]
nbdkit-1.45.12/filters/protect/protect.c:292:11: warning[-Wanalyzer-malloc-leak]: leak of 'expected'
nbdkit-1.45.12/filters/protect/protect.c:262:10: branch_true: following 'true' branch (when 'count != 0')...
nbdkit-1.45.12/filters/protect/protect.c:268:14: branch_true: ...to here
nbdkit-1.45.12/filters/protect/protect.c:269:5: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/protect/protect.c:270:5: branch_true: ...to here
nbdkit-1.45.12/filters/protect/protect.c:270:5: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/protect/protect.c:272:17: branch_true: ...to here
nbdkit-1.45.12/filters/protect/protect.c:274:5: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/protect/protect.c:276:9: branch_true: ...to here
nbdkit-1.45.12/filters/protect/protect.c:282:8: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/protect/protect.c:284:37: branch_true: ...to here
nbdkit-1.45.12/filters/protect/protect.c:284:37: acquire_memory: allocated here
nbdkit-1.45.12/filters/protect/protect.c:285:10: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/protect/protect.c:292:11: branch_false: ...to here
nbdkit-1.45.12/filters/protect/protect.c:292:11: danger: 'expected' leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def149]
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:445:25: warning[-Wanalyzer-malloc-leak]: leak of 'cluster'
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:439:1: enter_function: entry to 'qcow2dec_pread'
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:448:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:449:15: branch_true: ...to here
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:449:15: acquire_memory: allocated here
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:450:8: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:457:3: branch_false: ...to here
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:460:6: branch_false: following 'false' branch (when 'cloffs == 0')...
branch_false: ...to here
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:474:10: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:484:6: branch_false: ...to here
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:484:6: branch_false: following 'false' branch (when 'count == 0')...
branch_false: ...to here
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:445:25: danger: 'cluster' leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def150]
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:611:11: warning[-Wanalyzer-malloc-leak]: leak of 'l2_table'
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:558:3: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:561:14: branch_true: ...to here
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:563:3: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:565:22: branch_true: ...to here
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:566:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:575:3: branch_false: ...to here
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:579:6: branch_false: following 'false' branch (when 'l2_offset != 0')...
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:583:3: branch_false: ...to here
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:587:5: branch_true: following 'true' branch (when '_r == 0')...
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:589:21: branch_true: ...to here
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:592:8: branch_true: following 'true' branch (when 'l2_table' is NULL)...
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:594:11: branch_true: ...to here
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:594:10: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:595:27: branch_false: ...to here
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:594:11: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:596:26: branch_false: ...to here
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:594:11: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:604:18: branch_false: ...to here
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:604:18: acquire_memory: allocated here
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:605:10: branch_false: following 'false' branch (when 'l2_table' is non-NULL)...
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:611:11: branch_false: ...to here
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:611:11: danger: 'l2_table' leaks here; was allocated at [(19)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def151]
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:846:7: warning[-Wanalyzer-malloc-leak]: leak of 'compressed_cluster'
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:791:6: branch_false: following 'false' branch (when 'file_offset <= 72057594037927935')...
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:806:3: branch_false: ...to here
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:810:6: branch_false: following 'false' branch (when 'file_offset > 511')...
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:810:7: branch_false: ...to here
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:810:7: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:812:10: branch_false: ...to here
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:810:7: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:831:14: branch_false: ...to here
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:832:6: branch_false: following 'false' branch (when 'compressed_size <= max_read')...
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:840:24: branch_false: ...to here
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:840:24: acquire_memory: allocated here
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:841:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:846:7: branch_false: ...to here
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:846:7: danger: 'compressed_cluster' leaks here; was allocated at [(11)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/10)
Error: CPPCHECK_WARNING (CWE-401): [#def152]
nbdkit-1.45.12/filters/qcow2dec/qcow2dec.c:848: error[memleak]: Memory leak: compressed_cluster
Error: GCC_ANALYZER_WARNING (CWE-401): [#def153]
nbdkit-1.45.12/filters/rate/rate.c:187:3: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/rate/rate.c:178:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/rate/rate.c:181:7: branch_false: ...to here
nbdkit-1.45.12/filters/rate/rate.c:181:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/rate/rate.c:182:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/rate/rate.c:187:3: branch_false: ...to here
nbdkit-1.45.12/filters/rate/rate.c:187:3: danger: 'h' leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def154]
nbdkit-1.45.12/filters/readahead/readahead.h:49: error[ctunullpointer]: Null pointer dereference: key
Error: GCC_ANALYZER_WARNING (CWE-401): [#def155]
nbdkit-1.45.12/filters/retry/retry.c:152:5: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
nbdkit-1.45.12/filters/retry/retry.c:221:1: enter_function: entry to 'retry_open'
nbdkit-1.45.12/filters/retry/retry.c:228:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/retry/retry.c:233:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:234:19: acquire_memory: allocated here
nbdkit-1.45.12/filters/retry/retry.c:236:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:241:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:243:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:252:18: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:256:12: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:256:25: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:256:25: call_function: calling 'do_retry' from 'retry_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def156]
nbdkit-1.45.12/filters/retry/retry.c:152:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/retry/retry.c:221:1: enter_function: entry to 'retry_open'
nbdkit-1.45.12/filters/retry/retry.c:227:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/retry/retry.c:228:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/retry/retry.c:233:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:236:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:241:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:243:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:252:18: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:256:12: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:256:25: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:256:25: call_function: calling 'do_retry' from 'retry_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def157]
nbdkit-1.45.12/filters/retry/retry.c:157:3: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
nbdkit-1.45.12/filters/retry/retry.c:221:1: enter_function: entry to 'retry_open'
nbdkit-1.45.12/filters/retry/retry.c:228:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/retry/retry.c:233:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:234:19: acquire_memory: allocated here
nbdkit-1.45.12/filters/retry/retry.c:236:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:241:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:243:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:252:18: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:256:12: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:256:25: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:256:25: call_function: calling 'do_retry' from 'retry_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def158]
nbdkit-1.45.12/filters/retry/retry.c:157:3: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/retry/retry.c:221:1: enter_function: entry to 'retry_open'
nbdkit-1.45.12/filters/retry/retry.c:227:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/retry/retry.c:228:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/retry/retry.c:233:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:236:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:241:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:243:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:252:18: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:256:12: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:256:25: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:256:25: call_function: calling 'do_retry' from 'retry_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def159]
nbdkit-1.45.12/filters/retry/retry.c:159:3: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
nbdkit-1.45.12/filters/retry/retry.c:221:1: enter_function: entry to 'retry_open'
nbdkit-1.45.12/filters/retry/retry.c:228:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/retry/retry.c:233:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:234:19: acquire_memory: allocated here
nbdkit-1.45.12/filters/retry/retry.c:236:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:241:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:243:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:252:18: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:256:12: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:256:25: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:256:25: call_function: calling 'do_retry' from 'retry_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def160]
nbdkit-1.45.12/filters/retry/retry.c:159:3: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/retry/retry.c:221:1: enter_function: entry to 'retry_open'
nbdkit-1.45.12/filters/retry/retry.c:227:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/retry/retry.c:228:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/retry/retry.c:233:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:236:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:241:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:243:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:252:18: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:256:12: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:256:25: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:256:25: call_function: calling 'do_retry' from 'retry_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def161]
nbdkit-1.45.12/filters/retry/retry.c:161:7: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
nbdkit-1.45.12/filters/retry/retry.c:221:1: enter_function: entry to 'retry_open'
nbdkit-1.45.12/filters/retry/retry.c:228:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/retry/retry.c:233:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:234:19: acquire_memory: allocated here
nbdkit-1.45.12/filters/retry/retry.c:236:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:241:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:243:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:252:18: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:256:12: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:256:25: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:256:25: call_function: calling 'do_retry' from 'retry_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def162]
nbdkit-1.45.12/filters/retry/retry.c:161:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/retry/retry.c:221:1: enter_function: entry to 'retry_open'
nbdkit-1.45.12/filters/retry/retry.c:227:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/retry/retry.c:228:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/retry/retry.c:233:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:236:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:241:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:243:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:252:18: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:256:12: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:256:25: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:256:25: call_function: calling 'do_retry' from 'retry_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def163]
nbdkit-1.45.12/filters/retry/retry.c:198:14: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
nbdkit-1.45.12/filters/retry/retry.c:221:1: enter_function: entry to 'retry_open'
nbdkit-1.45.12/filters/retry/retry.c:228:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/retry/retry.c:233:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:234:19: acquire_memory: allocated here
nbdkit-1.45.12/filters/retry/retry.c:236:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:241:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:243:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:252:18: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:256:12: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:256:25: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:256:25: call_function: calling 'do_retry' from 'retry_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def164]
nbdkit-1.45.12/filters/retry/retry.c:198:14: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/retry/retry.c:221:1: enter_function: entry to 'retry_open'
nbdkit-1.45.12/filters/retry/retry.c:227:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/retry/retry.c:228:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/retry/retry.c:233:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:236:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:241:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:243:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:252:18: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:256:12: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:256:25: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:256:25: call_function: calling 'do_retry' from 'retry_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def165]
nbdkit-1.45.12/filters/retry/retry.c:237:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/retry/retry.c:227:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/retry/retry.c:228:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/retry/retry.c:233:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:236:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/retry/retry.c:237:5: branch_true: ...to here
nbdkit-1.45.12/filters/retry/retry.c:237:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def166]
nbdkit-1.45.12/filters/retry/retry.c:243:7: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
nbdkit-1.45.12/filters/retry/retry.c:228:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/retry/retry.c:233:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:234:19: acquire_memory: allocated here
nbdkit-1.45.12/filters/retry/retry.c:236:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:241:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:243:7: danger: '<unknown>' leaks here; was allocated at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def167]
nbdkit-1.45.12/filters/retry/retry.c:243:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/retry/retry.c:227:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/retry/retry.c:228:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/retry/retry.c:233:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:236:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/retry/retry.c:241:3: branch_false: ...to here
nbdkit-1.45.12/filters/retry/retry.c:243:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def168]
nbdkit-1.45.12/filters/scan/scan.h:52: error[ctunullpointer]: Null pointer dereference: key
Error: GCC_ANALYZER_WARNING (CWE-476): [#def169]
nbdkit-1.45.12/filters/spinning/spinning.c:349:3: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
Error: GCC_ANALYZER_WARNING (CWE-131): [#def170]
nbdkit-1.45.12/filters/swab/swab.c:184:3: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
nbdkit-1.45.12/filters/swab/swab.c:176:1: enter_function: entry to 'swab_pwrite'
nbdkit-1.45.12/filters/swab/swab.c:182:8: call_function: calling 'is_aligned' from 'swab_pwrite'
nbdkit-1.45.12/filters/swab/swab.c:182:8: return_function: returning to 'swab_pwrite' from 'is_aligned'
nbdkit-1.45.12/filters/swab/swab.c:182:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/swab/swab.c:184:11: branch_true: ...to here
nbdkit-1.45.12/filters/swab/swab.c:184:3: danger: assigned to 'uint16_t *' {{aka 'short unsigned int *'}} here; 'sizeof (uint16_t {{aka short unsigned int}})' is '2'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def171]
nbdkit-1.45.12/filters/tar/tar.c:199:14: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
nbdkit-1.45.12/filters/tar/tar.c:158:3: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/tar/tar.c:161:8: branch_true: ...to here
nbdkit-1.45.12/filters/tar/tar.c:162:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:166:3: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:170:6: branch_false: following 'false' branch (when 'fp' is non-NULL)...
nbdkit-1.45.12/filters/tar/tar.c:175:3: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:188:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:194:9: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:194:9: acquire_memory: allocated here
nbdkit-1.45.12/filters/tar/tar.c:195:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:199:14: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:199:14: danger: 'buf' leaks here; was allocated at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: CPPCHECK_WARNING (CWE-401): [#def172]
nbdkit-1.45.12/filters/tar/tar.c:201: error[memleak]: Memory leak: buf
Error: CPPCHECK_WARNING (CWE-401): [#def173]
nbdkit-1.45.12/filters/tar/tar.c:210: error[memleak]: Memory leak: buf
Error: GCC_ANALYZER_WARNING (CWE-401): [#def174]
nbdkit-1.45.12/filters/tar/tar.c:219:31: warning[-Wanalyzer-malloc-leak]: leak of 'popen(cmd, "w")'
nbdkit-1.45.12/filters/tar/tar.c:158:3: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/tar/tar.c:161:8: branch_true: ...to here
nbdkit-1.45.12/filters/tar/tar.c:162:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:166:3: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:170:6: branch_false: following 'false' branch (when 'fp' is non-NULL)...
nbdkit-1.45.12/filters/tar/tar.c:175:3: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:188:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:194:9: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:195:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:199:14: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:200:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:202:7: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:207:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/tar/tar.c:208:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:219:15: branch_true: following 'true' branch (when 'i < copysize')...
nbdkit-1.45.12/filters/tar/tar.c:221:27: branch_true: ...to here
nbdkit-1.45.12/filters/tar/tar.c:226:8: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:219:15: branch_true: following 'true' branch (when 'i < copysize')...
nbdkit-1.45.12/filters/tar/tar.c:221:27: branch_true: ...to here
nbdkit-1.45.12/filters/tar/tar.c:219:31: danger: 'popen(cmd, "w")' leaks here; was allocated at [(13)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def175]
nbdkit-1.45.12/filters/tar/tar.c:225:9: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
nbdkit-1.45.12/filters/tar/tar.c:158:3: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/tar/tar.c:161:8: branch_true: ...to here
nbdkit-1.45.12/filters/tar/tar.c:162:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:166:3: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:170:6: branch_false: following 'false' branch (when 'fp' is non-NULL)...
nbdkit-1.45.12/filters/tar/tar.c:175:3: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:188:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:194:9: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:194:9: acquire_memory: allocated here
nbdkit-1.45.12/filters/tar/tar.c:195:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:199:14: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:200:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:202:7: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:208:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:219:15: branch_true: following 'true' branch (when 'i < copysize')...
nbdkit-1.45.12/filters/tar/tar.c:221:27: branch_true: ...to here
nbdkit-1.45.12/filters/tar/tar.c:225:9: danger: 'buf' leaks here; was allocated at [(9)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def176]
nbdkit-1.45.12/filters/tar/tar.c:225:9: warning[-Wanalyzer-malloc-leak]: leak of 'popen(cmd, "w")'
nbdkit-1.45.12/filters/tar/tar.c:158:3: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/tar/tar.c:161:8: branch_true: ...to here
nbdkit-1.45.12/filters/tar/tar.c:162:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:166:3: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:170:6: branch_false: following 'false' branch (when 'fp' is non-NULL)...
nbdkit-1.45.12/filters/tar/tar.c:175:3: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:188:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:194:9: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:195:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:199:14: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:200:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:202:7: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:207:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/tar/tar.c:208:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:219:15: branch_true: following 'true' branch (when 'i < copysize')...
nbdkit-1.45.12/filters/tar/tar.c:221:27: branch_true: ...to here
nbdkit-1.45.12/filters/tar/tar.c:225:9: danger: 'popen(cmd, "w")' leaks here; was allocated at [(13)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def177]
nbdkit-1.45.12/filters/tar/tar.c:228:7: warning[-Wanalyzer-malloc-leak]: leak of 'popen(cmd, "w")'
nbdkit-1.45.12/filters/tar/tar.c:158:3: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/tar/tar.c:161:8: branch_true: ...to here
nbdkit-1.45.12/filters/tar/tar.c:162:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:166:3: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:170:6: branch_false: following 'false' branch (when 'fp' is non-NULL)...
nbdkit-1.45.12/filters/tar/tar.c:175:3: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:188:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:194:9: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:195:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:199:14: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:200:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:202:7: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:207:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/tar/tar.c:208:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:219:15: branch_true: following 'true' branch (when 'i < copysize')...
nbdkit-1.45.12/filters/tar/tar.c:221:27: branch_true: ...to here
nbdkit-1.45.12/filters/tar/tar.c:226:8: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/tar/tar.c:227:7: branch_true: ...to here
nbdkit-1.45.12/filters/tar/tar.c:228:7: danger: 'popen(cmd, "w")' leaks here; was allocated at [(13)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def178]
nbdkit-1.45.12/filters/tar/tar.c:229:7: warning[-Wanalyzer-malloc-leak]: leak of 'popen(cmd, "w")'
nbdkit-1.45.12/filters/tar/tar.c:158:3: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/tar/tar.c:161:8: branch_true: ...to here
nbdkit-1.45.12/filters/tar/tar.c:162:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:166:3: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:170:6: branch_false: following 'false' branch (when 'fp' is non-NULL)...
nbdkit-1.45.12/filters/tar/tar.c:175:3: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:188:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:194:9: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:195:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:199:14: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:200:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:202:7: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:207:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/tar/tar.c:208:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:219:15: branch_true: following 'true' branch (when 'i < copysize')...
nbdkit-1.45.12/filters/tar/tar.c:221:27: branch_true: ...to here
nbdkit-1.45.12/filters/tar/tar.c:226:8: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/tar/tar.c:227:7: branch_true: ...to here
nbdkit-1.45.12/filters/tar/tar.c:229:7: danger: 'popen(cmd, "w")' leaks here; was allocated at [(13)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def179]
nbdkit-1.45.12/filters/tar/tar.c:233:44: warning[-Wanalyzer-malloc-leak]: leak of 'popen(cmd, "w")'
nbdkit-1.45.12/filters/tar/tar.c:158:3: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/tar/tar.c:161:8: branch_true: ...to here
nbdkit-1.45.12/filters/tar/tar.c:162:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:166:3: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:170:6: branch_false: following 'false' branch (when 'fp' is non-NULL)...
nbdkit-1.45.12/filters/tar/tar.c:175:3: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:188:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:194:9: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:195:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:199:14: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:200:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:202:7: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:207:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/tar/tar.c:208:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:219:15: branch_true: following 'true' branch (when 'i < copysize')...
nbdkit-1.45.12/filters/tar/tar.c:221:27: branch_true: ...to here
nbdkit-1.45.12/filters/tar/tar.c:226:8: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:232:17: branch_true: following 'true' branch (when 'j < count')...
nbdkit-1.45.12/filters/tar/tar.c:233:44: branch_true: ...to here
nbdkit-1.45.12/filters/tar/tar.c:233:44: danger: 'popen(cmd, "w")' leaks here; was allocated at [(13)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def180]
nbdkit-1.45.12/filters/tar/tar.c:243:41: warning[-Wanalyzer-malloc-leak]: leak of 'popen(cmd, "w")'
nbdkit-1.45.12/filters/tar/tar.c:158:3: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/tar/tar.c:161:8: branch_true: ...to here
nbdkit-1.45.12/filters/tar/tar.c:162:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:166:3: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:170:6: branch_false: following 'false' branch (when 'fp' is non-NULL)...
nbdkit-1.45.12/filters/tar/tar.c:175:3: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:188:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:194:9: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:195:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:199:14: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:200:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:202:7: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:207:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/tar/tar.c:208:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:219:15: branch_true: following 'true' branch (when 'i < copysize')...
nbdkit-1.45.12/filters/tar/tar.c:221:27: branch_true: ...to here
nbdkit-1.45.12/filters/tar/tar.c:226:8: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:243:41: danger: 'popen(cmd, "w")' leaks here; was allocated at [(13)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def181]
nbdkit-1.45.12/filters/tar/tar.c:246:3: warning[-Wanalyzer-malloc-leak]: leak of 'popen(cmd, "w")'
nbdkit-1.45.12/filters/tar/tar.c:158:3: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/tar/tar.c:161:8: branch_true: ...to here
nbdkit-1.45.12/filters/tar/tar.c:162:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:166:3: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:170:6: branch_false: following 'false' branch (when 'fp' is non-NULL)...
nbdkit-1.45.12/filters/tar/tar.c:175:3: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:188:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:194:9: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:195:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:199:14: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:200:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/tar/tar.c:202:7: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:207:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/tar/tar.c:208:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:219:15: branch_false: following 'false' branch (when 'i >= copysize')...
nbdkit-1.45.12/filters/tar/tar.c:246:3: branch_false: ...to here
nbdkit-1.45.12/filters/tar/tar.c:246:3: danger: 'popen(cmd, "w")' leaks here; was allocated at [(13)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/12)
Error: CPPCHECK_WARNING (CWE-401): [#def182]
nbdkit-1.45.12/filters/time-limit/time-limit.c:101: error[memleak]: Memory leak: h
Error: GCC_ANALYZER_WARNING (CWE-401): [#def183]
nbdkit-1.45.12/filters/xz/blkcache.c:71:5: warning[-Wanalyzer-malloc-leak]: leak of 'c'
nbdkit-1.45.12/filters/xz/blkcache.c:63:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/xz/blkcache.c:64:6: branch_false: following 'false' branch (when 'c' is non-NULL)...
nbdkit-1.45.12/filters/xz/blkcache.c:69:15: branch_false: ...to here
nbdkit-1.45.12/filters/xz/blkcache.c:70:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/xz/blkcache.c:71:5: branch_true: ...to here
nbdkit-1.45.12/filters/xz/blkcache.c:71:5: danger: 'c' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def184]
nbdkit-1.45.12/filters/xz/xz.c:108:10: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/filters/xz/xz.c:99:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/xz/xz.c:102:7: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xz.c:102:7: acquire_memory: allocated here
nbdkit-1.45.12/filters/xz/xz.c:103:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/filters/xz/xz.c:108:10: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xz.c:108:10: danger: 'h' leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def185]
nbdkit-1.45.12/filters/xz/xzfile.c:85:5: warning[-Wanalyzer-malloc-leak]: leak of 'xz'
nbdkit-1.45.12/filters/xz/xzfile.c:77:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/xz/xzfile.c:78:6: branch_false: following 'false' branch (when 'xz' is non-NULL)...
nbdkit-1.45.12/filters/xz/xzfile.c:84:8: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:84:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:85:5: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:85:5: danger: 'xz' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def186]
nbdkit-1.45.12/filters/xz/xzfile.c:120:7: warning[-Wanalyzer-malloc-leak]: leak of 'xz'
nbdkit-1.45.12/filters/xz/xzfile.c:72:1: enter_function: entry to 'xzfile_open'
nbdkit-1.45.12/filters/xz/xzfile.c:77:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/xz/xzfile.c:78:6: branch_false: following 'false' branch (when 'xz' is non-NULL)...
nbdkit-1.45.12/filters/xz/xzfile.c:84:8: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:84:8: call_function: calling 'check_header_magic' from 'xzfile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def187]
nbdkit-1.45.12/filters/xz/xzfile.c:121:5: warning[-Wanalyzer-malloc-leak]: leak of 'xz'
nbdkit-1.45.12/filters/xz/xzfile.c:72:1: enter_function: entry to 'xzfile_open'
nbdkit-1.45.12/filters/xz/xzfile.c:77:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/xz/xzfile.c:78:6: branch_false: following 'false' branch (when 'xz' is non-NULL)...
nbdkit-1.45.12/filters/xz/xzfile.c:84:8: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:84:8: call_function: calling 'check_header_magic' from 'xzfile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def188]
nbdkit-1.45.12/filters/xz/xzfile.c:124:7: warning[-Wanalyzer-malloc-leak]: leak of 'xz'
nbdkit-1.45.12/filters/xz/xzfile.c:72:1: enter_function: entry to 'xzfile_open'
nbdkit-1.45.12/filters/xz/xzfile.c:77:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/xz/xzfile.c:78:6: branch_false: following 'false' branch (when 'xz' is non-NULL)...
nbdkit-1.45.12/filters/xz/xzfile.c:84:8: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:84:8: call_function: calling 'check_header_magic' from 'xzfile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def189]
nbdkit-1.45.12/filters/xz/xzfile.c:125:5: warning[-Wanalyzer-malloc-leak]: leak of 'xz'
nbdkit-1.45.12/filters/xz/xzfile.c:72:1: enter_function: entry to 'xzfile_open'
nbdkit-1.45.12/filters/xz/xzfile.c:77:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/xz/xzfile.c:78:6: branch_false: following 'false' branch (when 'xz' is non-NULL)...
nbdkit-1.45.12/filters/xz/xzfile.c:84:8: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:84:8: call_function: calling 'check_header_magic' from 'xzfile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def190]
nbdkit-1.45.12/filters/xz/xzfile.c:155:16: warning[-Wanalyzer-malloc-leak]: leak of 'xz'
nbdkit-1.45.12/filters/xz/xzfile.c:72:1: enter_function: entry to 'xzfile_open'
nbdkit-1.45.12/filters/xz/xzfile.c:77:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/xz/xzfile.c:78:6: branch_false: following 'false' branch (when 'xz' is non-NULL)...
nbdkit-1.45.12/filters/xz/xzfile.c:84:8: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:84:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:90:13: branch_true: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:90:13: call_function: calling 'parse_indexes' from 'xzfile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def191]
nbdkit-1.45.12/filters/xz/xzfile.c:157:5: warning[-Wanalyzer-malloc-leak]: leak of 'xz'
nbdkit-1.45.12/filters/xz/xzfile.c:72:1: enter_function: entry to 'xzfile_open'
nbdkit-1.45.12/filters/xz/xzfile.c:77:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/xz/xzfile.c:78:6: branch_false: following 'false' branch (when 'xz' is non-NULL)...
nbdkit-1.45.12/filters/xz/xzfile.c:84:8: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:84:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:90:13: branch_true: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:90:13: call_function: calling 'parse_indexes' from 'xzfile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def192]
nbdkit-1.45.12/filters/xz/xzfile.c:161:5: warning[-Wanalyzer-malloc-leak]: leak of 'xz'
nbdkit-1.45.12/filters/xz/xzfile.c:72:1: enter_function: entry to 'xzfile_open'
nbdkit-1.45.12/filters/xz/xzfile.c:77:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/xz/xzfile.c:78:6: branch_false: following 'false' branch (when 'xz' is non-NULL)...
nbdkit-1.45.12/filters/xz/xzfile.c:84:8: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:84:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:90:13: branch_true: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:90:13: call_function: calling 'parse_indexes' from 'xzfile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def193]
nbdkit-1.45.12/filters/xz/xzfile.c:167:5: warning[-Wanalyzer-malloc-leak]: leak of 'xz'
nbdkit-1.45.12/filters/xz/xzfile.c:72:1: enter_function: entry to 'xzfile_open'
nbdkit-1.45.12/filters/xz/xzfile.c:77:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/xz/xzfile.c:78:6: branch_false: following 'false' branch (when 'xz' is non-NULL)...
nbdkit-1.45.12/filters/xz/xzfile.c:84:8: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:84:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:90:13: branch_true: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:90:13: call_function: calling 'parse_indexes' from 'xzfile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def194]
nbdkit-1.45.12/filters/xz/xzfile.c:170:7: warning[-Wanalyzer-malloc-leak]: leak of 'xz'
nbdkit-1.45.12/filters/xz/xzfile.c:72:1: enter_function: entry to 'xzfile_open'
nbdkit-1.45.12/filters/xz/xzfile.c:77:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/xz/xzfile.c:78:6: branch_false: following 'false' branch (when 'xz' is non-NULL)...
nbdkit-1.45.12/filters/xz/xzfile.c:84:8: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:84:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:90:13: branch_true: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:90:13: call_function: calling 'parse_indexes' from 'xzfile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def195]
nbdkit-1.45.12/filters/xz/xzfile.c:174:9: warning[-Wanalyzer-malloc-leak]: leak of 'xz'
nbdkit-1.45.12/filters/xz/xzfile.c:72:1: enter_function: entry to 'xzfile_open'
nbdkit-1.45.12/filters/xz/xzfile.c:77:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/xz/xzfile.c:78:6: branch_false: following 'false' branch (when 'xz' is non-NULL)...
nbdkit-1.45.12/filters/xz/xzfile.c:84:8: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:84:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:90:13: branch_true: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:90:13: call_function: calling 'parse_indexes' from 'xzfile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def196]
nbdkit-1.45.12/filters/xz/xzfile.c:176:7: warning[-Wanalyzer-malloc-leak]: leak of 'xz'
nbdkit-1.45.12/filters/xz/xzfile.c:72:1: enter_function: entry to 'xzfile_open'
nbdkit-1.45.12/filters/xz/xzfile.c:77:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/xz/xzfile.c:78:6: branch_false: following 'false' branch (when 'xz' is non-NULL)...
nbdkit-1.45.12/filters/xz/xzfile.c:84:8: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:84:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:90:13: branch_true: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:90:13: call_function: calling 'parse_indexes' from 'xzfile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def197]
nbdkit-1.45.12/filters/xz/xzfile.c:190:5: warning[-Wanalyzer-malloc-leak]: leak of 'xz'
nbdkit-1.45.12/filters/xz/xzfile.c:72:1: enter_function: entry to 'xzfile_open'
nbdkit-1.45.12/filters/xz/xzfile.c:77:8: acquire_memory: allocated here
nbdkit-1.45.12/filters/xz/xzfile.c:78:6: branch_false: following 'false' branch (when 'xz' is non-NULL)...
nbdkit-1.45.12/filters/xz/xzfile.c:84:8: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:84:6: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:90:13: branch_true: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:90:13: call_function: calling 'parse_indexes' from 'xzfile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def198]
nbdkit-1.45.12/filters/xz/xzfile.c:364:31: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
nbdkit-1.45.12/filters/xz/xzfile.c:372:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:378:32: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:379:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:384:16: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:395:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:399:3: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:401:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:406:3: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:412:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:418:11: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:421:6: branch_false: following 'false' branch (when 'r == 0')...
nbdkit-1.45.12/filters/xz/xzfile.c:429:7: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:430:6: branch_false: following 'false' branch (when 'r == 0')...
nbdkit-1.45.12/filters/xz/xzfile.c:436:7: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:437:6: branch_false: following 'false' branch (when 'r == 0')...
nbdkit-1.45.12/filters/xz/xzfile.c:442:10: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:443:6: branch_false: following 'false' branch (when 'data' is non-NULL)...
nbdkit-1.45.12/filters/xz/xzfile.c:452:9: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:452:9: acquire_memory: allocated here
nbdkit-1.45.12/filters/xz/xzfile.c:453:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:458:3: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:463:8: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:464:7: branch_true: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:465:10: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:466:25: branch_true: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:467:10: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:480:6: branch_false: following 'false' branch (when 'r == 1')...
nbdkit-1.45.12/filters/xz/xzfile.c:485:3: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:487:15: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:364:31: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:364:31: danger: 'buf' leaks here; was allocated at [(19)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def199]
nbdkit-1.45.12/filters/xz/xzfile.c:469:13: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
nbdkit-1.45.12/filters/xz/xzfile.c:372:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:378:32: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:379:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:384:16: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:395:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:399:3: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:401:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:406:3: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:412:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:418:11: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:421:6: branch_false: following 'false' branch (when 'r == 0')...
nbdkit-1.45.12/filters/xz/xzfile.c:429:7: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:430:6: branch_false: following 'false' branch (when 'r == 0')...
nbdkit-1.45.12/filters/xz/xzfile.c:436:7: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:437:6: branch_false: following 'false' branch (when 'r == 0')...
nbdkit-1.45.12/filters/xz/xzfile.c:442:10: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:443:6: branch_false: following 'false' branch (when 'data' is non-NULL)...
nbdkit-1.45.12/filters/xz/xzfile.c:452:9: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:452:9: acquire_memory: allocated here
nbdkit-1.45.12/filters/xz/xzfile.c:453:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:458:3: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:463:8: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:464:7: branch_true: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:465:10: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:467:11: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:467:10: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:468:9: branch_true: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:469:13: danger: 'buf' leaks here; was allocated at [(19)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def200]
nbdkit-1.45.12/filters/xz/xzfile.c:469:13: warning[-Wanalyzer-malloc-leak]: leak of 'data'
nbdkit-1.45.12/filters/xz/xzfile.c:372:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:378:32: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:379:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:384:16: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:395:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:399:3: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:401:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:406:3: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:412:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:418:11: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:421:6: branch_false: following 'false' branch (when 'r == 0')...
nbdkit-1.45.12/filters/xz/xzfile.c:429:7: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:430:6: branch_false: following 'false' branch (when 'r == 0')...
nbdkit-1.45.12/filters/xz/xzfile.c:436:7: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:437:6: branch_false: following 'false' branch (when 'r == 0')...
nbdkit-1.45.12/filters/xz/xzfile.c:442:10: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:442:10: acquire_memory: allocated here
nbdkit-1.45.12/filters/xz/xzfile.c:443:6: branch_false: following 'false' branch (when 'data' is non-NULL)...
nbdkit-1.45.12/filters/xz/xzfile.c:452:9: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:453:6: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:458:3: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:463:8: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:464:7: branch_true: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:465:10: branch_false: following 'false' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:467:11: branch_false: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:467:10: branch_true: following 'true' branch...
nbdkit-1.45.12/filters/xz/xzfile.c:468:9: branch_true: ...to here
nbdkit-1.45.12/filters/xz/xzfile.c:469:13: danger: 'data' leaks here; was allocated at [(17)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def201]
nbdkit-1.45.12/plugins/blkio/blkio.c:186:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/blkio/blkio.c:180:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/blkio/blkio.c:181:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/blkio/blkio.c:186:7: branch_false: ...to here
nbdkit-1.45.12/plugins/blkio/blkio.c:186:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def202]
nbdkit-1.45.12/plugins/curl/config.c:595:11: warning[-Wanalyzer-malloc-leak]: leak of 'ch'
nbdkit-1.45.12/plugins/curl/config.c:588:8: acquire_memory: allocated here
nbdkit-1.45.12/plugins/curl/config.c:589:6: branch_false: following 'false' branch (when 'ch' is non-NULL)...
nbdkit-1.45.12/plugins/curl/config.c:595:11: branch_false: ...to here
nbdkit-1.45.12/plugins/curl/config.c:595:11: danger: 'ch' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def203]
nbdkit-1.45.12/plugins/curl/config.c:597:5: warning[-Wanalyzer-malloc-leak]: leak of 'ch'
nbdkit-1.45.12/plugins/curl/config.c:588:8: acquire_memory: allocated here
nbdkit-1.45.12/plugins/curl/config.c:589:6: branch_false: following 'false' branch (when 'ch' is non-NULL)...
nbdkit-1.45.12/plugins/curl/config.c:595:11: branch_false: ...to here
nbdkit-1.45.12/plugins/curl/config.c:596:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/curl/config.c:597:5: branch_true: ...to here
nbdkit-1.45.12/plugins/curl/config.c:597:5: danger: 'ch' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-758): [#def204]
nbdkit-1.45.12/plugins/data/format.c:1750: warning[objectIndex]: The address of variable 'root' might be accessed at non-zero index.
Error: CPPCHECK_WARNING (CWE-404): [#def205]
nbdkit-1.45.12/plugins/data/format.c:2019: error[resourceLeak]: Resource leak: fp
Error: GCC_ANALYZER_WARNING (CWE-401): [#def206]
nbdkit-1.45.12/plugins/eval/call.c:66:22: warning[-Wanalyzer-malloc-leak]: leak of 'fp'
nbdkit-1.45.12/plugins/eval/call.c:70:8: acquire_memory: allocated here
nbdkit-1.45.12/plugins/eval/call.c:71:6: branch_false: following 'false' branch (when 'fp' is non-NULL)...
nbdkit-1.45.12/plugins/eval/call.c:74:3: branch_false: ...to here
nbdkit-1.45.12/plugins/eval/call.c:75:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/eval/call.c:76:5: branch_true: ...to here
nbdkit-1.45.12/plugins/eval/call.c:66:22: danger: 'fp' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def207]
nbdkit-1.45.12/plugins/eval/eval.c:190:7: warning[-Wanalyzer-file-leak]: leak of FILE 'fopen(script, "w")'
nbdkit-1.45.12/plugins/eval/eval.c:222:1: enter_function: entry to 'eval_load'
nbdkit-1.45.12/plugins/eval/eval.c:230:13: call_function: calling 'create_script' from 'eval_load'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def208]
nbdkit-1.45.12/plugins/eval/eval.c:190:7: warning[-Wanalyzer-malloc-leak]: leak of 'fopen(script, "w")'
nbdkit-1.45.12/plugins/eval/eval.c:222:1: enter_function: entry to 'eval_load'
nbdkit-1.45.12/plugins/eval/eval.c:230:13: call_function: calling 'create_script' from 'eval_load'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def209]
nbdkit-1.45.12/plugins/eval/eval.c:198:5: warning[-Wanalyzer-file-leak]: leak of FILE 'fopen(script, "w")'
nbdkit-1.45.12/plugins/eval/eval.c:334:1: enter_function: entry to 'create_can_wrapper'
nbdkit-1.45.12/plugins/eval/eval.c:341:18: call_function: calling 'create_script' from 'create_can_wrapper'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def210]
nbdkit-1.45.12/plugins/eval/eval.c:198:5: warning[-Wanalyzer-malloc-leak]: leak of 'fopen(script, "w")'
nbdkit-1.45.12/plugins/eval/eval.c:334:1: enter_function: entry to 'create_can_wrapper'
nbdkit-1.45.12/plugins/eval/eval.c:341:18: call_function: calling 'create_script' from 'create_can_wrapper'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def211]
nbdkit-1.45.12/plugins/eval/methods.c:252:26: warning[-Wanalyzer-malloc-leak]: leak of 'name'
nbdkit-1.45.12/plugins/eval/methods.c:240:1: enter_function: entry to 'parse_exports'
nbdkit-1.45.12/plugins/eval/methods.c:248:12: call_function: calling 'skip_prefix' from 'parse_exports'
nbdkit-1.45.12/plugins/eval/methods.c:248:12: return_function: returning to 'parse_exports' from 'skip_prefix'
nbdkit-1.45.12/plugins/eval/methods.c:248:6: branch_true: following 'true' branch...
branch_true: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:250:12: branch_true: following 'true' branch (when 'd' is non-NULL)...
nbdkit-1.45.12/plugins/eval/methods.c:251:11: branch_true: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:251:11: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/eval/methods.c:252:45: branch_true: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:252:33: acquire_memory: allocated here
nbdkit-1.45.12/plugins/eval/methods.c:254:10: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/eval/methods.c:254:11: branch_false: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:252:26: danger: 'name' leaks here; was allocated at [(15)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def212]
nbdkit-1.45.12/plugins/eval/methods.c:278:26: warning[-Wanalyzer-malloc-leak]: leak of 'desc'
nbdkit-1.45.12/plugins/eval/methods.c:240:1: enter_function: entry to 'parse_exports'
nbdkit-1.45.12/plugins/eval/methods.c:248:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/eval/methods.c:263:17: branch_false: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:263:17: call_function: calling 'skip_prefix' from 'parse_exports'
nbdkit-1.45.12/plugins/eval/methods.c:263:17: return_function: returning to 'parse_exports' from 'skip_prefix'
nbdkit-1.45.12/plugins/eval/methods.c:263:11: branch_true: following 'true' branch...
branch_true: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:268:12: branch_true: following 'true' branch (when 'p' is non-NULL)...
nbdkit-1.45.12/plugins/eval/methods.c:268:22: branch_true: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:268:12: branch_true: following 'true' branch (when 'p' is non-NULL)...
nbdkit-1.45.12/plugins/eval/methods.c:269:11: branch_true: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:270:10: branch_false: following 'false' branch (when 'p' is NULL)...
nbdkit-1.45.12/plugins/eval/methods.c:272:11: branch_false: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:268:12: branch_false: following 'false' branch (when 'p' is NULL)...
branch_false: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:275:12: branch_true: following 'true' branch (when 'n < d')...
nbdkit-1.45.12/plugins/eval/methods.c:276:11: branch_true: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:279:33: acquire_memory: allocated here
nbdkit-1.45.12/plugins/eval/methods.c:280:10: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/eval/methods.c:280:11: branch_false: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:280:11: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/eval/methods.c:284:11: branch_false: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:284:10: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/eval/methods.c:279:26: branch_true: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:278:26: danger: 'desc' leaks here; was allocated at [(26)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/25)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def213]
nbdkit-1.45.12/plugins/eval/methods.c:278:26: warning[-Wanalyzer-malloc-leak]: leak of 'name'
nbdkit-1.45.12/plugins/eval/methods.c:240:1: enter_function: entry to 'parse_exports'
nbdkit-1.45.12/plugins/eval/methods.c:248:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/eval/methods.c:263:17: branch_false: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:263:17: call_function: calling 'skip_prefix' from 'parse_exports'
nbdkit-1.45.12/plugins/eval/methods.c:263:17: return_function: returning to 'parse_exports' from 'skip_prefix'
nbdkit-1.45.12/plugins/eval/methods.c:263:11: branch_true: following 'true' branch...
branch_true: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:268:12: branch_true: following 'true' branch (when 'p' is non-NULL)...
nbdkit-1.45.12/plugins/eval/methods.c:268:22: branch_true: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:268:12: branch_true: following 'true' branch (when 'p' is non-NULL)...
nbdkit-1.45.12/plugins/eval/methods.c:269:11: branch_true: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:270:10: branch_false: following 'false' branch (when 'p' is NULL)...
nbdkit-1.45.12/plugins/eval/methods.c:272:11: branch_false: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:268:12: branch_false: following 'false' branch (when 'p' is NULL)...
branch_false: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:275:12: branch_true: following 'true' branch (when 'n < d')...
nbdkit-1.45.12/plugins/eval/methods.c:276:11: branch_true: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:278:33: acquire_memory: allocated here
nbdkit-1.45.12/plugins/eval/methods.c:280:10: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/eval/methods.c:280:11: branch_false: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:278:26: danger: 'name' leaks here; was allocated at [(26)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/25)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def214]
nbdkit-1.45.12/plugins/eval/methods.c:293:26: warning[-Wanalyzer-malloc-leak]: leak of 'name'
nbdkit-1.45.12/plugins/eval/methods.c:248:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/eval/methods.c:263:17: branch_false: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:263:11: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/eval/methods.c:291:9: branch_false: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:291:9: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:292:12: branch_true: following 'true' branch (when 'p' is non-NULL)...
nbdkit-1.45.12/plugins/eval/methods.c:293:45: branch_true: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:293:33: acquire_memory: allocated here
nbdkit-1.45.12/plugins/eval/methods.c:294:10: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/eval/methods.c:298:11: branch_false: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:293:26: danger: 'name' leaks here; was allocated at [(10)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def215]
nbdkit-1.45.12/plugins/eval/methods.c:396:11: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/eval/methods.c:386:25: acquire_memory: allocated here
nbdkit-1.45.12/plugins/eval/methods.c:388:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/eval/methods.c:392:3: branch_false: ...to here
nbdkit-1.45.12/plugins/eval/methods.c:396:11: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def216]
nbdkit-1.45.12/plugins/example2/example2.c:136:11: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/example2/example2.c:130:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/example2/example2.c:131:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/example2/example2.c:136:11: branch_false: ...to here
nbdkit-1.45.12/plugins/example2/example2.c:136:11: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def217]
nbdkit-1.45.12/plugins/example2/example2.c:138:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/example2/example2.c:130:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/example2/example2.c:131:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/example2/example2.c:136:11: branch_false: ...to here
nbdkit-1.45.12/plugins/example2/example2.c:137:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/example2/example2.c:138:5: branch_true: ...to here
nbdkit-1.45.12/plugins/example2/example2.c:138:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def218]
nbdkit-1.45.12/plugins/example3/example3.c:118:11: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/example3/example3.c:112:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/example3/example3.c:113:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/example3/example3.c:118:11: branch_false: ...to here
nbdkit-1.45.12/plugins/example3/example3.c:118:11: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def219]
nbdkit-1.45.12/plugins/example3/example3.c:120:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/example3/example3.c:112:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/example3/example3.c:113:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/example3/example3.c:118:11: branch_false: ...to here
nbdkit-1.45.12/plugins/example3/example3.c:119:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/example3/example3.c:120:5: branch_true: ...to here
nbdkit-1.45.12/plugins/example3/example3.c:120:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def220]
nbdkit-1.45.12/plugins/example3/example3.c:129:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/example3/example3.c:112:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/example3/example3.c:113:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/example3/example3.c:118:11: branch_false: ...to here
nbdkit-1.45.12/plugins/example3/example3.c:119:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/example3/example3.c:125:3: branch_false: ...to here
nbdkit-1.45.12/plugins/example3/example3.c:128:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/example3/example3.c:129:5: branch_true: ...to here
nbdkit-1.45.12/plugins/example3/example3.c:129:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def221]
nbdkit-1.45.12/plugins/example3/example3.c:130:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/example3/example3.c:112:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/example3/example3.c:113:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/example3/example3.c:118:11: branch_false: ...to here
nbdkit-1.45.12/plugins/example3/example3.c:119:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/example3/example3.c:125:3: branch_false: ...to here
nbdkit-1.45.12/plugins/example3/example3.c:128:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/example3/example3.c:129:5: branch_true: ...to here
nbdkit-1.45.12/plugins/example3/example3.c:130:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def222]
nbdkit-1.45.12/plugins/file/file.c:432:19: warning[-Wanalyzer-malloc-leak]: leak of 'fdopendir(dfd)'
nbdkit-1.45.12/plugins/file/file.c:460:1: enter_function: entry to 'file_list_exports'
nbdkit-1.45.12/plugins/file/file.c:484:8: branch_false: following 'false' branch (when 'dfd != -1')...
nbdkit-1.45.12/plugins/file/file.c:488:11: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:488:11: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:489:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:493:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:493:9: call_function: calling 'list_exports_of_directory' from 'file_list_exports'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def223]
nbdkit-1.45.12/plugins/file/file.c:432:19: warning[-Wanalyzer-malloc-leak]: leak of 'opendir(directory)'
nbdkit-1.45.12/plugins/file/file.c:460:1: enter_function: entry to 'file_list_exports'
nbdkit-1.45.12/plugins/file/file.c:473:11: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:474:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:478:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:478:9: call_function: calling 'list_exports_of_directory' from 'file_list_exports'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def224]
nbdkit-1.45.12/plugins/file/file.c:488:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'dfd'
nbdkit-1.45.12/plugins/file/file.c:483:11: acquire_resource: opened here
nbdkit-1.45.12/plugins/file/file.c:484:8: branch_false: following 'false' branch (when 'dfd != -1')...
nbdkit-1.45.12/plugins/file/file.c:488:11: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:488:11: danger: 'dfd' leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def225]
nbdkit-1.45.12/plugins/file/file.c:530:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'dfd'
nbdkit-1.45.12/plugins/file/file.c:559:1: enter_function: entry to 'file_open'
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:648:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:651:15: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:652:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:656:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:656:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:662:11: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:662:11: acquire_resource: opened here
nbdkit-1.45.12/plugins/file/file.c:663:8: branch_false: following 'false' branch (when 'dfd != -1')...
nbdkit-1.45.12/plugins/file/file.c:667:46: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:667:9: call_function: calling 'open_file_by_name' from 'file_open'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def226]
nbdkit-1.45.12/plugins/file/file.c:530:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(directory, 589824)'
nbdkit-1.45.12/plugins/file/file.c:559:1: enter_function: entry to 'file_open'
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:587:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:590:15: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:591:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:595:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:595:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:600:11: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:600:11: acquire_resource: opened here
nbdkit-1.45.12/plugins/file/file.c:601:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:605:46: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:605:9: call_function: calling 'open_file_by_name' from 'file_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def227]
nbdkit-1.45.12/plugins/file/file.c:530:5: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
nbdkit-1.45.12/plugins/file/file.c:559:1: enter_function: entry to 'file_open'
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:574:15: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:575:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:579:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:579:9: call_function: calling 'open_file_by_name' from 'file_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def228]
nbdkit-1.45.12/plugins/file/file.c:530:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/file/file.c:559:1: enter_function: entry to 'file_open'
nbdkit-1.45.12/plugins/file/file.c:563:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:575:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:579:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:579:9: call_function: calling 'open_file_by_name' from 'file_open'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def229]
nbdkit-1.45.12/plugins/file/file.c:541:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'dfd'
nbdkit-1.45.12/plugins/file/file.c:559:1: enter_function: entry to 'file_open'
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:648:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:651:15: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:652:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:656:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:656:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:662:11: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:662:11: acquire_resource: opened here
nbdkit-1.45.12/plugins/file/file.c:663:8: branch_false: following 'false' branch (when 'dfd != -1')...
nbdkit-1.45.12/plugins/file/file.c:667:46: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:667:9: call_function: calling 'open_file_by_name' from 'file_open'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def230]
nbdkit-1.45.12/plugins/file/file.c:541:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(directory, 589824)'
nbdkit-1.45.12/plugins/file/file.c:559:1: enter_function: entry to 'file_open'
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:587:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:590:15: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:591:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:595:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:595:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:600:11: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:600:11: acquire_resource: opened here
nbdkit-1.45.12/plugins/file/file.c:601:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:605:46: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:605:9: call_function: calling 'open_file_by_name' from 'file_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def231]
nbdkit-1.45.12/plugins/file/file.c:541:11: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
nbdkit-1.45.12/plugins/file/file.c:559:1: enter_function: entry to 'file_open'
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:574:15: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:575:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:579:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:579:9: call_function: calling 'open_file_by_name' from 'file_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def232]
nbdkit-1.45.12/plugins/file/file.c:541:11: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/file/file.c:559:1: enter_function: entry to 'file_open'
nbdkit-1.45.12/plugins/file/file.c:563:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:575:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:579:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:579:9: call_function: calling 'open_file_by_name' from 'file_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def233]
nbdkit-1.45.12/plugins/file/file.c:543:5: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
nbdkit-1.45.12/plugins/file/file.c:559:1: enter_function: entry to 'file_open'
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:574:15: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:575:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:579:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:579:9: call_function: calling 'open_file_by_name' from 'file_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def234]
nbdkit-1.45.12/plugins/file/file.c:543:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/file/file.c:559:1: enter_function: entry to 'file_open'
nbdkit-1.45.12/plugins/file/file.c:563:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:575:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:579:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:579:9: call_function: calling 'open_file_by_name' from 'file_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def235]
nbdkit-1.45.12/plugins/file/file.c:546:13: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/file/file.c:559:1: enter_function: entry to 'file_open'
nbdkit-1.45.12/plugins/file/file.c:563:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:575:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:579:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:579:9: call_function: calling 'open_file_by_name' from 'file_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def236]
nbdkit-1.45.12/plugins/file/file.c:550:5: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
nbdkit-1.45.12/plugins/file/file.c:559:1: enter_function: entry to 'file_open'
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:574:15: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:575:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:579:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:579:9: call_function: calling 'open_file_by_name' from 'file_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def237]
nbdkit-1.45.12/plugins/file/file.c:550:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/file/file.c:559:1: enter_function: entry to 'file_open'
nbdkit-1.45.12/plugins/file/file.c:563:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:575:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:579:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:579:9: call_function: calling 'open_file_by_name' from 'file_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def238]
nbdkit-1.45.12/plugins/file/file.c:576:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/file/file.c:563:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:575:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/file/file.c:576:7: branch_true: ...to here
nbdkit-1.45.12/plugins/file/file.c:576:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def239]
nbdkit-1.45.12/plugins/file/file.c:585:31: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/file/file.c:563:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:585:31: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def240]
nbdkit-1.45.12/plugins/file/file.c:592:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/file/file.c:563:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:587:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:590:15: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:591:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/file/file.c:592:7: branch_true: ...to here
nbdkit-1.45.12/plugins/file/file.c:592:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def241]
nbdkit-1.45.12/plugins/file/file.c:596:7: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:587:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:590:15: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:590:15: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:591:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:595:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:595:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/file/file.c:596:7: branch_true: ...to here
nbdkit-1.45.12/plugins/file/file.c:596:7: danger: '<unknown>' leaks here; was allocated at [(7)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def242]
nbdkit-1.45.12/plugins/file/file.c:596:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/file/file.c:563:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:587:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:590:15: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:591:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:595:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:595:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/file/file.c:596:7: branch_true: ...to here
nbdkit-1.45.12/plugins/file/file.c:596:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def243]
nbdkit-1.45.12/plugins/file/file.c:600:11: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:587:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:590:15: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:590:15: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:591:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:595:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:595:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:600:11: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:600:11: danger: '<unknown>' leaks here; was allocated at [(7)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def244]
nbdkit-1.45.12/plugins/file/file.c:600:11: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/file/file.c:563:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:587:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:590:15: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:591:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:595:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:595:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:600:11: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:600:11: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def245]
nbdkit-1.45.12/plugins/file/file.c:602:7: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:587:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:590:15: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:590:15: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:591:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:595:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:595:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:600:11: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:601:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/file/file.c:602:7: branch_true: ...to here
nbdkit-1.45.12/plugins/file/file.c:602:7: danger: '<unknown>' leaks here; was allocated at [(7)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def246]
nbdkit-1.45.12/plugins/file/file.c:602:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/file/file.c:563:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:587:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:590:15: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:591:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:595:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:595:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:600:11: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:601:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/file/file.c:602:7: branch_true: ...to here
nbdkit-1.45.12/plugins/file/file.c:602:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def247]
nbdkit-1.45.12/plugins/file/file.c:606:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/file/file.c:559:1: enter_function: entry to 'file_open'
nbdkit-1.45.12/plugins/file/file.c:563:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:587:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:590:15: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:591:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:595:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:595:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:600:11: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:601:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:605:46: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:605:9: call_function: calling 'open_file_by_name' from 'file_open'
nbdkit-1.45.12/plugins/file/file.c:605:9: return_function: returning to 'file_open' from 'open_file_by_name'
nbdkit-1.45.12/plugins/file/file.c:605:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/file/file.c:606:7: branch_true: ...to here
nbdkit-1.45.12/plugins/file/file.c:606:7: danger: 'h' leaks here; was allocated at [(2)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def248]
nbdkit-1.45.12/plugins/file/file.c:609:5: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
nbdkit-1.45.12/plugins/file/file.c:559:1: enter_function: entry to 'file_open'
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:587:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:590:15: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:590:15: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:591:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:595:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:595:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:600:11: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:601:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:605:46: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:605:9: call_function: calling 'open_file_by_name' from 'file_open'
nbdkit-1.45.12/plugins/file/file.c:605:9: return_function: returning to 'file_open' from 'open_file_by_name'
nbdkit-1.45.12/plugins/file/file.c:605:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:609:5: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:609:5: danger: '<unknown>' leaks here; was allocated at [(8)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def249]
nbdkit-1.45.12/plugins/file/file.c:609:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/file/file.c:559:1: enter_function: entry to 'file_open'
nbdkit-1.45.12/plugins/file/file.c:563:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:587:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:590:15: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:591:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:595:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:595:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:600:11: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:601:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:605:46: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:605:9: call_function: calling 'open_file_by_name' from 'file_open'
nbdkit-1.45.12/plugins/file/file.c:605:9: return_function: returning to 'file_open' from 'open_file_by_name'
nbdkit-1.45.12/plugins/file/file.c:605:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:609:5: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:609:5: danger: 'h' leaks here; was allocated at [(2)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def250]
nbdkit-1.45.12/plugins/file/file.c:646:31: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/file/file.c:563:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:646:31: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def251]
nbdkit-1.45.12/plugins/file/file.c:653:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/file/file.c:563:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:648:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:651:15: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:652:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/file/file.c:653:7: branch_true: ...to here
nbdkit-1.45.12/plugins/file/file.c:653:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def252]
nbdkit-1.45.12/plugins/file/file.c:657:7: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:648:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:651:15: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:651:15: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:652:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:656:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:656:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/file/file.c:657:7: branch_true: ...to here
nbdkit-1.45.12/plugins/file/file.c:657:7: danger: '<unknown>' leaks here; was allocated at [(7)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def253]
nbdkit-1.45.12/plugins/file/file.c:657:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/file/file.c:563:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:648:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:651:15: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:652:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:656:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:656:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/file/file.c:657:7: branch_true: ...to here
nbdkit-1.45.12/plugins/file/file.c:657:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def254]
nbdkit-1.45.12/plugins/file/file.c:664:7: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:648:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:651:15: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:651:15: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:652:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:656:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:656:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:662:11: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:663:8: branch_true: following 'true' branch (when 'dfd == -1')...
nbdkit-1.45.12/plugins/file/file.c:664:7: branch_true: ...to here
nbdkit-1.45.12/plugins/file/file.c:664:7: danger: '<unknown>' leaks here; was allocated at [(7)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def255]
nbdkit-1.45.12/plugins/file/file.c:664:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/file/file.c:563:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:648:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:651:15: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:652:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:656:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:656:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:662:11: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:663:8: branch_true: following 'true' branch (when 'dfd == -1')...
nbdkit-1.45.12/plugins/file/file.c:664:7: branch_true: ...to here
nbdkit-1.45.12/plugins/file/file.c:664:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def256]
nbdkit-1.45.12/plugins/file/file.c:668:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/file/file.c:559:1: enter_function: entry to 'file_open'
nbdkit-1.45.12/plugins/file/file.c:563:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:648:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:651:15: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:652:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:656:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:656:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:662:11: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:663:8: branch_false: following 'false' branch (when 'dfd != -1')...
nbdkit-1.45.12/plugins/file/file.c:667:46: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:667:9: call_function: calling 'open_file_by_name' from 'file_open'
nbdkit-1.45.12/plugins/file/file.c:667:9: return_function: returning to 'file_open' from 'open_file_by_name'
nbdkit-1.45.12/plugins/file/file.c:667:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/file/file.c:668:7: branch_true: ...to here
nbdkit-1.45.12/plugins/file/file.c:668:7: danger: 'h' leaks here; was allocated at [(2)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def257]
nbdkit-1.45.12/plugins/file/file.c:671:5: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
nbdkit-1.45.12/plugins/file/file.c:559:1: enter_function: entry to 'file_open'
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:648:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:651:15: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:651:15: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:652:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:656:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:656:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:662:11: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:663:8: branch_false: following 'false' branch (when 'dfd != -1')...
nbdkit-1.45.12/plugins/file/file.c:667:46: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:667:9: call_function: calling 'open_file_by_name' from 'file_open'
nbdkit-1.45.12/plugins/file/file.c:667:9: return_function: returning to 'file_open' from 'open_file_by_name'
nbdkit-1.45.12/plugins/file/file.c:667:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:671:5: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:671:5: danger: '<unknown>' leaks here; was allocated at [(8)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def258]
nbdkit-1.45.12/plugins/file/file.c:671:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/file/file.c:559:1: enter_function: entry to 'file_open'
nbdkit-1.45.12/plugins/file/file.c:563:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/file/file.c:564:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/file/file.c:568:3: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:648:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:651:15: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:652:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:656:9: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:656:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:662:11: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:663:8: branch_false: following 'false' branch (when 'dfd != -1')...
nbdkit-1.45.12/plugins/file/file.c:667:46: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:667:9: call_function: calling 'open_file_by_name' from 'file_open'
nbdkit-1.45.12/plugins/file/file.c:667:9: return_function: returning to 'file_open' from 'open_file_by_name'
nbdkit-1.45.12/plugins/file/file.c:667:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/file/file.c:671:5: branch_false: ...to here
nbdkit-1.45.12/plugins/file/file.c:671:5: danger: 'h' leaks here; was allocated at [(2)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def259]
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:470:8: warning[-Wanalyzer-malloc-leak]: leak of 'lfns'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:83:1: enter_function: entry to 'create_directory'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:97:9: call_function: calling 'add_volume_label' from 'create_directory'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:97:9: return_function: returning to 'create_directory' from 'add_volume_label'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:97:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:110:10: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:110:10: acquire_memory: allocated here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:111:6: branch_false: following 'false' branch (when 'lfns' is non-NULL)...
branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:115:15: branch_false: following 'false' branch (when 'i >= nr_subdirs')...
branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:122:15: branch_false: following 'false' branch (when 'i >= nr_files')...
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:130:7: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:130:7: call_function: calling 'convert_long_file_names' from 'create_directory'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def260]
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:471:6: warning[-Wanalyzer-malloc-leak]: leak of 'iconv_open(&lfn_encoding, "UTF-8")'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:470:8: acquire_memory: allocated here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:471:6: danger: 'iconv_open(&lfn_encoding, "UTF-8")' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def261]
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:472:5: warning[-Wanalyzer-malloc-leak]: leak of 'lfns'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:83:1: enter_function: entry to 'create_directory'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:97:9: call_function: calling 'add_volume_label' from 'create_directory'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:97:9: return_function: returning to 'create_directory' from 'add_volume_label'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:97:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:110:10: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:110:10: acquire_memory: allocated here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:111:6: branch_false: following 'false' branch (when 'lfns' is non-NULL)...
branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:115:15: branch_false: following 'false' branch (when 'i >= nr_subdirs')...
branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:122:15: branch_false: following 'false' branch (when 'i >= nr_files')...
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:130:7: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:130:7: call_function: calling 'convert_long_file_names' from 'create_directory'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def262]
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:482:5: warning[-Wanalyzer-malloc-leak]: leak of 'iconv_open(&lfn_encoding, "UTF-8")'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:83:1: enter_function: entry to 'create_directory'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:97:9: call_function: calling 'add_volume_label' from 'create_directory'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:97:9: return_function: returning to 'create_directory' from 'add_volume_label'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:97:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:110:10: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:111:6: branch_false: following 'false' branch (when 'lfns' is non-NULL)...
branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:115:15: branch_false: following 'false' branch (when 'i >= nr_subdirs')...
branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:122:15: branch_false: following 'false' branch (when 'i >= nr_files')...
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:130:7: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:130:7: call_function: calling 'convert_long_file_names' from 'create_directory'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def263]
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:482:5: warning[-Wanalyzer-malloc-leak]: leak of 'lfns'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:83:1: enter_function: entry to 'create_directory'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:97:9: call_function: calling 'add_volume_label' from 'create_directory'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:97:9: return_function: returning to 'create_directory' from 'add_volume_label'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:97:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:110:10: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:110:10: acquire_memory: allocated here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:111:6: branch_false: following 'false' branch (when 'lfns' is non-NULL)...
branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:115:15: branch_false: following 'false' branch (when 'i >= nr_subdirs')...
branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:122:15: branch_false: following 'false' branch (when 'i >= nr_files')...
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:130:7: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:130:7: call_function: calling 'convert_long_file_names' from 'create_directory'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def264]
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:483:5: warning[-Wanalyzer-malloc-leak]: leak of 'iconv_open(&lfn_encoding, "UTF-8")'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:83:1: enter_function: entry to 'create_directory'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:97:9: call_function: calling 'add_volume_label' from 'create_directory'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:97:9: return_function: returning to 'create_directory' from 'add_volume_label'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:97:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:110:10: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:111:6: branch_false: following 'false' branch (when 'lfns' is non-NULL)...
branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:115:15: branch_false: following 'false' branch (when 'i >= nr_subdirs')...
branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:122:15: branch_false: following 'false' branch (when 'i >= nr_files')...
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:130:7: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:130:7: call_function: calling 'convert_long_file_names' from 'create_directory'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def265]
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:483:5: warning[-Wanalyzer-malloc-leak]: leak of 'lfns'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:83:1: enter_function: entry to 'create_directory'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:97:9: call_function: calling 'add_volume_label' from 'create_directory'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:97:9: return_function: returning to 'create_directory' from 'add_volume_label'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:97:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:110:10: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:110:10: acquire_memory: allocated here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:111:6: branch_false: following 'false' branch (when 'lfns' is non-NULL)...
branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:115:15: branch_false: following 'false' branch (when 'i >= nr_subdirs')...
branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:122:15: branch_false: following 'false' branch (when 'i >= nr_files')...
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:130:7: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:130:7: call_function: calling 'convert_long_file_names' from 'create_directory'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def266]
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:489:7: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:83:1: enter_function: entry to 'create_directory'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:97:9: call_function: calling 'add_volume_label' from 'create_directory'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:97:9: return_function: returning to 'create_directory' from 'add_volume_label'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:97:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:110:10: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:111:6: branch_false: following 'false' branch (when 'lfns' is non-NULL)...
branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:115:15: branch_false: following 'false' branch (when 'i >= nr_subdirs')...
branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:122:15: branch_false: following 'false' branch (when 'i >= nr_files')...
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:130:7: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:130:7: call_function: calling 'convert_long_file_names' from 'create_directory'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def267]
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:489:7: warning[-Wanalyzer-malloc-leak]: leak of 'iconv_open(&lfn_encoding, "UTF-8")'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:470:8: acquire_memory: allocated here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:471:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:481:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:486:3: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:489:7: danger: 'iconv_open(&lfn_encoding, "UTF-8")' leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def268]
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:489:7: warning[-Wanalyzer-malloc-leak]: leak of 'lfns'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:83:1: enter_function: entry to 'create_directory'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:97:9: call_function: calling 'add_volume_label' from 'create_directory'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:97:9: return_function: returning to 'create_directory' from 'add_volume_label'
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:97:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:110:10: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:110:10: acquire_memory: allocated here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:111:6: branch_false: following 'false' branch (when 'lfns' is non-NULL)...
branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:115:15: branch_false: following 'false' branch (when 'i >= nr_subdirs')...
branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:122:15: branch_false: following 'false' branch (when 'i >= nr_files')...
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:130:7: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/directory-lfn.c:130:7: call_function: calling 'convert_long_file_names' from 'create_directory'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def269]
nbdkit-1.45.12/plugins/floppy/floppy.c:194:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(host_path, 524288)'
nbdkit-1.45.12/plugins/floppy/floppy.c:172:10: branch_true: following 'true' branch (when 'count != 0')...
nbdkit-1.45.12/plugins/floppy/floppy.c:173:35: branch_true: ...to here
nbdkit-1.45.12/plugins/floppy/floppy.c:187:7: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/floppy/floppy.c:188:19: branch_true: ...to here
nbdkit-1.45.12/plugins/floppy/floppy.c:189:12: acquire_resource: opened here
nbdkit-1.45.12/plugins/floppy/floppy.c:190:10: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/floppy/floppy.c:194:41: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/floppy.c:194:11: danger: 'open(host_path, 524288)' leaks here; was opened at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def270]
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:303:26: warning[-Wanalyzer-malloc-leak]: leak of 'opendir(".")'
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:262:1: enter_function: entry to 'visit'
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:277:7: call_function: calling 'dirs_append' from 'visit'
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:277:7: return_function: returning to 'visit' from 'dirs_append'
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:277:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:287:13: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:288:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:292:7: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:292:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:297:9: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:297:9: acquire_memory: allocated here
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:298:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:303:26: danger: 'opendir(".")' leaks here; was allocated at [(18)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def271]
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:439:5: warning[-Wanalyzer-malloc-leak]: leak of 'new_file.name'
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:407:1: enter_function: entry to 'visit_file'
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:415:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:420:7: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:420:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:428:3: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:429:19: acquire_memory: allocated here
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:430:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:435:3: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:438:7: call_function: calling 'files_append' from 'visit_file'
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:438:7: return_function: returning to 'visit_file' from 'files_append'
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:438:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:439:5: branch_true: ...to here
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:439:5: danger: 'new_file.name' leaks here; was allocated at [(6)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def272]
nbdkit-1.45.12/plugins/floppy/virtual-floppy.h:114:1: warning[-Wanalyzer-malloc-leak]: leak of 'new_file.name'
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:407:1: enter_function: entry to 'visit_file'
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:415:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:420:7: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:420:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:428:3: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:429:19: acquire_memory: allocated here
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:430:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:435:3: branch_false: ...to here
nbdkit-1.45.12/plugins/floppy/virtual-floppy.c:438:7: call_function: calling 'files_append' from 'visit_file'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def273]
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:243:10: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:237:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:238:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:243:10: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:243:10: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def274]
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:245:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:237:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:238:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:243:10: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:244:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:245:5: branch_true: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:245:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def275]
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:249:3: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:237:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:238:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:243:10: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:244:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:249:3: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:249:3: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def276]
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:252:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:237:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:238:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:243:10: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:244:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:249:3: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:251:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:252:5: branch_true: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:252:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def277]
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:255:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:237:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:238:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:243:10: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:244:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:249:3: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:254:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:255:5: branch_true: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:255:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def278]
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:257:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:237:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:238:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:243:10: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:244:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:249:3: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:257:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def279]
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:258:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:237:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:238:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:243:10: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:244:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:249:3: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:257:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:258:5: branch_true: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:258:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def280]
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:268:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:237:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:238:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:243:10: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:244:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:249:3: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:257:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:265:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:265:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:268:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:268:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def281]
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:269:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:237:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:238:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:243:10: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:244:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:249:3: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:257:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:265:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:265:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:268:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:268:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:269:5: branch_true: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:269:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def282]
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:302:3: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:237:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:238:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:243:10: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:244:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:249:3: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:302:3: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def283]
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:317:22: warning[-Wanalyzer-malloc-leak]: leak of 'sbuf'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:320:10: acquire_memory: allocated here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:321:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:322:5: branch_true: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:317:22: danger: 'sbuf' leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def284]
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:332:8: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:232:1: enter_function: entry to 'plugin_guestfs_open'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:237:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:238:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:243:10: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:244:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:249:3: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:257:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:7: call_function: calling 'set_up_logging' from 'plugin_guestfs_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def285]
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:334:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:232:1: enter_function: entry to 'plugin_guestfs_open'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:237:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:238:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:243:10: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:244:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:249:3: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:257:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:7: call_function: calling 'set_up_logging' from 'plugin_guestfs_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def286]
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:367:9: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:232:1: enter_function: entry to 'plugin_guestfs_open'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:237:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:238:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:243:10: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:244:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:249:3: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:257:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:265:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:265:7: call_function: calling 'add_disks' from 'plugin_guestfs_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def287]
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:368:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:232:1: enter_function: entry to 'plugin_guestfs_open'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:237:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:238:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:243:10: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:244:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:249:3: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:257:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:265:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:265:7: call_function: calling 'add_disks' from 'plugin_guestfs_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def288]
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:380:9: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:232:1: enter_function: entry to 'plugin_guestfs_open'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:237:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:238:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:243:10: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:244:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:249:3: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:257:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:265:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:265:7: call_function: calling 'add_disks' from 'plugin_guestfs_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def289]
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:381:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:232:1: enter_function: entry to 'plugin_guestfs_open'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:237:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:238:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:243:10: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:244:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:249:3: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:257:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:265:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:265:7: call_function: calling 'add_disks' from 'plugin_guestfs_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def290]
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:402:11: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:232:1: enter_function: entry to 'plugin_guestfs_open'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:237:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:238:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:243:10: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:244:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:249:3: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:257:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:265:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:265:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:268:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:268:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:273:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:273:7: call_function: calling 'mount_filesystems' from 'plugin_guestfs_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def291]
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:404:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:232:1: enter_function: entry to 'plugin_guestfs_open'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:237:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:238:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:243:10: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:244:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:249:3: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:257:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:265:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:265:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:268:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:268:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:273:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:273:7: call_function: calling 'mount_filesystems' from 'plugin_guestfs_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def292]
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:409:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:232:1: enter_function: entry to 'plugin_guestfs_open'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:237:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:238:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:243:10: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:244:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:249:3: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:257:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:265:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:265:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:268:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:268:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:273:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:273:7: call_function: calling 'mount_filesystems' from 'plugin_guestfs_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def293]
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:414:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:232:1: enter_function: entry to 'plugin_guestfs_open'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:237:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:238:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:243:10: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:244:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:249:3: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:257:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:265:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:265:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:268:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:268:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:273:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:273:7: call_function: calling 'mount_filesystems' from 'plugin_guestfs_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def294]
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:470:9: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:232:1: enter_function: entry to 'plugin_guestfs_open'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:237:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:238:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:243:10: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:244:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:249:3: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:257:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:265:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:265:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:268:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:268:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:273:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:273:7: call_function: calling 'mount_filesystems' from 'plugin_guestfs_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def295]
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:471:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:232:1: enter_function: entry to 'plugin_guestfs_open'
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:237:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:238:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:243:10: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:244:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:249:3: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:257:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:262:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:265:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:265:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:268:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:268:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:273:7: branch_false: ...to here
nbdkit-1.45.12/plugins/guestfs/guestfs-plugin.c:273:7: call_function: calling 'mount_filesystems' from 'plugin_guestfs_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def296]
nbdkit-1.45.12/plugins/info/info.c:177:9: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/info/info.c:282:1: enter_function: entry to 'info_open'
nbdkit-1.45.12/plugins/info/info.c:290:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/info/info.c:291:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/info/info.c:296:3: branch_false: ...to here
nbdkit-1.45.12/plugins/info/info.c:300:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/info/info.c:304:23: branch_false: ...to here
nbdkit-1.45.12/plugins/info/info.c:306:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/info/info.c:317:11: branch_false: ...to here
nbdkit-1.45.12/plugins/info/info.c:317:11: call_function: calling 'decode_base64' from 'info_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def297]
nbdkit-1.45.12/plugins/info/info.c:179:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/info/info.c:282:1: enter_function: entry to 'info_open'
nbdkit-1.45.12/plugins/info/info.c:290:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/info/info.c:291:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/info/info.c:296:3: branch_false: ...to here
nbdkit-1.45.12/plugins/info/info.c:300:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/info/info.c:304:23: branch_false: ...to here
nbdkit-1.45.12/plugins/info/info.c:306:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/info/info.c:317:11: branch_false: ...to here
nbdkit-1.45.12/plugins/info/info.c:317:11: call_function: calling 'decode_base64' from 'info_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def298]
nbdkit-1.45.12/plugins/info/info.c:213:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/info/info.c:282:1: enter_function: entry to 'info_open'
nbdkit-1.45.12/plugins/info/info.c:290:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/info/info.c:291:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/info/info.c:296:3: branch_false: ...to here
nbdkit-1.45.12/plugins/info/info.c:326:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/info/info.c:327:9: branch_false: ...to here
nbdkit-1.45.12/plugins/info/info.c:327:9: call_function: calling 'handle_address' from 'info_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def299]
nbdkit-1.45.12/plugins/info/info.c:218:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/info/info.c:282:1: enter_function: entry to 'info_open'
nbdkit-1.45.12/plugins/info/info.c:290:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/info/info.c:291:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/info/info.c:296:3: branch_false: ...to here
nbdkit-1.45.12/plugins/info/info.c:326:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/info/info.c:327:9: branch_false: ...to here
nbdkit-1.45.12/plugins/info/info.c:327:9: call_function: calling 'handle_address' from 'info_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def300]
nbdkit-1.45.12/plugins/info/info.c:228:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/info/info.c:282:1: enter_function: entry to 'info_open'
nbdkit-1.45.12/plugins/info/info.c:290:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/info/info.c:291:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/info/info.c:296:3: branch_false: ...to here
nbdkit-1.45.12/plugins/info/info.c:326:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/info/info.c:327:9: branch_false: ...to here
nbdkit-1.45.12/plugins/info/info.c:327:9: call_function: calling 'handle_address' from 'info_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def301]
nbdkit-1.45.12/plugins/info/info.c:233:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/info/info.c:282:1: enter_function: entry to 'info_open'
nbdkit-1.45.12/plugins/info/info.c:290:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/info/info.c:291:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/info/info.c:296:3: branch_false: ...to here
nbdkit-1.45.12/plugins/info/info.c:326:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/info/info.c:327:9: branch_false: ...to here
nbdkit-1.45.12/plugins/info/info.c:327:9: call_function: calling 'handle_address' from 'info_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def302]
nbdkit-1.45.12/plugins/info/info.c:249:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/info/info.c:282:1: enter_function: entry to 'info_open'
nbdkit-1.45.12/plugins/info/info.c:290:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/info/info.c:291:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/info/info.c:296:3: branch_false: ...to here
nbdkit-1.45.12/plugins/info/info.c:326:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/info/info.c:327:9: branch_false: ...to here
nbdkit-1.45.12/plugins/info/info.c:327:9: call_function: calling 'handle_address' from 'info_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def303]
nbdkit-1.45.12/plugins/info/info.c:257:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/info/info.c:282:1: enter_function: entry to 'info_open'
nbdkit-1.45.12/plugins/info/info.c:290:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/info/info.c:291:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/info/info.c:296:3: branch_false: ...to here
nbdkit-1.45.12/plugins/info/info.c:326:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/info/info.c:327:9: branch_false: ...to here
nbdkit-1.45.12/plugins/info/info.c:327:9: call_function: calling 'handle_address' from 'info_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def304]
nbdkit-1.45.12/plugins/info/info.c:299:19: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/info/info.c:290:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/info/info.c:291:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/info/info.c:296:3: branch_false: ...to here
nbdkit-1.45.12/plugins/info/info.c:299:19: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def305]
nbdkit-1.45.12/plugins/info/info.c:310:9: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/info/info.c:290:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/info/info.c:291:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/info/info.c:296:3: branch_false: ...to here
nbdkit-1.45.12/plugins/info/info.c:300:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/info/info.c:304:23: branch_false: ...to here
nbdkit-1.45.12/plugins/info/info.c:306:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/info/info.c:307:7: branch_true: ...to here
nbdkit-1.45.12/plugins/info/info.c:309:10: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/info/info.c:310:9: branch_true: ...to here
nbdkit-1.45.12/plugins/info/info.c:310:9: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def306]
nbdkit-1.45.12/plugins/info/info.c:326:9: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/info/info.c:290:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/info/info.c:291:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/info/info.c:296:3: branch_false: ...to here
nbdkit-1.45.12/plugins/info/info.c:326:9: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def307]
nbdkit-1.45.12/plugins/info/info.c:349:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/info/info.c:290:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/info/info.c:291:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/info/info.c:296:3: branch_false: ...to here
nbdkit-1.45.12/plugins/info/info.c:348:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/info/info.c:349:7: branch_true: ...to here
nbdkit-1.45.12/plugins/info/info.c:349:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def308]
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:122:13: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:115:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:116:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:122:13: branch_false: ...to here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:122:13: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def309]
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:124:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:115:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:116:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:122:13: branch_false: ...to here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:123:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:124:5: branch_true: ...to here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:124:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def310]
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:129:12: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:115:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:116:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:122:13: branch_false: ...to here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:123:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:129:12: branch_false: ...to here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:129:12: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def311]
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:131:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:115:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:116:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:122:13: branch_false: ...to here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:123:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:129:12: branch_false: ...to here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:130:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:131:5: branch_true: ...to here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:131:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def312]
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:136:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:115:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:116:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:122:13: branch_false: ...to here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:123:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:129:12: branch_false: ...to here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:130:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:136:7: branch_false: ...to here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:136:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def313]
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:137:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:115:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:116:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:122:13: branch_false: ...to here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:123:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:129:12: branch_false: ...to here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:130:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:136:7: branch_false: ...to here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:136:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:137:5: branch_true: ...to here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:137:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def314]
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:147:3: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:115:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:116:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:122:13: branch_false: ...to here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:123:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:129:12: branch_false: ...to here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:130:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:136:7: branch_false: ...to here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:136:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:137:5: branch_true: ...to here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:147:3: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def315]
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:149:3: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:115:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:116:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:122:13: branch_false: ...to here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:123:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:129:12: branch_false: ...to here
nbdkit-1.45.12/plugins/libvirt/libvirt-plugin.c:149:3: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def316]
nbdkit-1.45.12/plugins/lua/lua.c:216:3: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/lua/lua.c:210:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/lua/lua.c:211:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/lua/lua.c:216:3: branch_false: ...to here
nbdkit-1.45.12/plugins/lua/lua.c:216:3: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def317]
nbdkit-1.45.12/plugins/lua/lua.c:217:3: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/lua/lua.c:210:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/lua/lua.c:211:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/lua/lua.c:216:3: branch_false: ...to here
nbdkit-1.45.12/plugins/lua/lua.c:217:3: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def318]
nbdkit-1.45.12/plugins/lua/lua.c:219:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/lua/lua.c:210:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/lua/lua.c:211:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/lua/lua.c:216:3: branch_false: ...to here
nbdkit-1.45.12/plugins/lua/lua.c:218:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/lua/lua.c:219:5: branch_true: ...to here
nbdkit-1.45.12/plugins/lua/lua.c:219:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def319]
nbdkit-1.45.12/plugins/lua/lua.c:226:8: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/lua/lua.c:210:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/lua/lua.c:211:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/lua/lua.c:216:3: branch_false: ...to here
nbdkit-1.45.12/plugins/lua/lua.c:218:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/lua/lua.c:226:8: branch_false: ...to here
nbdkit-1.45.12/plugins/lua/lua.c:226:8: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def320]
nbdkit-1.45.12/plugins/nbd/nbd.c:279:10: warning[-Wanalyzer-malloc-leak]: leak of 'nbd_create()'
nbdkit-1.45.12/plugins/nbd/nbd.c:254:6: branch_false: following 'false' branch (when 'c <= 1')...
nbdkit-1.45.12/plugins/nbd/nbd.c:259:6: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:259:6: branch_false: following 'false' branch (when 'c != 0')...
nbdkit-1.45.12/plugins/nbd/nbd.c:266:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:272:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:273:30: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:273:30: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:275:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:279:10: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:279:10: danger: 'nbd_create()' leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def321]
nbdkit-1.45.12/plugins/nbd/nbd.c:360:10: warning[-Wanalyzer-malloc-leak]: leak of 'nbd_create()'
nbdkit-1.45.12/plugins/nbd/nbd.c:254:6: branch_false: following 'false' branch (when 'c <= 1')...
nbdkit-1.45.12/plugins/nbd/nbd.c:259:6: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:259:6: branch_false: following 'false' branch (when 'c != 0')...
nbdkit-1.45.12/plugins/nbd/nbd.c:266:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:289:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:329:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:353:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:354:30: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:354:30: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:356:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:360:10: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:360:10: danger: 'nbd_create()' leaks here; was allocated at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def322]
nbdkit-1.45.12/plugins/nbd/nbd.c:415:3: warning[-Wanalyzer-malloc-leak]: leak of 'nbd_create()'
nbdkit-1.45.12/plugins/nbd/nbd.c:409:28: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:411:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:415:3: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:415:3: danger: 'nbd_create()' leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def323]
nbdkit-1.45.12/plugins/nbd/nbd.c:573:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor
nbdkit-1.45.12/plugins/nbd/nbd.c:603:1: enter_function: entry to 'nbdplug_open_handle'
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:654:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:663:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:666:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:674:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: call_function: calling 'nbdplug_connect' from 'nbdplug_open_handle'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def324]
nbdkit-1.45.12/plugins/nbd/nbd.c:573:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/nbd/nbd.c:603:1: enter_function: entry to 'nbdplug_open_handle'
nbdkit-1.45.12/plugins/nbd/nbd.c:608:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:654:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:663:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:666:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:674:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: call_function: calling 'nbdplug_connect' from 'nbdplug_open_handle'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def325]
nbdkit-1.45.12/plugins/nbd/nbd.c:575:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor
nbdkit-1.45.12/plugins/nbd/nbd.c:603:1: enter_function: entry to 'nbdplug_open_handle'
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:654:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:663:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:666:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:674:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: call_function: calling 'nbdplug_connect' from 'nbdplug_open_handle'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def326]
nbdkit-1.45.12/plugins/nbd/nbd.c:575:26: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/nbd/nbd.c:603:1: enter_function: entry to 'nbdplug_open_handle'
nbdkit-1.45.12/plugins/nbd/nbd.c:608:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:654:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:663:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:666:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:674:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: call_function: calling 'nbdplug_connect' from 'nbdplug_open_handle'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def327]
nbdkit-1.45.12/plugins/nbd/nbd.c:577:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor
nbdkit-1.45.12/plugins/nbd/nbd.c:603:1: enter_function: entry to 'nbdplug_open_handle'
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:654:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:663:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:666:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:674:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: call_function: calling 'nbdplug_connect' from 'nbdplug_open_handle'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def328]
nbdkit-1.45.12/plugins/nbd/nbd.c:577:23: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/nbd/nbd.c:603:1: enter_function: entry to 'nbdplug_open_handle'
nbdkit-1.45.12/plugins/nbd/nbd.c:608:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:654:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:663:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:666:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:674:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: call_function: calling 'nbdplug_connect' from 'nbdplug_open_handle'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def329]
nbdkit-1.45.12/plugins/nbd/nbd.c:579:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor
nbdkit-1.45.12/plugins/nbd/nbd.c:603:1: enter_function: entry to 'nbdplug_open_handle'
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:654:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:663:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:666:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:674:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: call_function: calling 'nbdplug_connect' from 'nbdplug_open_handle'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def330]
nbdkit-1.45.12/plugins/nbd/nbd.c:579:18: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/nbd/nbd.c:603:1: enter_function: entry to 'nbdplug_open_handle'
nbdkit-1.45.12/plugins/nbd/nbd.c:608:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:654:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:663:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:666:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:674:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: call_function: calling 'nbdplug_connect' from 'nbdplug_open_handle'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def331]
nbdkit-1.45.12/plugins/nbd/nbd.c:582:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor
nbdkit-1.45.12/plugins/nbd/nbd.c:603:1: enter_function: entry to 'nbdplug_open_handle'
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:654:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:663:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:666:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:674:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: call_function: calling 'nbdplug_connect' from 'nbdplug_open_handle'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def332]
nbdkit-1.45.12/plugins/nbd/nbd.c:582:12: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/nbd/nbd.c:603:1: enter_function: entry to 'nbdplug_open_handle'
nbdkit-1.45.12/plugins/nbd/nbd.c:608:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:654:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:663:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:666:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:674:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: call_function: calling 'nbdplug_connect' from 'nbdplug_open_handle'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def333]
nbdkit-1.45.12/plugins/nbd/nbd.c:584:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor
nbdkit-1.45.12/plugins/nbd/nbd.c:603:1: enter_function: entry to 'nbdplug_open_handle'
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:654:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:663:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:666:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:674:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: call_function: calling 'nbdplug_connect' from 'nbdplug_open_handle'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def334]
nbdkit-1.45.12/plugins/nbd/nbd.c:584:12: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/nbd/nbd.c:603:1: enter_function: entry to 'nbdplug_open_handle'
nbdkit-1.45.12/plugins/nbd/nbd.c:608:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:654:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:663:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:666:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:674:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: call_function: calling 'nbdplug_connect' from 'nbdplug_open_handle'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def335]
nbdkit-1.45.12/plugins/nbd/nbd.c:586:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor
nbdkit-1.45.12/plugins/nbd/nbd.c:603:1: enter_function: entry to 'nbdplug_open_handle'
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:654:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:663:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:666:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:674:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: call_function: calling 'nbdplug_connect' from 'nbdplug_open_handle'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def336]
nbdkit-1.45.12/plugins/nbd/nbd.c:586:12: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/nbd/nbd.c:603:1: enter_function: entry to 'nbdplug_open_handle'
nbdkit-1.45.12/plugins/nbd/nbd.c:608:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:654:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:663:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:666:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:674:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: call_function: calling 'nbdplug_connect' from 'nbdplug_open_handle'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def337]
nbdkit-1.45.12/plugins/nbd/nbd.c:591:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor
nbdkit-1.45.12/plugins/nbd/nbd.c:603:1: enter_function: entry to 'nbdplug_open_handle'
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:654:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:663:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:666:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:674:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: call_function: calling 'nbdplug_connect' from 'nbdplug_open_handle'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def338]
nbdkit-1.45.12/plugins/nbd/nbd.c:591:12: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/nbd/nbd.c:603:1: enter_function: entry to 'nbdplug_open_handle'
nbdkit-1.45.12/plugins/nbd/nbd.c:608:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:654:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:663:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:666:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:674:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:676:7: call_function: calling 'nbdplug_connect' from 'nbdplug_open_handle'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def339]
nbdkit-1.45.12/plugins/nbd/nbd.c:615:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/nbd/nbd.c:608:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:615:5: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:615:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def340]
nbdkit-1.45.12/plugins/nbd/nbd.c:646:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:641:5: branch_true: following 'true' branch (when 'client_export' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:645:2: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:646:12: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def341]
nbdkit-1.45.12/plugins/nbd/nbd.c:646:12: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/nbd/nbd.c:608:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:641:5: branch_true: following 'true' branch (when 'client_export' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:645:2: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:646:12: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def342]
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:641:5: branch_true: following 'true' branch (when 'client_export' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:645:2: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def343]
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:641:5: branch_true: following 'true' branch (when 'client_export' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:645:2: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:646:12: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: danger: '<unknown>' leaks here; was allocated at [(8)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def344]
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/nbd/nbd.c:608:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:641:5: branch_true: following 'true' branch (when 'client_export' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:645:2: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def345]
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:641:5: branch_true: following 'true' branch (when 'client_export' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:645:2: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def346]
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/nbd/nbd.c:608:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:641:5: branch_true: following 'true' branch (when 'client_export' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:645:2: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def347]
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:641:5: branch_true: following 'true' branch (when 'client_export' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:645:2: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def348]
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/nbd/nbd.c:608:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:641:5: branch_true: following 'true' branch (when 'client_export' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:645:2: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def349]
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:641:5: branch_true: following 'true' branch (when 'client_export' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:645:2: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:654:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def350]
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/nbd/nbd.c:608:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:641:5: branch_true: following 'true' branch (when 'client_export' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:645:2: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:654:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def351]
nbdkit-1.45.12/plugins/nbd/nbd.c:668:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:641:5: branch_true: following 'true' branch (when 'client_export' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:645:2: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:654:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:663:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:666:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:666:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:668:9: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def352]
nbdkit-1.45.12/plugins/nbd/nbd.c:668:9: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/nbd/nbd.c:608:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:641:5: branch_true: following 'true' branch (when 'client_export' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:645:2: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:654:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:663:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:666:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:666:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:668:9: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def353]
nbdkit-1.45.12/plugins/nbd/nbd.c:674:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:654:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:663:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:666:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:674:7: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def354]
nbdkit-1.45.12/plugins/nbd/nbd.c:674:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/nbd/nbd.c:608:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:649:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:651:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:651:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:654:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:654:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:663:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:663:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:666:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:674:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def355]
nbdkit-1.45.12/plugins/nbd/nbd.c:708:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:641:5: branch_true: following 'true' branch (when 'client_export' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:645:2: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:648:5: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:708:3: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def356]
nbdkit-1.45.12/plugins/nbd/nbd.c:708:3: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/nbd/nbd.c:608:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:641:5: branch_true: following 'true' branch (when 'client_export' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:645:2: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:648:5: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:708:3: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def357]
nbdkit-1.45.12/plugins/nbd/nbd.c:710:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:641:5: branch_true: following 'true' branch (when 'client_export' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:645:2: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:648:5: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:710:3: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def358]
nbdkit-1.45.12/plugins/nbd/nbd.c:710:3: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/nbd/nbd.c:608:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:641:5: branch_true: following 'true' branch (when 'client_export' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:645:2: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:648:5: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:710:3: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def359]
nbdkit-1.45.12/plugins/nbd/nbd.c:711:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:641:5: branch_true: following 'true' branch (when 'client_export' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:645:2: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:648:5: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:711:3: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def360]
nbdkit-1.45.12/plugins/nbd/nbd.c:711:3: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/nbd/nbd.c:608:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:641:5: branch_true: following 'true' branch (when 'client_export' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:645:2: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:648:5: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:711:3: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def361]
nbdkit-1.45.12/plugins/nbd/nbd.c:713:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/nbd/nbd.c:608:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:609:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:614:14: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:614:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:640:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:641:5: branch_true: following 'true' branch (when 'client_export' is non-NULL)...
nbdkit-1.45.12/plugins/nbd/nbd.c:645:2: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:647:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:649:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:712:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:713:5: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:713:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def362]
nbdkit-1.45.12/plugins/nbd/nbd.c:741:9: warning[-Wanalyzer-malloc-leak]: leak of 'nbd_create()'
nbdkit-1.45.12/plugins/nbd/nbd.c:736:30: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:739:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:741:9: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:741:9: danger: 'nbd_create()' leaks here; was allocated at [(1)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def363]
nbdkit-1.45.12/plugins/nbd/nbd.c:783:7: warning[-Wanalyzer-malloc-leak]: leak of 'nbd_create()'
nbdkit-1.45.12/plugins/nbd/nbd.c:772:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:779:28: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:779:28: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:781:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:783:7: branch_false: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:783:7: danger: 'nbd_create()' leaks here; was allocated at [(3)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def364]
nbdkit-1.45.12/plugins/nbd/nbd.c:846:22: warning[-Wanalyzer-malloc-leak]: leak of 'desc'
nbdkit-1.45.12/plugins/nbd/nbd.c:846:29: acquire_memory: allocated here
nbdkit-1.45.12/plugins/nbd/nbd.c:847:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/nbd/nbd.c:848:12: branch_true: ...to here
nbdkit-1.45.12/plugins/nbd/nbd.c:846:22: danger: 'desc' leaks here; was allocated at [(1)](sarif:/runs/0/results/46/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def365]
nbdkit-1.45.12/plugins/ondemand/ondemand.c:444:3: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ondemand/ondemand.c:442:1: enter_function: entry to 'ondemand_open'
nbdkit-1.45.12/plugins/ondemand/ondemand.c:444:3: branch_true: following 'true' branch (when '_r == 0')...
nbdkit-1.45.12/plugins/ondemand/ondemand.c:446:22: branch_true: ...to here
nbdkit-1.45.12/plugins/ondemand/ondemand.c:449:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ondemand/ondemand.c:450:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ondemand/ondemand.c:454:3: branch_false: ...to here
nbdkit-1.45.12/plugins/ondemand/ondemand.c:462:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ondemand/ondemand.c:468:9: branch_false: ...to here
nbdkit-1.45.12/plugins/ondemand/ondemand.c:468:9: call_function: calling 'is_valid_exportname' from 'ondemand_open'
nbdkit-1.45.12/plugins/ondemand/ondemand.c:468:9: return_function: returning to 'ondemand_open' from 'is_valid_exportname'
nbdkit-1.45.12/plugins/ondemand/ondemand.c:468:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ondemand/ondemand.c:474:6: branch_true: ...to here
nbdkit-1.45.12/plugins/ondemand/ondemand.c:479:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ondemand/ondemand.c:502:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ondemand/ondemand.c:502:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ondemand/ondemand.c:508:13: branch_false: ...to here
nbdkit-1.45.12/plugins/ondemand/ondemand.c:509:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ondemand/ondemand.c:514:3: branch_false: ...to here
nbdkit-1.45.12/plugins/ondemand/ondemand.c:444:3: danger: 'h' leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def366]
nbdkit-1.45.12/plugins/partitioning/partitioning.c:144:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(value, 2)'
nbdkit-1.45.12/plugins/partitioning/partitioning.c:132:6: branch_true: following 'true' branch (when the strings are equal)...
nbdkit-1.45.12/plugins/partitioning/partitioning.c:134:5: branch_true: ...to here
nbdkit-1.45.12/plugins/partitioning/partitioning.c:138:15: acquire_resource: opened here
nbdkit-1.45.12/plugins/partitioning/partitioning.c:139:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/partitioning/partitioning.c:144:17: branch_false: ...to here
nbdkit-1.45.12/plugins/partitioning/partitioning.c:144:17: danger: 'open(value, 2)' leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def367]
nbdkit-1.45.12/plugins/perl/perl.c:116:24: warning[-Wanalyzer-malloc-leak]: leak of 'err_copy'
nbdkit-1.45.12/plugins/perl/perl.c:109:1: enter_function: entry to 'check_perl_failure'
nbdkit-1.45.12/plugins/perl/perl.c:113:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/perl/perl.c:116:24: branch_true: ...to here
nbdkit-1.45.12/plugins/perl/perl.c:118:11: call_function: calling 'Perl_SvPV_helper' from 'check_perl_failure'
nbdkit-1.45.12/plugins/perl/perl.c:118:11: return_function: returning to 'check_perl_failure' from 'Perl_SvPV_helper'
nbdkit-1.45.12/plugins/perl/perl.c:123:16: acquire_memory: allocated here
nbdkit-1.45.12/plugins/perl/perl.c:124:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/perl/perl.c:128:8: branch_false: ...to here
nbdkit-1.45.12/plugins/perl/perl.c:116:24: danger: 'err_copy' leaks here; was allocated at [(21)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def368]
nbdkit-1.45.12/plugins/python/plugin.h:56:3: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/python/plugin.c:452:1: enter_function: entry to 'py_open'
nbdkit-1.45.12/plugins/python/plugin.c:458:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/python/plugin.c:463:7: branch_false: ...to here
nbdkit-1.45.12/plugins/python/plugin.c:463:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/python/plugin.c:464:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/python/plugin.c:468:3: branch_false: ...to here
nbdkit-1.45.12/plugins/python/plugin.c:474:3: call_function: inlined call to 'Py_DECREF' from 'py_open'
nbdkit-1.45.12/plugins/python/plugin.c:475:7: branch_true: ...to here
nbdkit-1.45.12/plugins/python/plugin.c:475:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/python/plugin.c:480:3: branch_false: ...to here
nbdkit-1.45.12/plugins/python/plugin.c:480:3: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/python/plugin.c:454:3: call_function: inlined call to 'cleanup_release' from 'py_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def369]
nbdkit-1.45.12/plugins/random/random.c:169:22: warning[-Wanalyzer-malloc-leak]: leak of 'expected'
nbdkit-1.45.12/plugins/random/random.c:169:33: acquire_memory: allocated here
nbdkit-1.45.12/plugins/random/random.c:170:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/random/random.c:175:7: branch_false: ...to here
nbdkit-1.45.12/plugins/random/random.c:169:22: danger: 'expected' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def370]
nbdkit-1.45.12/plugins/sh/call.c:66:22: warning[-Wanalyzer-malloc-leak]: leak of 'fp'
nbdkit-1.45.12/plugins/sh/call.c:70:8: acquire_memory: allocated here
nbdkit-1.45.12/plugins/sh/call.c:71:6: branch_false: following 'false' branch (when 'fp' is non-NULL)...
nbdkit-1.45.12/plugins/sh/call.c:74:3: branch_false: ...to here
nbdkit-1.45.12/plugins/sh/call.c:75:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/sh/call.c:76:5: branch_true: ...to here
nbdkit-1.45.12/plugins/sh/call.c:66:22: danger: 'fp' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def371]
nbdkit-1.45.12/plugins/sh/methods.c:252:26: warning[-Wanalyzer-malloc-leak]: leak of 'name'
nbdkit-1.45.12/plugins/sh/methods.c:240:1: enter_function: entry to 'parse_exports'
nbdkit-1.45.12/plugins/sh/methods.c:248:12: call_function: calling 'skip_prefix' from 'parse_exports'
nbdkit-1.45.12/plugins/sh/methods.c:248:12: return_function: returning to 'parse_exports' from 'skip_prefix'
nbdkit-1.45.12/plugins/sh/methods.c:248:6: branch_true: following 'true' branch...
branch_true: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:250:12: branch_true: following 'true' branch (when 'd' is non-NULL)...
nbdkit-1.45.12/plugins/sh/methods.c:251:11: branch_true: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:251:11: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/sh/methods.c:252:45: branch_true: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:252:33: acquire_memory: allocated here
nbdkit-1.45.12/plugins/sh/methods.c:254:10: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/sh/methods.c:254:11: branch_false: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:252:26: danger: 'name' leaks here; was allocated at [(15)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def372]
nbdkit-1.45.12/plugins/sh/methods.c:278:26: warning[-Wanalyzer-malloc-leak]: leak of 'desc'
nbdkit-1.45.12/plugins/sh/methods.c:240:1: enter_function: entry to 'parse_exports'
nbdkit-1.45.12/plugins/sh/methods.c:248:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/sh/methods.c:263:17: branch_false: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:263:17: call_function: calling 'skip_prefix' from 'parse_exports'
nbdkit-1.45.12/plugins/sh/methods.c:263:17: return_function: returning to 'parse_exports' from 'skip_prefix'
nbdkit-1.45.12/plugins/sh/methods.c:263:11: branch_true: following 'true' branch...
branch_true: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:268:12: branch_true: following 'true' branch (when 'p' is non-NULL)...
nbdkit-1.45.12/plugins/sh/methods.c:268:22: branch_true: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:268:12: branch_true: following 'true' branch (when 'p' is non-NULL)...
nbdkit-1.45.12/plugins/sh/methods.c:269:11: branch_true: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:270:10: branch_false: following 'false' branch (when 'p' is NULL)...
nbdkit-1.45.12/plugins/sh/methods.c:272:11: branch_false: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:268:12: branch_false: following 'false' branch (when 'p' is NULL)...
branch_false: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:275:12: branch_true: following 'true' branch (when 'n < d')...
nbdkit-1.45.12/plugins/sh/methods.c:276:11: branch_true: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:279:33: acquire_memory: allocated here
nbdkit-1.45.12/plugins/sh/methods.c:280:10: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/sh/methods.c:280:11: branch_false: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:280:11: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/sh/methods.c:284:11: branch_false: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:284:10: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/sh/methods.c:279:26: branch_true: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:278:26: danger: 'desc' leaks here; was allocated at [(26)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/25)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def373]
nbdkit-1.45.12/plugins/sh/methods.c:278:26: warning[-Wanalyzer-malloc-leak]: leak of 'name'
nbdkit-1.45.12/plugins/sh/methods.c:240:1: enter_function: entry to 'parse_exports'
nbdkit-1.45.12/plugins/sh/methods.c:248:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/sh/methods.c:263:17: branch_false: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:263:17: call_function: calling 'skip_prefix' from 'parse_exports'
nbdkit-1.45.12/plugins/sh/methods.c:263:17: return_function: returning to 'parse_exports' from 'skip_prefix'
nbdkit-1.45.12/plugins/sh/methods.c:263:11: branch_true: following 'true' branch...
branch_true: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:268:12: branch_true: following 'true' branch (when 'p' is non-NULL)...
nbdkit-1.45.12/plugins/sh/methods.c:268:22: branch_true: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:268:12: branch_true: following 'true' branch (when 'p' is non-NULL)...
nbdkit-1.45.12/plugins/sh/methods.c:269:11: branch_true: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:270:10: branch_false: following 'false' branch (when 'p' is NULL)...
nbdkit-1.45.12/plugins/sh/methods.c:272:11: branch_false: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:268:12: branch_false: following 'false' branch (when 'p' is NULL)...
branch_false: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:275:12: branch_true: following 'true' branch (when 'n < d')...
nbdkit-1.45.12/plugins/sh/methods.c:276:11: branch_true: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:278:33: acquire_memory: allocated here
nbdkit-1.45.12/plugins/sh/methods.c:280:10: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/sh/methods.c:280:11: branch_false: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:278:26: danger: 'name' leaks here; was allocated at [(26)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/25)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def374]
nbdkit-1.45.12/plugins/sh/methods.c:293:26: warning[-Wanalyzer-malloc-leak]: leak of 'name'
nbdkit-1.45.12/plugins/sh/methods.c:248:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/sh/methods.c:263:17: branch_false: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:263:11: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/sh/methods.c:291:9: branch_false: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:291:9: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:292:12: branch_true: following 'true' branch (when 'p' is non-NULL)...
nbdkit-1.45.12/plugins/sh/methods.c:293:45: branch_true: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:293:33: acquire_memory: allocated here
nbdkit-1.45.12/plugins/sh/methods.c:294:10: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/sh/methods.c:298:11: branch_false: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:293:26: danger: 'name' leaks here; was allocated at [(10)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def375]
nbdkit-1.45.12/plugins/sh/methods.c:396:11: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/sh/methods.c:386:25: acquire_memory: allocated here
nbdkit-1.45.12/plugins/sh/methods.c:388:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/sh/methods.c:392:3: branch_false: ...to here
nbdkit-1.45.12/plugins/sh/methods.c:396:11: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def376]
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:302:5: warning[-Wanalyzer-null-argument]: use of NULL 'buf' where non-null expected
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:325:1: enter_function: entry to 'sparse_random_pread'
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:328:25: release_memory: 'block' is NULL
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:331:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:339:3: branch_false: ...to here
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:343:6: branch_true: following 'true' branch (when 'blkoffs != 0')...
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:344:18: branch_true: ...to here
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:346:5: release_memory: 'block' is NULL
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:346:5: call_function: calling 'read_block' from 'sparse_random_pread'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def377]
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:308:5: warning[-Wanalyzer-null-argument]: use of NULL 'buf' where non-null expected
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:325:1: enter_function: entry to 'sparse_random_pread'
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:328:25: release_memory: 'block' is NULL
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:331:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:339:3: branch_false: ...to here
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:343:6: branch_true: following 'true' branch (when 'blkoffs != 0')...
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:344:18: branch_true: ...to here
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:346:5: release_memory: 'block' is NULL
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:346:5: call_function: calling 'read_block' from 'sparse_random_pread'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def378]
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:318:7: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:325:1: enter_function: entry to 'sparse_random_pread'
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:331:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:339:3: branch_false: ...to here
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:343:6: branch_true: following 'true' branch (when 'blkoffs != 0')...
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:344:18: branch_true: ...to here
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:346:5: call_function: calling 'read_block' from 'sparse_random_pread'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def379]
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:384:25: warning[-Wanalyzer-malloc-leak]: leak of 'block'
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:387:11: acquire_memory: allocated here
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:388:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:393:3: branch_false: ...to here
nbdkit-1.45.12/plugins/sparse-random/sparse-random.c:384:25: danger: 'block' leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def380]
nbdkit-1.45.12/plugins/split/split.c:127:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/split/split.c:119:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/split/split.c:120:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/split/split.c:125:22: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:126:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:127:5: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:127:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def381]
nbdkit-1.45.12/plugins/split/split.c:142:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(*<unknown>, flags)'
nbdkit-1.45.12/plugins/split/split.c:120:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/split/split.c:125:22: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:126:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:142:22: acquire_resource: opened here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:141:34: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:142:22: danger: 'open(*<unknown>, flags)' leaks here; was opened at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def382]
nbdkit-1.45.12/plugins/split/split.c:142:22: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/split/split.c:119:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/split/split.c:120:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/split/split.c:125:22: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:126:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:142:22: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def383]
nbdkit-1.45.12/plugins/split/split.c:142:22: warning[-Wanalyzer-malloc-leak]: leak of 'malloc(filenames.len * 24)'
nbdkit-1.45.12/plugins/split/split.c:120:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/split/split.c:125:22: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:125:14: acquire_memory: allocated here
nbdkit-1.45.12/plugins/split/split.c:126:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:142:22: danger: 'malloc(filenames.len * 24)' leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def384]
nbdkit-1.45.12/plugins/split/split.c:144:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/split/split.c:119:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/split/split.c:120:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/split/split.c:125:22: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:126:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:144:37: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:144:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def385]
nbdkit-1.45.12/plugins/split/split.c:144:7: warning[-Wanalyzer-malloc-leak]: leak of 'malloc(filenames.len * 24)'
nbdkit-1.45.12/plugins/split/split.c:120:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/split/split.c:125:22: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:125:14: acquire_memory: allocated here
nbdkit-1.45.12/plugins/split/split.c:126:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:144:37: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:144:7: danger: 'malloc(filenames.len * 24)' leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def386]
nbdkit-1.45.12/plugins/split/split.c:153:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor
nbdkit-1.45.12/plugins/split/split.c:120:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/split/split.c:125:22: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:126:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:142:22: acquire_resource: opened here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:141:34: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:150:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:151:13: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:153:24: danger: leaks here; was opened at [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def387]
nbdkit-1.45.12/plugins/split/split.c:153:24: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/split/split.c:119:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/split/split.c:120:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/split/split.c:125:22: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:126:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:141:34: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:150:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:151:13: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:153:24: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def388]
nbdkit-1.45.12/plugins/split/split.c:153:24: warning[-Wanalyzer-malloc-leak]: leak of 'malloc(filenames.len * 24)'
nbdkit-1.45.12/plugins/split/split.c:120:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/split/split.c:125:22: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:125:14: acquire_memory: allocated here
nbdkit-1.45.12/plugins/split/split.c:126:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:141:34: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:150:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:151:13: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:153:24: danger: 'malloc(filenames.len * 24)' leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def389]
nbdkit-1.45.12/plugins/split/split.c:155:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor
nbdkit-1.45.12/plugins/split/split.c:120:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/split/split.c:125:22: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:126:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:142:22: acquire_resource: opened here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:141:34: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:141:34: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:150:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:151:13: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:154:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:155:44: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:155:7: danger: leaks here; was opened at [(13)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def390]
nbdkit-1.45.12/plugins/split/split.c:155:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/split/split.c:119:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/split/split.c:120:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/split/split.c:125:22: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:126:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:141:34: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:150:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:151:13: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:154:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:155:44: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:155:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def391]
nbdkit-1.45.12/plugins/split/split.c:155:7: warning[-Wanalyzer-malloc-leak]: leak of 'malloc(filenames.len * 24)'
nbdkit-1.45.12/plugins/split/split.c:120:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/split/split.c:125:22: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:125:14: acquire_memory: allocated here
nbdkit-1.45.12/plugins/split/split.c:126:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:141:34: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:150:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:151:13: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:154:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:155:44: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:155:7: danger: 'malloc(filenames.len * 24)' leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def392]
nbdkit-1.45.12/plugins/split/split.c:160:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor
nbdkit-1.45.12/plugins/split/split.c:120:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/split/split.c:125:22: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:126:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:142:22: acquire_resource: opened here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:141:34: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:141:34: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:150:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:151:13: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:154:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:158:5: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:160:5: danger: leaks here; was opened at [(13)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def393]
nbdkit-1.45.12/plugins/split/split.c:160:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/split/split.c:119:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/split/split.c:120:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/split/split.c:125:22: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:126:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:141:34: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:150:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:151:13: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:154:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:158:5: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:160:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def394]
nbdkit-1.45.12/plugins/split/split.c:160:5: warning[-Wanalyzer-malloc-leak]: leak of 'malloc(filenames.len * 24)'
nbdkit-1.45.12/plugins/split/split.c:120:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/split/split.c:125:22: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:125:14: acquire_memory: allocated here
nbdkit-1.45.12/plugins/split/split.c:126:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:141:34: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:150:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:151:13: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:154:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:158:5: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:160:5: danger: 'malloc(filenames.len * 24)' leaks here; was allocated at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def395]
nbdkit-1.45.12/plugins/split/split.c:165:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor
nbdkit-1.45.12/plugins/split/split.c:120:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/split/split.c:125:22: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:126:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:142:22: acquire_resource: opened here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:141:34: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:141:34: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:150:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:151:13: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:154:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:158:5: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:165:5: branch_true: following 'true' branch (when '_r == 0')...
nbdkit-1.45.12/plugins/split/split.c:166:9: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:165:5: danger: leaks here; was opened at [(13)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def396]
nbdkit-1.45.12/plugins/split/split.c:165:5: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
nbdkit-1.45.12/plugins/split/split.c:120:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/split/split.c:125:22: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:125:14: acquire_memory: allocated here
nbdkit-1.45.12/plugins/split/split.c:126:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:141:34: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:150:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:151:13: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:154:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:158:5: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:165:5: branch_true: following 'true' branch (when '_r == 0')...
nbdkit-1.45.12/plugins/split/split.c:166:9: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:167:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:165:5: danger: '<unknown>' leaks here; was allocated at [(3)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def397]
nbdkit-1.45.12/plugins/split/split.c:165:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/split/split.c:119:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/split/split.c:120:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/split/split.c:125:22: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:126:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:141:34: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:150:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:151:13: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:154:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:158:5: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:165:5: branch_true: following 'true' branch (when '_r == 0')...
nbdkit-1.45.12/plugins/split/split.c:166:9: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:165:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def398]
nbdkit-1.45.12/plugins/split/split.c:165:5: warning[-Wanalyzer-malloc-leak]: leak of 'malloc(filenames.len * 24)'
nbdkit-1.45.12/plugins/split/split.c:120:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/split/split.c:125:22: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:125:14: acquire_memory: allocated here
nbdkit-1.45.12/plugins/split/split.c:126:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:141:34: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:150:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:151:13: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:154:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:158:5: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:165:5: branch_true: following 'true' branch (when '_r == 0')...
nbdkit-1.45.12/plugins/split/split.c:166:9: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:165:5: danger: 'malloc(filenames.len * 24)' leaks here; was allocated at [(3)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def399]
nbdkit-1.45.12/plugins/split/split.c:178:3: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
nbdkit-1.45.12/plugins/split/split.c:120:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/split/split.c:125:22: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:125:14: acquire_memory: allocated here
nbdkit-1.45.12/plugins/split/split.c:126:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:150:15: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:177:3: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:178:3: danger: '<unknown>' leaks here; was allocated at [(3)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def400]
nbdkit-1.45.12/plugins/split/split.c:178:3: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/split/split.c:119:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/split/split.c:120:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/split/split.c:125:22: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:126:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:150:15: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:177:3: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:178:3: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def401]
nbdkit-1.45.12/plugins/split/split.c:185:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor
nbdkit-1.45.12/plugins/split/split.c:120:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/split/split.c:125:22: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:126:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:142:22: acquire_resource: opened here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:141:34: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:141:34: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:150:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:151:13: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:154:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:155:44: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:183:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:184:17: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:184:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:185:7: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:185:7: danger: leaks here; was opened at [(13)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def402]
nbdkit-1.45.12/plugins/split/split.c:185:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/split/split.c:119:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/split/split.c:120:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/split/split.c:125:22: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:126:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:141:34: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:144:37: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:183:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:184:17: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:184:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:185:7: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:185:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def403]
nbdkit-1.45.12/plugins/split/split.c:185:7: warning[-Wanalyzer-malloc-leak]: leak of 'malloc(filenames.len * 24)'
nbdkit-1.45.12/plugins/split/split.c:120:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/split/split.c:125:22: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:125:14: acquire_memory: allocated here
nbdkit-1.45.12/plugins/split/split.c:126:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:141:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:142:28: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/split/split.c:141:34: branch_false: ...to here
nbdkit-1.45.12/plugins/split/split.c:143:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:144:37: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:183:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:184:17: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:184:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/split/split.c:185:7: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:185:7: danger: 'malloc(filenames.len * 24)' leaks here; was allocated at [(3)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def404]
nbdkit-1.45.12/plugins/split/split.c:258:31: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
nbdkit-1.45.12/plugins/split/split.c:256:10: branch_true: following 'true' branch (when 'count != 0')...
nbdkit-1.45.12/plugins/split/split.c:257:25: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:258:31: danger: dereference of NULL 'get_file(handle, offset)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def405]
nbdkit-1.45.12/plugins/split/split.c:291:31: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
nbdkit-1.45.12/plugins/split/split.c:289:10: branch_true: following 'true' branch (when 'count != 0')...
nbdkit-1.45.12/plugins/split/split.c:290:25: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:291:31: danger: dereference of NULL 'get_file(handle, offset)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def406]
nbdkit-1.45.12/plugins/split/split.c:322:31: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
nbdkit-1.45.12/plugins/split/split.c:320:10: branch_true: following 'true' branch (when 'count != 0')...
nbdkit-1.45.12/plugins/split/split.c:321:25: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:322:31: danger: dereference of NULL 'get_file(handle, offset)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def407]
nbdkit-1.45.12/plugins/split/split.c:416:31: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
nbdkit-1.45.12/plugins/split/split.c:414:10: branch_true: following 'true' branch (when 'count != 0')...
nbdkit-1.45.12/plugins/split/split.c:415:25: branch_true: ...to here
nbdkit-1.45.12/plugins/split/split.c:416:31: danger: dereference of NULL 'get_file(handle, offset)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def408]
nbdkit-1.45.12/plugins/ssh/ssh.c:262:11: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:452:1: enter_function: entry to 'ssh_open'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:577:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:584:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:584:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:584:29: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:584:29: call_function: calling 'do_verify_remote_host' from 'ssh_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def409]
nbdkit-1.45.12/plugins/ssh/ssh.c:269:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:452:1: enter_function: entry to 'ssh_open'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:577:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:584:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:584:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:584:29: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:584:29: call_function: calling 'do_verify_remote_host' from 'ssh_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def410]
nbdkit-1.45.12/plugins/ssh/ssh.c:273:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:452:1: enter_function: entry to 'ssh_open'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:577:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:584:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:584:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:584:29: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:584:29: call_function: calling 'do_verify_remote_host' from 'ssh_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def411]
nbdkit-1.45.12/plugins/ssh/ssh.c:281:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:452:1: enter_function: entry to 'ssh_open'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:577:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:584:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:584:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:584:29: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:584:29: call_function: calling 'do_verify_remote_host' from 'ssh_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def412]
nbdkit-1.45.12/plugins/ssh/ssh.c:286:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:452:1: enter_function: entry to 'ssh_open'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:577:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:584:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:584:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:584:29: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:584:29: call_function: calling 'do_verify_remote_host' from 'ssh_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def413]
nbdkit-1.45.12/plugins/ssh/ssh.c:293:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:452:1: enter_function: entry to 'ssh_open'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:577:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:584:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:584:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:584:29: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:584:29: call_function: calling 'do_verify_remote_host' from 'ssh_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def414]
nbdkit-1.45.12/plugins/ssh/ssh.c:308:8: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:452:1: enter_function: entry to 'ssh_open'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:577:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:584:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:588:7: call_function: calling 'authenticate' from 'ssh_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def415]
nbdkit-1.45.12/plugins/ssh/ssh.c:310:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:452:1: enter_function: entry to 'ssh_open'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:577:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:584:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:588:7: call_function: calling 'authenticate' from 'ssh_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def416]
nbdkit-1.45.12/plugins/ssh/ssh.c:321:8: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:452:1: enter_function: entry to 'ssh_open'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:577:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:584:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:588:7: call_function: calling 'authenticate' from 'ssh_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def417]
nbdkit-1.45.12/plugins/ssh/ssh.c:323:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:452:1: enter_function: entry to 'ssh_open'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:577:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:584:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:588:7: call_function: calling 'authenticate' from 'ssh_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def418]
nbdkit-1.45.12/plugins/ssh/ssh.c:333:8: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:452:1: enter_function: entry to 'ssh_open'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:577:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:584:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:588:7: call_function: calling 'authenticate' from 'ssh_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def419]
nbdkit-1.45.12/plugins/ssh/ssh.c:339:12: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:452:1: enter_function: entry to 'ssh_open'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:577:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:584:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:588:7: call_function: calling 'authenticate' from 'ssh_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def420]
nbdkit-1.45.12/plugins/ssh/ssh.c:340:3: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:452:1: enter_function: entry to 'ssh_open'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:577:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:584:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:588:7: call_function: calling 'authenticate' from 'ssh_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def421]
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def422]
nbdkit-1.45.12/plugins/ssh/ssh.c:468:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:468:5: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:468:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def423]
nbdkit-1.45.12/plugins/ssh/ssh.c:473:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:472:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:473:5: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:473:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def424]
nbdkit-1.45.12/plugins/ssh/ssh.c:477:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:472:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:473:5: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:477:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def425]
nbdkit-1.45.12/plugins/ssh/ssh.c:484:3: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:484:3: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def426]
nbdkit-1.45.12/plugins/ssh/ssh.c:486:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:486:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def427]
nbdkit-1.45.12/plugins/ssh/ssh.c:488:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:488:5: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:488:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def428]
nbdkit-1.45.12/plugins/ssh/ssh.c:493:9: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:492:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:493:9: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:493:9: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def429]
nbdkit-1.45.12/plugins/ssh/ssh.c:495:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:492:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:493:9: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:494:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:495:7: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:495:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def430]
nbdkit-1.45.12/plugins/ssh/ssh.c:501:9: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:500:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:501:9: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:501:9: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def431]
nbdkit-1.45.12/plugins/ssh/ssh.c:503:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:500:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:501:9: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:502:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:503:7: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:503:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def432]
nbdkit-1.45.12/plugins/ssh/ssh.c:509:9: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:508:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:509:9: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:509:9: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def433]
nbdkit-1.45.12/plugins/ssh/ssh.c:511:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:508:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:509:9: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:510:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:511:7: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:511:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def434]
nbdkit-1.45.12/plugins/ssh/ssh.c:521:9: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:520:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:522:52: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:521:9: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def435]
nbdkit-1.45.12/plugins/ssh/ssh.c:524:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:520:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:522:52: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:523:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:524:7: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:524:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def436]
nbdkit-1.45.12/plugins/ssh/ssh.c:531:9: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:529:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:530:10: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:531:9: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def437]
nbdkit-1.45.12/plugins/ssh/ssh.c:533:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:529:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:530:10: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:532:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:533:7: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:533:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def438]
nbdkit-1.45.12/plugins/ssh/ssh.c:540:9: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:539:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:540:9: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:540:9: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def439]
nbdkit-1.45.12/plugins/ssh/ssh.c:542:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:539:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:540:9: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:541:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:542:7: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:542:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def440]
nbdkit-1.45.12/plugins/ssh/ssh.c:556:9: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:551:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:556:9: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:556:9: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def441]
nbdkit-1.45.12/plugins/ssh/ssh.c:558:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:551:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:556:9: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:557:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:558:7: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:558:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def442]
nbdkit-1.45.12/plugins/ssh/ssh.c:567:9: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:551:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:563:12: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:563:11: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:567:9: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:567:9: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def443]
nbdkit-1.45.12/plugins/ssh/ssh.c:569:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:551:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:563:12: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:563:11: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:567:9: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:568:8: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:569:7: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:569:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def444]
nbdkit-1.45.12/plugins/ssh/ssh.c:576:7: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:576:7: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/47/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def445]
nbdkit-1.45.12/plugins/ssh/ssh.c:578:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:467:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:472:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:487:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:492:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:577:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:578:5: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:578:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def446]
nbdkit-1.45.12/plugins/ssh/ssh.c:620:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:615:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:617:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:617:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:619:6: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:619:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:620:5: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:620:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/50/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def447]
nbdkit-1.45.12/plugins/ssh/ssh.c:621:5: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/plugins/ssh/ssh.c:459:7: acquire_memory: allocated here
nbdkit-1.45.12/plugins/ssh/ssh.c:460:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/plugins/ssh/ssh.c:466:16: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:615:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:617:7: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:617:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:619:6: branch_false: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:619:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/ssh/ssh.c:620:5: branch_true: ...to here
nbdkit-1.45.12/plugins/ssh/ssh.c:621:5: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/51/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def448]
nbdkit-1.45.12/plugins/vddk/reexec.c:92:8: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(&cmdline_file, 524288)'
nbdkit-1.45.12/plugins/vddk/reexec.c:82:8: acquire_resource: opened here
nbdkit-1.45.12/plugins/vddk/reexec.c:83:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/reexec.c:92:8: danger: 'open(&cmdline_file, 524288)' leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def449]
nbdkit-1.45.12/plugins/vddk/reexec.c:96:38: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(&cmdline_file, 524288)'
nbdkit-1.45.12/plugins/vddk/reexec.c:82:8: acquire_resource: opened here
nbdkit-1.45.12/plugins/vddk/reexec.c:83:6: branch_false: following 'false' branch...
branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/reexec.c:92:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/reexec.c:96:38: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/reexec.c:96:38: danger: 'open(&cmdline_file, 524288)' leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def450]
nbdkit-1.45.12/plugins/vddk/vddk.c:458:22: warning[-Wanalyzer-malloc-leak]: leak of 'orig_error'
nbdkit-1.45.12/plugins/vddk/vddk.c:468:15: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/vddk/vddk.c:474:9: branch_true: ...to here
nbdkit-1.45.12/plugins/vddk/vddk.c:474:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk.c:479:10: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk.c:480:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk.c:489:8: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk.c:489:8: branch_true: following 'true' branch (when 'i == 0')...
nbdkit-1.45.12/plugins/vddk/vddk.c:490:20: branch_true: ...to here
nbdkit-1.45.12/plugins/vddk/vddk.c:491:10: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/vddk/vddk.c:492:22: branch_true: ...to here
nbdkit-1.45.12/plugins/vddk/vddk.c:492:22: acquire_memory: allocated here
nbdkit-1.45.12/plugins/vddk/vddk.c:495:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk.c:507:3: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk.c:507:3: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:43:1: branch_true: ...to here
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:43:1: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:51:1: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:51:1: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:54:1: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:54:1: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:57:1: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:57:1: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:60:1: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:60:1: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:63:1: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:63:1: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:66:1: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:66:1: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:73:1: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:73:1: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:79:1: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:79:1: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:82:1: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:82:1: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:85:1: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:85:1: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:88:1: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:88:1: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:92:1: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:92:1: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:95:1: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:95:1: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:100:1: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:100:1: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:105:1: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:105:1: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:114:1: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:114:1: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:117:1: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:117:1: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:123:1: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:123:1: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:131:1: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:131:1: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:136:1: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:136:1: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:142:1: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:142:1: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:145:1: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk-stubs.h:145:1: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vddk/vddk.c:458:22: branch_false: ...to here
nbdkit-1.45.12/plugins/vddk/vddk.c:458:22: danger: 'orig_error' leaks here; was allocated at [(11)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/10)
Error: CPPCHECK_WARNING (CWE-476): [#def451]
nbdkit-1.45.12/plugins/vddk/vddk.h:152: error[ctunullpointer]: Null pointer dereference: key
Error: GCC_ANALYZER_WARNING (CWE-688): [#def452]
nbdkit-1.45.12/plugins/vram/vram.c:501:5: warning[-Wanalyzer-null-argument]: use of NULL 'buf' where non-null expected
nbdkit-1.45.12/plugins/vram/vram.c:703:1: enter_function: entry to 'vram_zero'
nbdkit-1.45.12/plugins/vram/vram.c:705:25: release_memory: 'bounce' is NULL
nbdkit-1.45.12/plugins/vram/vram.c:709:6: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vram/vram.c:717:3: branch_false: ...to here
nbdkit-1.45.12/plugins/vram/vram.c:721:6: branch_true: following 'true' branch (when 'bufoffs != 0')...
nbdkit-1.45.12/plugins/vram/vram.c:722:18: branch_true: ...to here
nbdkit-1.45.12/plugins/vram/vram.c:724:9: release_memory: 'bounce' is NULL
nbdkit-1.45.12/plugins/vram/vram.c:724:9: call_function: calling 'read_buffer' from 'vram_zero'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def453]
nbdkit-1.45.12/plugins/vram/vram.c:705:25: warning[-Wanalyzer-malloc-leak]: leak of 'bounce'
nbdkit-1.45.12/plugins/vram/vram.c:709:6: branch_true: following 'true' branch...
nbdkit-1.45.12/plugins/vram/vram.c:710:14: branch_true: ...to here
nbdkit-1.45.12/plugins/vram/vram.c:710:14: acquire_memory: allocated here
nbdkit-1.45.12/plugins/vram/vram.c:711:8: branch_false: following 'false' branch...
nbdkit-1.45.12/plugins/vram/vram.c:717:3: branch_false: ...to here
nbdkit-1.45.12/plugins/vram/vram.c:721:6: branch_false: following 'false' branch (when 'bufoffs == 0')...
branch_false: ...to here
nbdkit-1.45.12/plugins/vram/vram.c:736:10: branch_false: following 'false' branch (when 'count <= 65535')...
nbdkit-1.45.12/plugins/vram/vram.c:746:7: branch_false: ...to here
nbdkit-1.45.12/plugins/vram/vram.c:753:6: branch_false: following 'false' branch (when 'count == 0')...
nbdkit-1.45.12/plugins/vram/vram.c:764:10: branch_false: ...to here
nbdkit-1.45.12/plugins/vram/vram.c:705:25: danger: 'bounce' leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def454]
nbdkit-1.45.12/server/backend.c:259:3: warning[-Wanalyzer-malloc-leak]: leak of ‘c’
nbdkit-1.45.12/server/backend.c:253:7: acquire_memory: allocated here
nbdkit-1.45.12/server/backend.c:254:6: branch_false: following ‘false’ branch (when ‘c’ is non-NULL)...
nbdkit-1.45.12/server/backend.c:258:3: branch_false: ...to here
nbdkit-1.45.12/server/backend.c:259:3: danger: ‘c’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def455]
nbdkit-1.45.12/server/captive.c:79:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
nbdkit-1.45.12/server/captive.c:67:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:70:8: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:70:8: acquire_memory: allocated here
nbdkit-1.45.12/server/captive.c:71:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
nbdkit-1.45.12/server/captive.c:77:3: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:78:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/captive.c:79:5: branch_true: ...to here
nbdkit-1.45.12/server/captive.c:79:5: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def456]
nbdkit-1.45.12/server/captive.c:88:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
nbdkit-1.45.12/server/captive.c:67:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:70:8: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:70:8: acquire_memory: allocated here
nbdkit-1.45.12/server/captive.c:71:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
nbdkit-1.45.12/server/captive.c:77:3: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:78:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:80:3: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:87:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/captive.c:88:5: branch_true: ...to here
nbdkit-1.45.12/server/captive.c:88:5: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def457]
nbdkit-1.45.12/server/captive.c:94:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
nbdkit-1.45.12/server/captive.c:67:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:70:8: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:70:8: acquire_memory: allocated here
nbdkit-1.45.12/server/captive.c:71:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
nbdkit-1.45.12/server/captive.c:77:3: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:78:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:80:3: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:87:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:89:3: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:93:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/captive.c:94:5: branch_true: ...to here
nbdkit-1.45.12/server/captive.c:94:5: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def458]
nbdkit-1.45.12/server/captive.c:98:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
nbdkit-1.45.12/server/captive.c:67:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:70:8: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:70:8: acquire_memory: allocated here
nbdkit-1.45.12/server/captive.c:71:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
nbdkit-1.45.12/server/captive.c:77:3: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:78:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:80:3: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:87:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:89:3: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:93:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:95:3: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:97:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/captive.c:98:5: branch_true: ...to here
nbdkit-1.45.12/server/captive.c:98:5: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def459]
nbdkit-1.45.12/server/captive.c:106:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
nbdkit-1.45.12/server/captive.c:67:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:70:8: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:70:8: acquire_memory: allocated here
nbdkit-1.45.12/server/captive.c:71:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
nbdkit-1.45.12/server/captive.c:77:3: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:78:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:80:3: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:87:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:89:3: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:93:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:95:3: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:97:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:99:3: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:105:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/captive.c:106:5: branch_true: ...to here
nbdkit-1.45.12/server/captive.c:106:5: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def460]
nbdkit-1.45.12/server/captive.c:110:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
nbdkit-1.45.12/server/captive.c:67:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:70:8: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:70:8: acquire_memory: allocated here
nbdkit-1.45.12/server/captive.c:71:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
nbdkit-1.45.12/server/captive.c:77:3: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:78:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:80:3: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:87:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:89:3: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:93:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:95:3: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:97:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:99:3: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:105:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:107:3: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:109:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/captive.c:110:5: branch_true: ...to here
nbdkit-1.45.12/server/captive.c:110:5: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def461]
nbdkit-1.45.12/server/captive.c:130:8: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(saved_stdin, 0)’
nbdkit-1.45.12/server/captive.c:67:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:70:8: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:71:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
nbdkit-1.45.12/server/captive.c:77:3: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:116:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:122:9: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:123:6: branch_false: following ‘false’ branch (when ‘pid != -1’)...
nbdkit-1.45.12/server/captive.c:128:6: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:128:6: branch_true: following ‘true’ branch (when ‘pid > 0’)...
nbdkit-1.45.12/server/captive.c:130:9: branch_true: ...to here
nbdkit-1.45.12/server/captive.c:130:9: acquire_resource: opened here
nbdkit-1.45.12/server/captive.c:130:8: danger: ‘dup2(saved_stdin, 0)’ leaks here; was opened at [(11)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def462]
nbdkit-1.45.12/server/captive.c:130:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(saved_stdout, 1)’
nbdkit-1.45.12/server/captive.c:67:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:70:8: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:71:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
nbdkit-1.45.12/server/captive.c:77:3: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:116:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:122:9: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:123:6: branch_false: following ‘false’ branch (when ‘pid != -1’)...
nbdkit-1.45.12/server/captive.c:128:6: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:128:6: branch_true: following ‘true’ branch (when ‘pid > 0’)...
nbdkit-1.45.12/server/captive.c:130:9: branch_true: ...to here
nbdkit-1.45.12/server/captive.c:130:8: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/captive.c:131:9: branch_false: ...to here
nbdkit-1.45.12/server/captive.c:131:9: acquire_resource: opened here
nbdkit-1.45.12/server/captive.c:130:9: danger: ‘dup2(saved_stdout, 1)’ leaks here; was opened at [(13)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def463]
nbdkit-1.45.12/server/crypto.c:503:22: warning[-Wanalyzer-malloc-leak]: leak of ‘copy’
nbdkit-1.45.12/server/crypto.c:507:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/crypto.c:508:12: acquire_memory: allocated here
nbdkit-1.45.12/server/crypto.c:512:3: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/crypto.c:503:22: branch_false: ...to here
nbdkit-1.45.12/server/crypto.c:503:22: danger: ‘copy’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def464]
nbdkit-1.45.12/server/crypto.c:676:22: warning[-Wanalyzer-malloc-leak]: leak of ‘priority’
nbdkit-1.45.12/server/crypto.c:674:3: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/crypto.c:676:22: branch_true: ...to here
nbdkit-1.45.12/server/crypto.c:681:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/crypto.c:686:7: branch_false: ...to here
nbdkit-1.45.12/server/crypto.c:695:8: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/crypto.c:704:9: branch_false: ...to here
nbdkit-1.45.12/server/crypto.c:709:16: acquire_memory: allocated here
nbdkit-1.45.12/server/crypto.c:710:8: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/crypto.c:735:3: branch_false: ...to here
nbdkit-1.45.12/server/crypto.c:735:3: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/crypto.c:736:9: branch_true: ...to here
nbdkit-1.45.12/server/crypto.c:737:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/crypto.c:744:3: branch_false: ...to here
nbdkit-1.45.12/server/crypto.c:759:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/crypto.c:766:10: branch_true: ...to here
nbdkit-1.45.12/server/crypto.c:676:22: danger: ‘priority’ leaks here; was allocated at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def465]
nbdkit-1.45.12/server/crypto.c:870:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
nbdkit-1.45.12/server/crypto.c:801:3: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/crypto.c:802:20: branch_true: ...to here
nbdkit-1.45.12/server/crypto.c:811:6: branch_false: following ‘false’ branch (when ‘session’ is non-NULL)...
nbdkit-1.45.12/server/crypto.c:816:10: branch_false: ...to here
nbdkit-1.45.12/server/crypto.c:817:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/crypto.c:822:7: branch_false: ...to here
nbdkit-1.45.12/server/crypto.c:822:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/crypto.c:827:15: branch_false: ...to here
nbdkit-1.45.12/server/crypto.c:828:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/crypto.c:846:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/crypto.c:850:7: branch_false: ...to here
nbdkit-1.45.12/server/crypto.c:851:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/crypto.c:856:7: branch_false: ...to here
nbdkit-1.45.12/server/crypto.c:857:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/crypto.c:861:26: branch_false: ...to here
nbdkit-1.45.12/server/crypto.c:861:9: acquire_memory: allocated here
nbdkit-1.45.12/server/crypto.c:862:6: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
nbdkit-1.45.12/server/crypto.c:868:2: branch_false: ...to here
nbdkit-1.45.12/server/crypto.c:869:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/crypto.c:870:5: branch_true: ...to here
nbdkit-1.45.12/server/crypto.c:870:5: danger: ‘ret’ leaks here; was allocated at [(17)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def466]
nbdkit-1.45.12/server/crypto.c:872:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
nbdkit-1.45.12/server/crypto.c:801:3: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/crypto.c:802:20: branch_true: ...to here
nbdkit-1.45.12/server/crypto.c:811:6: branch_false: following ‘false’ branch (when ‘session’ is non-NULL)...
nbdkit-1.45.12/server/crypto.c:816:10: branch_false: ...to here
nbdkit-1.45.12/server/crypto.c:817:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/crypto.c:822:7: branch_false: ...to here
nbdkit-1.45.12/server/crypto.c:822:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/crypto.c:827:15: branch_false: ...to here
nbdkit-1.45.12/server/crypto.c:828:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/crypto.c:846:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/crypto.c:850:7: branch_false: ...to here
nbdkit-1.45.12/server/crypto.c:851:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/crypto.c:856:7: branch_false: ...to here
nbdkit-1.45.12/server/crypto.c:857:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/crypto.c:861:26: branch_false: ...to here
nbdkit-1.45.12/server/crypto.c:861:9: acquire_memory: allocated here
nbdkit-1.45.12/server/crypto.c:862:6: branch_false: following ‘false’ branch (when ‘ret’ is non-NULL)...
nbdkit-1.45.12/server/crypto.c:868:2: branch_false: ...to here
nbdkit-1.45.12/server/crypto.c:871:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/crypto.c:872:5: branch_true: ...to here
nbdkit-1.45.12/server/crypto.c:872:5: danger: ‘ret’ leaks here; was allocated at [(17)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def467]
nbdkit-1.45.12/server/debug-flags.c:110:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
nbdkit-1.45.12/server/debug-flags.c:92:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/debug-flags.c:99:3: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:102:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/debug-flags.c:103:6: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:103:6: branch_false: following ‘false’ branch (when ‘p <= q’)...
nbdkit-1.45.12/server/debug-flags.c:104:7: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:104:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/debug-flags.c:105:7: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:105:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/debug-flags.c:107:10: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:108:6: branch_false: following ‘false’ branch (when ‘flag’ is non-NULL)...
nbdkit-1.45.12/server/debug-flags.c:114:30: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:114:16: acquire_memory: allocated here
nbdkit-1.45.12/server/debug-flags.c:115:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/debug-flags.c:116:28: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:117:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/debug-flags.c:117:3: branch_true: ...to here
nbdkit-1.45.12/server/debug-flags.c:110:5: danger: ‘<unknown>’ leaks here; was allocated at [(15)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def468]
nbdkit-1.45.12/server/debug-flags.c:110:5: warning[-Wanalyzer-malloc-leak]: leak of ‘flag’
nbdkit-1.45.12/server/debug-flags.c:92:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/debug-flags.c:99:3: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:102:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/debug-flags.c:103:6: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:103:6: branch_false: following ‘false’ branch (when ‘p <= q’)...
nbdkit-1.45.12/server/debug-flags.c:104:7: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:104:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/debug-flags.c:105:7: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:105:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/debug-flags.c:107:10: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:107:10: acquire_memory: allocated here
nbdkit-1.45.12/server/debug-flags.c:108:6: branch_false: following ‘false’ branch (when ‘flag’ is non-NULL)...
nbdkit-1.45.12/server/debug-flags.c:114:30: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:115:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/debug-flags.c:115:3: branch_true: ...to here
nbdkit-1.45.12/server/debug-flags.c:110:5: danger: ‘flag’ leaks here; was allocated at [(13)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def469]
nbdkit-1.45.12/server/debug-flags.c:118:7: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
nbdkit-1.45.12/server/debug-flags.c:92:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/debug-flags.c:99:3: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:102:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/debug-flags.c:103:6: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:103:6: branch_false: following ‘false’ branch (when ‘p <= q’)...
nbdkit-1.45.12/server/debug-flags.c:104:7: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:104:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/debug-flags.c:105:7: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:105:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/debug-flags.c:107:10: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:108:6: branch_false: following ‘false’ branch (when ‘flag’ is non-NULL)...
nbdkit-1.45.12/server/debug-flags.c:114:30: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:114:16: acquire_memory: allocated here
nbdkit-1.45.12/server/debug-flags.c:115:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/debug-flags.c:116:28: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:117:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/debug-flags.c:118:7: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:118:7: danger: ‘<unknown>’ leaks here; was allocated at [(15)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def470]
nbdkit-1.45.12/server/debug-flags.c:118:7: warning[-Wanalyzer-malloc-leak]: leak of ‘flag’
nbdkit-1.45.12/server/debug-flags.c:92:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/debug-flags.c:99:3: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:102:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/debug-flags.c:103:6: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:103:6: branch_false: following ‘false’ branch (when ‘p <= q’)...
nbdkit-1.45.12/server/debug-flags.c:104:7: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:104:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/debug-flags.c:105:7: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:105:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/debug-flags.c:107:10: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:107:10: acquire_memory: allocated here
nbdkit-1.45.12/server/debug-flags.c:108:6: branch_false: following ‘false’ branch (when ‘flag’ is non-NULL)...
nbdkit-1.45.12/server/debug-flags.c:114:30: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:115:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/debug-flags.c:116:28: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:117:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/debug-flags.c:118:7: branch_false: ...to here
nbdkit-1.45.12/server/debug-flags.c:118:7: danger: ‘flag’ leaks here; was allocated at [(13)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def471]
nbdkit-1.45.12/server/debug.c:86:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fp_outer’
nbdkit-1.45.12/server/debug.c:75:1: enter_function: entry to ‘debug_common’
nbdkit-1.45.12/server/debug.c:77:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/debug.c:80:13: branch_true: ...to here
nbdkit-1.45.12/server/debug.c:93:6: branch_false: following ‘false’ branch (when ‘fp_inner’ is non-NULL)...
nbdkit-1.45.12/server/debug.c:95:3: branch_false: ...to here
nbdkit-1.45.12/server/debug.c:97:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/debug.c:101:14: branch_false: ...to here
nbdkit-1.45.12/server/debug.c:101:14: acquire_memory: allocated here
nbdkit-1.45.12/server/debug.c:102:6: branch_false: following ‘false’ branch (when ‘fp_outer’ is non-NULL)...
nbdkit-1.45.12/server/debug.c:104:7: branch_false: ...to here
nbdkit-1.45.12/server/debug.c:106:3: call_function: calling ‘prologue’ from ‘debug_common’
nbdkit-1.45.12/server/debug.c:86:22: danger: ‘fp_outer’ leaks here; was allocated at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def472]
nbdkit-1.45.12/server/debug.c:86:22: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
nbdkit-1.45.12/server/debug.c:158:1: enter_function: entry to ‘debug_in_server’
nbdkit-1.45.12/server/debug.c:163:3: acquire_resource: ‘va_start’ called here
nbdkit-1.45.12/server/debug.c:164:3: call_function: calling ‘debug_common’ from ‘debug_in_server’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def473]
nbdkit-1.45.12/server/exports.c:51:1: warning[-Wanalyzer-malloc-leak]: leak of ‘e.description’
nbdkit-1.45.12/server/exports.c:104:1: enter_function: entry to ‘nbdkit_add_export’
nbdkit-1.45.12/server/exports.c:109:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/exports.c:114:7: branch_false: ...to here
nbdkit-1.45.12/server/exports.c:114:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/exports.c:114:7: branch_false: ...to here
nbdkit-1.45.12/server/exports.c:115:7: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/exports.c:121:12: branch_false: ...to here
nbdkit-1.45.12/server/exports.c:122:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/exports.c:126:6: branch_false: ...to here
nbdkit-1.45.12/server/exports.c:126:6: branch_true: following ‘true’ branch (when ‘description’ is non-NULL)...
nbdkit-1.45.12/server/exports.c:127:21: branch_true: ...to here
nbdkit-1.45.12/server/exports.c:127:21: acquire_memory: allocated here
nbdkit-1.45.12/server/exports.c:128:8: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/exports.c:136:7: branch_false: ...to here
nbdkit-1.45.12/server/exports.c:136:7: call_function: calling ‘exports_append’ from ‘nbdkit_add_export’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def474]
nbdkit-1.45.12/server/exports.c:51:1: warning[-Wanalyzer-malloc-leak]: leak of ‘e.name’
nbdkit-1.45.12/server/exports.c:104:1: enter_function: entry to ‘nbdkit_add_export’
nbdkit-1.45.12/server/exports.c:109:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/exports.c:114:7: branch_false: ...to here
nbdkit-1.45.12/server/exports.c:114:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/exports.c:114:7: branch_false: ...to here
nbdkit-1.45.12/server/exports.c:121:12: acquire_memory: allocated here
nbdkit-1.45.12/server/exports.c:122:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/exports.c:126:6: branch_false: ...to here
nbdkit-1.45.12/server/exports.c:126:6: branch_false: following ‘false’ branch (when ‘description’ is NULL)...
nbdkit-1.45.12/server/exports.c:136:7: branch_false: ...to here
nbdkit-1.45.12/server/exports.c:136:7: call_function: calling ‘exports_append’ from ‘nbdkit_add_export’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def475]
nbdkit-1.45.12/server/exports.c:129:7: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(name)’
nbdkit-1.45.12/server/exports.c:109:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/exports.c:114:7: branch_false: ...to here
nbdkit-1.45.12/server/exports.c:114:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/exports.c:114:7: branch_false: ...to here
nbdkit-1.45.12/server/exports.c:115:7: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/exports.c:121:12: branch_false: ...to here
nbdkit-1.45.12/server/exports.c:121:12: acquire_memory: allocated here
nbdkit-1.45.12/server/exports.c:122:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/exports.c:126:6: branch_false: ...to here
nbdkit-1.45.12/server/exports.c:126:6: branch_true: following ‘true’ branch (when ‘description’ is non-NULL)...
nbdkit-1.45.12/server/exports.c:127:21: branch_true: ...to here
nbdkit-1.45.12/server/exports.c:128:8: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/exports.c:129:7: branch_true: ...to here
nbdkit-1.45.12/server/exports.c:129:7: danger: ‘strdup(name)’ leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def476]
nbdkit-1.45.12/server/exports.c:137:5: warning[-Wanalyzer-malloc-leak]: leak of ‘e.description’
nbdkit-1.45.12/server/exports.c:104:1: enter_function: entry to ‘nbdkit_add_export’
nbdkit-1.45.12/server/exports.c:109:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/exports.c:114:7: branch_false: ...to here
nbdkit-1.45.12/server/exports.c:114:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/exports.c:114:7: branch_false: ...to here
nbdkit-1.45.12/server/exports.c:115:7: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/exports.c:121:12: branch_false: ...to here
nbdkit-1.45.12/server/exports.c:122:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/exports.c:126:6: branch_false: ...to here
nbdkit-1.45.12/server/exports.c:126:6: branch_true: following ‘true’ branch (when ‘description’ is non-NULL)...
nbdkit-1.45.12/server/exports.c:127:21: branch_true: ...to here
nbdkit-1.45.12/server/exports.c:127:21: acquire_memory: allocated here
nbdkit-1.45.12/server/exports.c:128:8: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/exports.c:136:7: branch_false: ...to here
nbdkit-1.45.12/server/exports.c:136:7: call_function: calling ‘exports_append’ from ‘nbdkit_add_export’
nbdkit-1.45.12/server/exports.c:136:7: return_function: returning to ‘nbdkit_add_export’ from ‘exports_append’
nbdkit-1.45.12/server/exports.c:136:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/exports.c:137:5: branch_true: ...to here
nbdkit-1.45.12/server/exports.c:137:5: danger: ‘e.description’ leaks here; was allocated at [(12)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def477]
nbdkit-1.45.12/server/exports.c:137:5: warning[-Wanalyzer-malloc-leak]: leak of ‘e.name’
nbdkit-1.45.12/server/exports.c:104:1: enter_function: entry to ‘nbdkit_add_export’
nbdkit-1.45.12/server/exports.c:109:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/exports.c:114:7: branch_false: ...to here
nbdkit-1.45.12/server/exports.c:114:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/exports.c:114:7: branch_false: ...to here
nbdkit-1.45.12/server/exports.c:121:12: acquire_memory: allocated here
nbdkit-1.45.12/server/exports.c:122:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/exports.c:126:6: branch_false: ...to here
nbdkit-1.45.12/server/exports.c:126:6: branch_false: following ‘false’ branch (when ‘description’ is NULL)...
nbdkit-1.45.12/server/exports.c:136:7: branch_false: ...to here
nbdkit-1.45.12/server/exports.c:136:7: call_function: calling ‘exports_append’ from ‘nbdkit_add_export’
nbdkit-1.45.12/server/exports.c:136:7: return_function: returning to ‘nbdkit_add_export’ from ‘exports_append’
nbdkit-1.45.12/server/exports.c:136:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/exports.c:137:5: branch_true: ...to here
nbdkit-1.45.12/server/exports.c:137:5: danger: ‘e.name’ leaks here; was allocated at [(6)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def478]
nbdkit-1.45.12/server/extents.c:79:7: warning[-Wanalyzer-malloc-leak]: leak of ‘nbdkit_extents_new(offset, (long unsigned int)count + offset)’
nbdkit-1.45.12/server/extents.c:310:1: enter_function: entry to ‘nbdkit_extents_full’
nbdkit-1.45.12/server/extents.c:323:9: call_function: calling ‘nbdkit_extents_new’ from ‘nbdkit_extents_full’
nbdkit-1.45.12/server/extents.c:323:9: return_function: returning to ‘nbdkit_extents_full’ from ‘nbdkit_extents_new’
nbdkit-1.45.12/server/extents.c:324:6: branch_false: following ‘false’ branch...
branch_false: ...to here
nbdkit-1.45.12/server/extents.c:326:10: branch_true: following ‘true’ branch (when ‘count != 0’)...
nbdkit-1.45.12/server/extents.c:331:9: branch_true: ...to here
nbdkit-1.45.12/server/extents.c:331:9: call_function: calling ‘nbdkit_extents_new’ from ‘nbdkit_extents_full’
nbdkit-1.45.12/server/extents.c:331:9: return_function: returning to ‘nbdkit_extents_full’ from ‘nbdkit_extents_new’
nbdkit-1.45.12/server/extents.c:332:8: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/extents.c:334:9: branch_false: ...to here
nbdkit-1.45.12/server/extents.c:334:8: branch_false: following ‘false’ branch...
branch_false: ...to here
nbdkit-1.45.12/server/extents.c:337:17: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/extents.c:348:5: branch_false: ...to here
nbdkit-1.45.12/server/extents.c:79:7: danger: ‘nbdkit_extents_new(offset, (long unsigned int)count + offset)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def479]
nbdkit-1.45.12/server/extents.c:80:5: warning[-Wanalyzer-malloc-leak]: leak of ‘nbdkit_extents_new(offset, (long unsigned int)count + offset)’
nbdkit-1.45.12/server/extents.c:310:1: enter_function: entry to ‘nbdkit_extents_full’
nbdkit-1.45.12/server/extents.c:323:9: call_function: calling ‘nbdkit_extents_new’ from ‘nbdkit_extents_full’
nbdkit-1.45.12/server/extents.c:323:9: return_function: returning to ‘nbdkit_extents_full’ from ‘nbdkit_extents_new’
nbdkit-1.45.12/server/extents.c:324:6: branch_false: following ‘false’ branch...
branch_false: ...to here
nbdkit-1.45.12/server/extents.c:326:10: branch_true: following ‘true’ branch (when ‘count != 0’)...
nbdkit-1.45.12/server/extents.c:331:9: branch_true: ...to here
nbdkit-1.45.12/server/extents.c:331:9: call_function: calling ‘nbdkit_extents_new’ from ‘nbdkit_extents_full’
nbdkit-1.45.12/server/extents.c:331:9: return_function: returning to ‘nbdkit_extents_full’ from ‘nbdkit_extents_new’
nbdkit-1.45.12/server/extents.c:332:8: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/extents.c:334:9: branch_false: ...to here
nbdkit-1.45.12/server/extents.c:334:8: branch_false: following ‘false’ branch...
branch_false: ...to here
nbdkit-1.45.12/server/extents.c:337:17: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/extents.c:338:38: branch_true: ...to here
nbdkit-1.45.12/server/extents.c:338:38: call_function: calling ‘nbdkit_get_extent’ from ‘nbdkit_extents_full’
nbdkit-1.45.12/server/extents.c:338:38: return_function: returning to ‘nbdkit_extents_full’ from ‘nbdkit_get_extent’
nbdkit-1.45.12/server/extents.c:339:11: call_function: calling ‘nbdkit_add_extent’ from ‘nbdkit_extents_full’
nbdkit-1.45.12/server/extents.c:339:11: return_function: returning to ‘nbdkit_extents_full’ from ‘nbdkit_add_extent’
nbdkit-1.45.12/server/extents.c:339:10: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/extents.c:342:7: branch_false: ...to here
nbdkit-1.45.12/server/extents.c:342:7: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/extents.c:343:7: branch_true: ...to here
nbdkit-1.45.12/server/extents.c:337:17: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/extents.c:348:5: branch_false: ...to here
nbdkit-1.45.12/server/extents.c:348:5: branch_true: following ‘true’ branch (when ‘offset > offset’)...
nbdkit-1.45.12/server/extents.c:330:49: branch_true: ...to here
nbdkit-1.45.12/server/extents.c:326:10: branch_true: following ‘true’ branch (when ‘count != 0’)...
nbdkit-1.45.12/server/extents.c:331:9: branch_true: ...to here
nbdkit-1.45.12/server/extents.c:331:9: call_function: calling ‘nbdkit_extents_new’ from ‘nbdkit_extents_full’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def480]
nbdkit-1.45.12/server/extents.c:89:5: warning[-Wanalyzer-malloc-leak]: leak of ‘nbdkit_extents_new(offset, (long unsigned int)count + offset)’
nbdkit-1.45.12/server/extents.c:310:1: enter_function: entry to ‘nbdkit_extents_full’
nbdkit-1.45.12/server/extents.c:323:9: call_function: calling ‘nbdkit_extents_new’ from ‘nbdkit_extents_full’
nbdkit-1.45.12/server/extents.c:323:9: return_function: returning to ‘nbdkit_extents_full’ from ‘nbdkit_extents_new’
nbdkit-1.45.12/server/extents.c:324:6: branch_false: following ‘false’ branch...
branch_false: ...to here
nbdkit-1.45.12/server/extents.c:326:10: branch_true: following ‘true’ branch (when ‘count != 0’)...
nbdkit-1.45.12/server/extents.c:331:9: branch_true: ...to here
nbdkit-1.45.12/server/extents.c:331:9: call_function: calling ‘nbdkit_extents_new’ from ‘nbdkit_extents_full’
nbdkit-1.45.12/server/extents.c:331:9: return_function: returning to ‘nbdkit_extents_full’ from ‘nbdkit_extents_new’
nbdkit-1.45.12/server/extents.c:332:8: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/extents.c:334:9: branch_false: ...to here
nbdkit-1.45.12/server/extents.c:334:8: branch_false: following ‘false’ branch...
branch_false: ...to here
nbdkit-1.45.12/server/extents.c:337:17: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/extents.c:338:38: branch_true: ...to here
nbdkit-1.45.12/server/extents.c:338:38: call_function: calling ‘nbdkit_get_extent’ from ‘nbdkit_extents_full’
nbdkit-1.45.12/server/extents.c:338:38: return_function: returning to ‘nbdkit_extents_full’ from ‘nbdkit_get_extent’
nbdkit-1.45.12/server/extents.c:339:11: call_function: calling ‘nbdkit_add_extent’ from ‘nbdkit_extents_full’
nbdkit-1.45.12/server/extents.c:339:11: return_function: returning to ‘nbdkit_extents_full’ from ‘nbdkit_add_extent’
nbdkit-1.45.12/server/extents.c:339:10: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/extents.c:342:7: branch_false: ...to here
nbdkit-1.45.12/server/extents.c:342:7: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/extents.c:343:7: branch_true: ...to here
nbdkit-1.45.12/server/extents.c:337:17: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/extents.c:348:5: branch_false: ...to here
nbdkit-1.45.12/server/extents.c:348:5: branch_true: following ‘true’ branch (when ‘offset > offset’)...
nbdkit-1.45.12/server/extents.c:330:49: branch_true: ...to here
nbdkit-1.45.12/server/extents.c:326:10: branch_true: following ‘true’ branch (when ‘count != 0’)...
nbdkit-1.45.12/server/extents.c:331:9: branch_true: ...to here
nbdkit-1.45.12/server/extents.c:331:9: call_function: calling ‘nbdkit_extents_new’ from ‘nbdkit_extents_full’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def481]
nbdkit-1.45.12/server/extents.c:98:5: warning[-Wanalyzer-malloc-leak]: leak of ‘nbdkit_extents_new(offset, (long unsigned int)count + offset)’
nbdkit-1.45.12/server/extents.c:310:1: enter_function: entry to ‘nbdkit_extents_full’
nbdkit-1.45.12/server/extents.c:323:9: call_function: calling ‘nbdkit_extents_new’ from ‘nbdkit_extents_full’
nbdkit-1.45.12/server/extents.c:323:9: return_function: returning to ‘nbdkit_extents_full’ from ‘nbdkit_extents_new’
nbdkit-1.45.12/server/extents.c:324:6: branch_false: following ‘false’ branch...
branch_false: ...to here
nbdkit-1.45.12/server/extents.c:326:10: branch_true: following ‘true’ branch (when ‘count != 0’)...
nbdkit-1.45.12/server/extents.c:331:9: branch_true: ...to here
nbdkit-1.45.12/server/extents.c:331:9: call_function: calling ‘nbdkit_extents_new’ from ‘nbdkit_extents_full’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def482]
nbdkit-1.45.12/server/extents.c:279:15: warning[-Wanalyzer-malloc-leak]: leak of ‘extents2’
nbdkit-1.45.12/server/extents.c:215:1: enter_function: entry to ‘nbdkit_extents_aligned’
nbdkit-1.45.12/server/extents.c:226:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/extents.c:230:3: branch_false: ...to here
nbdkit-1.45.12/server/extents.c:230:3: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/extents.c:231:3: branch_true: ...to here
nbdkit-1.45.12/server/extents.c:234:6: branch_false: following ‘false’ branch...
branch_false: ...to here
nbdkit-1.45.12/server/extents.c:236:15: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/extents.c:237:10: branch_true: ...to here
nbdkit-1.45.12/server/extents.c:238:8: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/extents.c:240:11: branch_true: ...to here
nbdkit-1.45.12/server/extents.c:240:10: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/extents.c:257:7: branch_false: ...to here
nbdkit-1.45.12/server/extents.c:257:7: branch_true: following ‘true’ branch (when ‘i == 0’)...
nbdkit-1.45.12/server/extents.c:258:10: branch_true: ...to here
nbdkit-1.45.12/server/extents.c:260:14: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/extents.c:261:13: branch_true: ...to here
nbdkit-1.45.12/server/extents.c:261:12: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/extents.c:271:55: branch_false: ...to here
nbdkit-1.45.12/server/extents.c:273:22: call_function: calling ‘nbdkit_extents_new’ from ‘nbdkit_extents_aligned’
nbdkit-1.45.12/server/extents.c:273:22: return_function: returning to ‘nbdkit_extents_aligned’ from ‘nbdkit_extents_new’
nbdkit-1.45.12/server/extents.c:275:14: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/extents.c:279:15: branch_false: ...to here
nbdkit-1.45.12/server/extents.c:279:15: danger: ‘extents2’ leaks here; was allocated at [(29)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/28)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def483]
nbdkit-1.45.12/server/extents.c:330:49: warning[-Wanalyzer-malloc-leak]: leak of ‘nbdkit_extents_new(offset, (long unsigned int)count + offset)’
nbdkit-1.45.12/server/extents.c:310:1: enter_function: entry to ‘nbdkit_extents_full’
nbdkit-1.45.12/server/extents.c:323:9: call_function: calling ‘nbdkit_extents_new’ from ‘nbdkit_extents_full’
nbdkit-1.45.12/server/extents.c:323:9: return_function: returning to ‘nbdkit_extents_full’ from ‘nbdkit_extents_new’
nbdkit-1.45.12/server/extents.c:324:6: branch_false: following ‘false’ branch...
branch_false: ...to here
nbdkit-1.45.12/server/extents.c:326:10: branch_true: following ‘true’ branch (when ‘count != 0’)...
nbdkit-1.45.12/server/extents.c:331:9: branch_true: ...to here
nbdkit-1.45.12/server/extents.c:331:9: call_function: calling ‘nbdkit_extents_new’ from ‘nbdkit_extents_full’
nbdkit-1.45.12/server/extents.c:331:9: return_function: returning to ‘nbdkit_extents_full’ from ‘nbdkit_extents_new’
nbdkit-1.45.12/server/extents.c:332:8: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/extents.c:332:5: branch_true: ...to here
nbdkit-1.45.12/server/extents.c:330:49: danger: ‘nbdkit_extents_new(offset, (long unsigned int)count + offset)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def484]
nbdkit-1.45.12/server/extents.c:334:9: warning[-Wanalyzer-malloc-leak]: leak of ‘nbdkit_extents_new(offset, (long unsigned int)count + offset)’
nbdkit-1.45.12/server/extents.c:310:1: enter_function: entry to ‘nbdkit_extents_full’
nbdkit-1.45.12/server/extents.c:323:9: call_function: calling ‘nbdkit_extents_new’ from ‘nbdkit_extents_full’
nbdkit-1.45.12/server/extents.c:323:9: return_function: returning to ‘nbdkit_extents_full’ from ‘nbdkit_extents_new’
nbdkit-1.45.12/server/extents.c:324:6: branch_false: following ‘false’ branch...
branch_false: ...to here
nbdkit-1.45.12/server/extents.c:326:10: branch_true: following ‘true’ branch (when ‘count != 0’)...
nbdkit-1.45.12/server/extents.c:331:9: branch_true: ...to here
nbdkit-1.45.12/server/extents.c:331:9: call_function: calling ‘nbdkit_extents_new’ from ‘nbdkit_extents_full’
nbdkit-1.45.12/server/extents.c:331:9: return_function: returning to ‘nbdkit_extents_full’ from ‘nbdkit_extents_new’
nbdkit-1.45.12/server/extents.c:332:8: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/extents.c:334:9: branch_false: ...to here
nbdkit-1.45.12/server/extents.c:334:9: danger: ‘nbdkit_extents_new(offset, (long unsigned int)count + offset)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def485]
nbdkit-1.45.12/server/extents.c:334:9: warning[-Wanalyzer-malloc-leak]: leak of ‘t’
nbdkit-1.45.12/server/extents.c:310:1: enter_function: entry to ‘nbdkit_extents_full’
nbdkit-1.45.12/server/extents.c:323:9: call_function: calling ‘nbdkit_extents_new’ from ‘nbdkit_extents_full’
nbdkit-1.45.12/server/extents.c:323:9: return_function: returning to ‘nbdkit_extents_full’ from ‘nbdkit_extents_new’
nbdkit-1.45.12/server/extents.c:324:6: branch_false: following ‘false’ branch...
branch_false: ...to here
nbdkit-1.45.12/server/extents.c:326:10: branch_true: following ‘true’ branch (when ‘count != 0’)...
nbdkit-1.45.12/server/extents.c:331:9: branch_true: ...to here
nbdkit-1.45.12/server/extents.c:331:9: call_function: calling ‘nbdkit_extents_new’ from ‘nbdkit_extents_full’
nbdkit-1.45.12/server/extents.c:331:9: return_function: returning to ‘nbdkit_extents_full’ from ‘nbdkit_extents_new’
nbdkit-1.45.12/server/extents.c:332:8: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/extents.c:334:9: branch_false: ...to here
nbdkit-1.45.12/server/extents.c:334:9: danger: ‘t’ leaks here; was allocated at [(21)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def486]
nbdkit-1.45.12/server/filters.c:701:3: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
nbdkit-1.45.12/server/filters.c:694:7: acquire_memory: allocated here
nbdkit-1.45.12/server/filters.c:695:6: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
nbdkit-1.45.12/server/filters.c:700:3: branch_false: ...to here
nbdkit-1.45.12/server/filters.c:701:3: danger: ‘f’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def487]
nbdkit-1.45.12/server/internal.h:615:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
nbdkit-1.45.12/server/sockets.c:279:1: enter_function: entry to ‘bind_vsock’
nbdkit-1.45.12/server/sockets.c:297:10: acquire_resource: socket created here
nbdkit-1.45.12/server/sockets.c:304:6: branch_false: following ‘false’ branch (when ‘sock != -1’)...
nbdkit-1.45.12/server/sockets.c:309:3: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:314:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/sockets.c:319:7: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:319:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/sockets.c:324:7: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:324:7: call_function: calling ‘sockets_append’ from ‘bind_vsock’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def488]
nbdkit-1.45.12/server/main.c:1243:22: warning[-Wanalyzer-malloc-leak]: leak of ‘new_cwd’
nbdkit-1.45.12/server/main.c:1238:1: enter_function: entry to ‘parse_at_path’
nbdkit-1.45.12/server/main.c:1257:8: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/main.c:1266:7: branch_false: ...to here
nbdkit-1.45.12/server/main.c:1267:3: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
nbdkit-1.45.12/server/main.c:1268:28: branch_true: ...to here
nbdkit-1.45.12/server/main.c:1269:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/main.c:1275:3: branch_false: ...to here
nbdkit-1.45.12/server/main.c:1277:6: branch_false: following ‘false’ branch...
branch_false: ...to here
nbdkit-1.45.12/server/main.c:1282:10: branch_true: following ‘true’ branch...
branch_true: ...to here
nbdkit-1.45.12/server/main.c:1302:8: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/main.c:1306:5: branch_false: ...to here
nbdkit-1.45.12/server/main.c:1306:5: call_function: calling ‘parse_key_value’ from ‘parse_at_path’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def489]
nbdkit-1.45.12/server/main.c:1243:22: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
nbdkit-1.45.12/server/main.c:1249:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/main.c:1250:12: branch_true: ...to here
nbdkit-1.45.12/server/main.c:1250:12: acquire_memory: allocated here
nbdkit-1.45.12/server/main.c:1251:8: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/main.c:1266:7: branch_false: ...to here
nbdkit-1.45.12/server/main.c:1267:3: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
nbdkit-1.45.12/server/main.c:1268:28: branch_true: ...to here
nbdkit-1.45.12/server/main.c:1269:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/main.c:1275:3: branch_false: ...to here
nbdkit-1.45.12/server/main.c:1275:3: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/main.c:1276:8: branch_false: ...to here
nbdkit-1.45.12/server/main.c:1277:6: branch_false: following ‘false’ branch...
branch_false: ...to here
nbdkit-1.45.12/server/main.c:1243:22: danger: ‘path’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def490]
nbdkit-1.45.12/server/main.c:1517:6: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 0)’
nbdkit-1.45.12/server/main.c:1517:7: acquire_resource: opened here
nbdkit-1.45.12/server/main.c:1517:6: danger: ‘open("/dev/null", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def491]
nbdkit-1.45.12/server/main.c:1517:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 1)’
nbdkit-1.45.12/server/main.c:1517:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/main.c:1518:7: branch_false: ...to here
nbdkit-1.45.12/server/main.c:1518:7: acquire_resource: opened here
nbdkit-1.45.12/server/main.c:1517:7: danger: ‘open("/dev/null", 1)’ leaks here; was opened at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def492]
nbdkit-1.45.12/server/plugins.c:900:3: warning[-Wanalyzer-malloc-leak]: leak of ‘p’
nbdkit-1.45.12/server/plugins.c:893:7: acquire_memory: allocated here
nbdkit-1.45.12/server/plugins.c:894:6: branch_false: following ‘false’ branch (when ‘p’ is non-NULL)...
nbdkit-1.45.12/server/plugins.c:899:3: branch_false: ...to here
nbdkit-1.45.12/server/plugins.c:900:3: danger: ‘p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def493]
nbdkit-1.45.12/server/protocol-handshake-newstyle.c:292:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
nbdkit-1.45.12/server/protocol-handshake-newstyle.c:385:1: enter_function: entry to ‘negotiate_handshake_newstyle_options’
nbdkit-1.45.12/server/protocol-handshake-newstyle.c:387:3: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/protocol-handshake-newstyle.c:399:8: branch_true: ...to here
nbdkit-1.45.12/server/protocol-handshake-newstyle.c:399:37: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/protocol-handshake-newstyle.c:400:24: branch_true: ...to here
nbdkit-1.45.12/server/protocol-handshake-newstyle.c:402:9: call_function: calling ‘conn_recv_full’ from ‘negotiate_handshake_newstyle_options’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def494]
nbdkit-1.45.12/server/protocol-handshake-newstyle.c:400:24: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
nbdkit-1.45.12/server/protocol-handshake-newstyle.c:978:1: enter_function: entry to ‘protocol_handshake_newstyle’
nbdkit-1.45.12/server/protocol-handshake-newstyle.c:980:3: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/protocol-handshake-newstyle.c:984:12: branch_true: ...to here
nbdkit-1.45.12/server/protocol-handshake-newstyle.c:992:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/protocol-handshake-newstyle.c:998:23: branch_false: ...to here
nbdkit-1.45.12/server/protocol-handshake-newstyle.c:998:7: call_function: calling ‘conn_recv_full’ from ‘protocol_handshake_newstyle’
nbdkit-1.45.12/server/protocol-handshake-newstyle.c:998:7: return_function: returning to ‘protocol_handshake_newstyle’ from ‘conn_recv_full’
nbdkit-1.45.12/server/protocol-handshake-newstyle.c:998:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/protocol-handshake-newstyle.c:1001:18: branch_false: ...to here
nbdkit-1.45.12/server/protocol-handshake-newstyle.c:1004:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/protocol-handshake-newstyle.c:1010:7: branch_false: ...to here
nbdkit-1.45.12/server/protocol-handshake-newstyle.c:1010:7: call_function: calling ‘negotiate_handshake_newstyle_options’ from ‘protocol_handshake_newstyle’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def495]
nbdkit-1.45.12/server/protocol.c:474:36: warning[-Wanalyzer-malloc-leak]: leak of ‘blocks’
nbdkit-1.45.12/server/protocol.c:463:3: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/protocol.c:466:12: branch_true: ...to here
nbdkit-1.45.12/server/protocol.c:466:12: acquire_memory: allocated here
nbdkit-1.45.12/server/protocol.c:468:6: branch_false: following ‘false’ branch (when ‘blocks’ is non-NULL)...
nbdkit-1.45.12/server/protocol.c:473:6: branch_false: ...to here
nbdkit-1.45.12/server/protocol.c:473:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/protocol.c:474:36: branch_true: ...to here
nbdkit-1.45.12/server/protocol.c:474:36: danger: ‘blocks’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def496]
nbdkit-1.45.12/server/protocol.c:490:38: warning[-Wanalyzer-malloc-leak]: leak of ‘blocks’
nbdkit-1.45.12/server/protocol.c:463:3: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/protocol.c:466:12: branch_true: ...to here
nbdkit-1.45.12/server/protocol.c:466:12: acquire_memory: allocated here
nbdkit-1.45.12/server/protocol.c:468:6: branch_false: following ‘false’ branch (when ‘blocks’ is non-NULL)...
nbdkit-1.45.12/server/protocol.c:473:6: branch_false: ...to here
nbdkit-1.45.12/server/protocol.c:473:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/protocol.c:488:5: branch_false: ...to here
nbdkit-1.45.12/server/protocol.c:489:17: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/protocol.c:490:38: branch_true: ...to here
nbdkit-1.45.12/server/protocol.c:490:38: danger: ‘blocks’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def497]
nbdkit-1.45.12/server/protocol.c:566:7: warning[-Wanalyzer-malloc-leak]: leak of ‘blocks’
nbdkit-1.45.12/server/protocol.c:537:1: enter_function: entry to ‘send_structured_reply_block_status’
nbdkit-1.45.12/server/protocol.c:542:3: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/protocol.c:543:3: branch_true: ...to here
nbdkit-1.45.12/server/protocol.c:543:3: branch_true: following ‘true’ branch (when ‘_r == 0’)...
nbdkit-1.45.12/server/protocol.c:545:48: branch_true: ...to here
nbdkit-1.45.12/server/protocol.c:551:3: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/protocol.c:552:3: branch_true: ...to here
nbdkit-1.45.12/server/protocol.c:552:3: branch_true: following ‘true’ branch (when ‘cmd == 7’)...
nbdkit-1.45.12/server/protocol.c:554:12: branch_true: ...to here
nbdkit-1.45.12/server/protocol.c:554:12: call_function: calling ‘extents_to_block_descriptors’ from ‘send_structured_reply_block_status’
nbdkit-1.45.12/server/protocol.c:554:12: return_function: returning to ‘send_structured_reply_block_status’ from ‘extents_to_block_descriptors’
nbdkit-1.45.12/server/protocol.c:556:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/protocol.c:559:3: branch_false: ...to here
nbdkit-1.45.12/server/protocol.c:566:7: danger: ‘blocks’ leaks here; was allocated at [(14)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def498]
nbdkit-1.45.12/server/protocol.c:574:7: warning[-Wanalyzer-malloc-leak]: leak of ‘blocks’
nbdkit-1.45.12/server/protocol.c:537:1: enter_function: entry to ‘send_structured_reply_block_status’
nbdkit-1.45.12/server/protocol.c:542:3: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/protocol.c:543:3: branch_true: ...to here
nbdkit-1.45.12/server/protocol.c:543:3: branch_true: following ‘true’ branch (when ‘_r == 0’)...
nbdkit-1.45.12/server/protocol.c:545:48: branch_true: ...to here
nbdkit-1.45.12/server/protocol.c:551:3: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/protocol.c:552:3: branch_true: ...to here
nbdkit-1.45.12/server/protocol.c:552:3: branch_true: following ‘true’ branch (when ‘cmd == 7’)...
nbdkit-1.45.12/server/protocol.c:554:12: branch_true: ...to here
nbdkit-1.45.12/server/protocol.c:554:12: call_function: calling ‘extents_to_block_descriptors’ from ‘send_structured_reply_block_status’
nbdkit-1.45.12/server/protocol.c:554:12: return_function: returning to ‘send_structured_reply_block_status’ from ‘extents_to_block_descriptors’
nbdkit-1.45.12/server/protocol.c:556:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/protocol.c:559:3: branch_false: ...to here
nbdkit-1.45.12/server/protocol.c:567:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/protocol.c:573:3: branch_false: ...to here
nbdkit-1.45.12/server/protocol.c:574:7: danger: ‘blocks’ leaks here; was allocated at [(14)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def499]
nbdkit-1.45.12/server/public.c:91:22: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
nbdkit-1.45.12/server/public.c:94:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/public.c:99:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/public.c:100:11: branch_true: ...to here
nbdkit-1.45.12/server/public.c:100:11: acquire_memory: allocated here
nbdkit-1.45.12/server/public.c:101:8: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/public.c:91:22: branch_false: ...to here
nbdkit-1.45.12/server/public.c:91:22: danger: ‘ret’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def500]
nbdkit-1.45.12/server/public.c:1122:23: warning[-Wanalyzer-malloc-leak]: leak of ‘copy’
nbdkit-1.45.12/server/public.c:1136:1: enter_function: entry to ‘nbdkit_strndup_intern’
nbdkit-1.45.12/server/public.c:1140:6: branch_false: following ‘false’ branch (when ‘str’ is non-NULL)...
nbdkit-1.45.12/server/public.c:1146:10: branch_false: ...to here
nbdkit-1.45.12/server/public.c:1146:10: acquire_memory: allocated here
nbdkit-1.45.12/server/public.c:1147:6: branch_false: following ‘false’ branch (when ‘copy’ is non-NULL)...
nbdkit-1.45.12/server/public.c:1152:10: branch_false: ...to here
nbdkit-1.45.12/server/public.c:1152:10: call_function: calling ‘add_intern’ from ‘nbdkit_strndup_intern’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def501]
nbdkit-1.45.12/server/public.c:1127:5: warning[-Wanalyzer-malloc-leak]: leak of ‘copy’
nbdkit-1.45.12/server/public.c:1156:1: enter_function: entry to ‘nbdkit_strdup_intern’
nbdkit-1.45.12/server/public.c:1160:6: branch_false: following ‘false’ branch (when ‘str’ is non-NULL)...
nbdkit-1.45.12/server/public.c:1166:10: branch_false: ...to here
nbdkit-1.45.12/server/public.c:1166:10: acquire_memory: allocated here
nbdkit-1.45.12/server/public.c:1167:6: branch_false: following ‘false’ branch (when ‘copy’ is non-NULL)...
nbdkit-1.45.12/server/public.c:1172:10: branch_false: ...to here
nbdkit-1.45.12/server/public.c:1172:10: call_function: calling ‘add_intern’ from ‘nbdkit_strdup_intern’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def502]
nbdkit-1.45.12/server/sockets.c:106:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
nbdkit-1.45.12/server/sockets.c:115:1: enter_function: entry to ‘bind_unix_socket’
nbdkit-1.45.12/server/sockets.c:121:3: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/sockets.c:123:3: branch_true: ...to here
nbdkit-1.45.12/server/sockets.c:123:3: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/sockets.c:126:9: branch_true: ...to here
nbdkit-1.45.12/server/sockets.c:127:6: branch_false: following ‘false’ branch (when ‘len <= 107’)...
nbdkit-1.45.12/server/sockets.c:133:3: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:136:10: acquire_resource: socket created here
nbdkit-1.45.12/server/sockets.c:143:6: branch_false: following ‘false’ branch (when ‘sock != -1’)...
nbdkit-1.45.12/server/sockets.c:148:3: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:151:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/sockets.c:156:7: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:156:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/sockets.c:161:3: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:161:3: call_function: calling ‘clear_selinux_label’ from ‘bind_unix_socket’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def503]
nbdkit-1.45.12/server/sockets.c:107:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
nbdkit-1.45.12/server/sockets.c:115:1: enter_function: entry to ‘bind_unix_socket’
nbdkit-1.45.12/server/sockets.c:121:3: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/sockets.c:123:3: branch_true: ...to here
nbdkit-1.45.12/server/sockets.c:123:3: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/sockets.c:126:9: branch_true: ...to here
nbdkit-1.45.12/server/sockets.c:127:6: branch_false: following ‘false’ branch (when ‘len <= 107’)...
nbdkit-1.45.12/server/sockets.c:133:3: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:136:10: acquire_resource: socket created here
nbdkit-1.45.12/server/sockets.c:143:6: branch_false: following ‘false’ branch (when ‘sock != -1’)...
nbdkit-1.45.12/server/sockets.c:148:3: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:151:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/sockets.c:156:7: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:156:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/sockets.c:161:3: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:161:3: call_function: calling ‘clear_selinux_label’ from ‘bind_unix_socket’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def504]
nbdkit-1.45.12/server/sockets.c:157:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
nbdkit-1.45.12/server/sockets.c:121:3: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/sockets.c:123:3: branch_true: ...to here
nbdkit-1.45.12/server/sockets.c:123:3: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/sockets.c:126:9: branch_true: ...to here
nbdkit-1.45.12/server/sockets.c:127:6: branch_false: following ‘false’ branch (when ‘len <= 107’)...
nbdkit-1.45.12/server/sockets.c:133:3: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:136:10: acquire_resource: socket created here
nbdkit-1.45.12/server/sockets.c:143:6: branch_false: following ‘false’ branch (when ‘sock != -1’)...
nbdkit-1.45.12/server/sockets.c:148:3: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:151:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/sockets.c:156:7: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:156:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/sockets.c:157:5: branch_true: ...to here
nbdkit-1.45.12/server/sockets.c:157:5: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def505]
nbdkit-1.45.12/server/sockets.c:164:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
nbdkit-1.45.12/server/sockets.c:115:1: enter_function: entry to ‘bind_unix_socket’
nbdkit-1.45.12/server/sockets.c:121:3: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/sockets.c:123:3: branch_true: ...to here
nbdkit-1.45.12/server/sockets.c:123:3: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/sockets.c:126:9: branch_true: ...to here
nbdkit-1.45.12/server/sockets.c:127:6: branch_false: following ‘false’ branch (when ‘len <= 107’)...
nbdkit-1.45.12/server/sockets.c:133:3: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:136:10: acquire_resource: socket created here
nbdkit-1.45.12/server/sockets.c:143:6: branch_false: following ‘false’ branch (when ‘sock != -1’)...
nbdkit-1.45.12/server/sockets.c:148:3: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:151:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/sockets.c:156:7: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:156:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/sockets.c:161:3: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:163:7: call_function: calling ‘sockets_append’ from ‘bind_unix_socket’
nbdkit-1.45.12/server/sockets.c:163:7: return_function: returning to ‘bind_unix_socket’ from ‘sockets_append’
nbdkit-1.45.12/server/sockets.c:163:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/sockets.c:164:5: branch_true: ...to here
nbdkit-1.45.12/server/sockets.c:164:5: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def506]
nbdkit-1.45.12/server/sockets.c:251:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
nbdkit-1.45.12/server/sockets.c:189:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/sockets.c:198:8: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:198:16: branch_true: following ‘true’ branch (when ‘a’ is non-NULL)...
nbdkit-1.45.12/server/sockets.c:201:5: branch_true: ...to here
nbdkit-1.45.12/server/sockets.c:204:12: acquire_resource: socket created here
nbdkit-1.45.12/server/sockets.c:211:8: branch_false: following ‘false’ branch (when ‘sock != -1’)...
nbdkit-1.45.12/server/sockets.c:228:5: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:239:8: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/sockets.c:250:9: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:250:8: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/sockets.c:251:7: branch_true: ...to here
nbdkit-1.45.12/server/sockets.c:251:7: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def507]
nbdkit-1.45.12/server/sockets.c:258:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
nbdkit-1.45.12/server/sockets.c:172:1: enter_function: entry to ‘bind_tcpip_socket’
nbdkit-1.45.12/server/sockets.c:189:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/sockets.c:198:8: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:198:16: branch_true: following ‘true’ branch (when ‘a’ is non-NULL)...
nbdkit-1.45.12/server/sockets.c:201:5: branch_true: ...to here
nbdkit-1.45.12/server/sockets.c:204:12: acquire_resource: socket created here
nbdkit-1.45.12/server/sockets.c:211:8: branch_false: following ‘false’ branch (when ‘sock != -1’)...
nbdkit-1.45.12/server/sockets.c:228:5: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:239:8: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/sockets.c:250:9: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:250:8: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/sockets.c:255:5: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:257:9: call_function: calling ‘sockets_append’ from ‘bind_tcpip_socket’
nbdkit-1.45.12/server/sockets.c:257:9: return_function: returning to ‘bind_tcpip_socket’ from ‘sockets_append’
nbdkit-1.45.12/server/sockets.c:257:8: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/sockets.c:258:7: branch_true: ...to here
nbdkit-1.45.12/server/sockets.c:258:7: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def508]
nbdkit-1.45.12/server/sockets.c:320:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
nbdkit-1.45.12/server/sockets.c:297:10: acquire_resource: socket created here
nbdkit-1.45.12/server/sockets.c:304:6: branch_false: following ‘false’ branch (when ‘sock != -1’)...
nbdkit-1.45.12/server/sockets.c:309:3: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:314:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/sockets.c:319:7: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:319:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/sockets.c:320:5: branch_true: ...to here
nbdkit-1.45.12/server/sockets.c:320:5: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def509]
nbdkit-1.45.12/server/sockets.c:325:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
nbdkit-1.45.12/server/sockets.c:279:1: enter_function: entry to ‘bind_vsock’
nbdkit-1.45.12/server/sockets.c:297:10: acquire_resource: socket created here
nbdkit-1.45.12/server/sockets.c:304:6: branch_false: following ‘false’ branch (when ‘sock != -1’)...
nbdkit-1.45.12/server/sockets.c:309:3: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:314:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/sockets.c:319:7: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:319:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/sockets.c:324:7: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:324:7: call_function: calling ‘sockets_append’ from ‘bind_vsock’
nbdkit-1.45.12/server/sockets.c:324:7: return_function: returning to ‘bind_vsock’ from ‘sockets_append’
nbdkit-1.45.12/server/sockets.c:324:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/sockets.c:325:5: branch_true: ...to here
nbdkit-1.45.12/server/sockets.c:325:5: danger: ‘sock’ leaks here
Error: CPPCHECK_WARNING (CWE-401): [#def510]
nbdkit-1.45.12/server/sockets.c:402: error[memleak]: Memory leak: thread_data
Error: GCC_ANALYZER_WARNING (CWE-401): [#def511]
nbdkit-1.45.12/server/sockets.c:408:23: warning[-Wanalyzer-malloc-leak]: leak of ‘thread_data’
nbdkit-1.45.12/server/sockets.c:399:17: acquire_memory: allocated here
nbdkit-1.45.12/server/sockets.c:400:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/sockets.c:405:31: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:408:23: danger: ‘thread_data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def512]
nbdkit-1.45.12/server/sockets.c:425:5: warning[-Wanalyzer-malloc-leak]: leak of ‘thread_data’
nbdkit-1.45.12/server/sockets.c:399:17: acquire_memory: allocated here
nbdkit-1.45.12/server/sockets.c:400:6: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/sockets.c:405:31: branch_false: ...to here
nbdkit-1.45.12/server/sockets.c:422:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/sockets.c:423:9: branch_true: ...to here
nbdkit-1.45.12/server/sockets.c:425:5: danger: ‘thread_data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def513]
nbdkit-1.45.12/server/threadlocal.c:106:5: warning[-Wanalyzer-malloc-leak]: leak of ‘threadlocal’
nbdkit-1.45.12/server/threadlocal.c:98:17: acquire_memory: allocated here
nbdkit-1.45.12/server/threadlocal.c:99:6: branch_false: following ‘false’ branch (when ‘threadlocal’ is non-NULL)...
nbdkit-1.45.12/server/threadlocal.c:103:9: branch_false: ...to here
nbdkit-1.45.12/server/threadlocal.c:104:6: branch_true: following ‘true’ branch (when ‘err != 0’)...
nbdkit-1.45.12/server/threadlocal.c:105:5: branch_true: ...to here
nbdkit-1.45.12/server/threadlocal.c:106:5: danger: ‘threadlocal’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def514]
nbdkit-1.45.12/server/threadlocal.c:109:1: warning[-Wanalyzer-malloc-leak]: leak of ‘threadlocal’
nbdkit-1.45.12/server/threadlocal.c:98:17: acquire_memory: allocated here
nbdkit-1.45.12/server/threadlocal.c:99:6: branch_false: following ‘false’ branch (when ‘threadlocal’ is non-NULL)...
nbdkit-1.45.12/server/threadlocal.c:103:9: branch_false: ...to here
nbdkit-1.45.12/server/threadlocal.c:104:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
nbdkit-1.45.12/server/threadlocal.c:109:1: branch_false: ...to here
nbdkit-1.45.12/server/threadlocal.c:109:1: danger: ‘threadlocal’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def515]
nbdkit-1.45.12/server/uri.c:97:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
nbdkit-1.45.12/server/uri.c:57:3: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/uri.c:62:3: branch_false: ...to here
nbdkit-1.45.12/server/uri.c:85:8: acquire_memory: allocated here
nbdkit-1.45.12/server/uri.c:86:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
nbdkit-1.45.12/server/uri.c:91:3: branch_false: ...to here
nbdkit-1.45.12/server/uri.c:95:8: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/uri.c:97:7: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def516]
nbdkit-1.45.12/server/uri.c:100:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
nbdkit-1.45.12/server/uri.c:57:3: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/uri.c:62:3: branch_false: ...to here
nbdkit-1.45.12/server/uri.c:85:8: acquire_memory: allocated here
nbdkit-1.45.12/server/uri.c:86:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
nbdkit-1.45.12/server/uri.c:91:3: branch_false: ...to here
nbdkit-1.45.12/server/uri.c:100:5: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def517]
nbdkit-1.45.12/server/uri.c:112:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
nbdkit-1.45.12/server/uri.c:57:3: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/uri.c:62:3: branch_false: ...to here
nbdkit-1.45.12/server/uri.c:85:8: acquire_memory: allocated here
nbdkit-1.45.12/server/uri.c:86:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
nbdkit-1.45.12/server/uri.c:91:3: branch_false: ...to here
nbdkit-1.45.12/server/uri.c:110:8: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/uri.c:112:7: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def518]
nbdkit-1.45.12/server/uri.c:124:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
nbdkit-1.45.12/server/uri.c:57:3: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/uri.c:62:3: branch_false: ...to here
nbdkit-1.45.12/server/uri.c:85:8: acquire_memory: allocated here
nbdkit-1.45.12/server/uri.c:86:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
nbdkit-1.45.12/server/uri.c:91:3: branch_false: ...to here
nbdkit-1.45.12/server/uri.c:122:8: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/uri.c:124:7: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def519]
nbdkit-1.45.12/server/uri.c:148:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
nbdkit-1.45.12/server/uri.c:57:3: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/uri.c:62:3: branch_false: ...to here
nbdkit-1.45.12/server/uri.c:85:8: acquire_memory: allocated here
nbdkit-1.45.12/server/uri.c:86:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
nbdkit-1.45.12/server/uri.c:91:3: branch_false: ...to here
nbdkit-1.45.12/server/uri.c:144:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/uri.c:144:24: branch_true: ...to here
nbdkit-1.45.12/server/uri.c:145:5: branch_false: following ‘false’ branch (when ‘query_appended == 0’)...
branch_false: ...to here
nbdkit-1.45.12/server/uri.c:146:8: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/uri.c:147:7: branch_true: ...to here
nbdkit-1.45.12/server/uri.c:148:7: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def520]
nbdkit-1.45.12/server/uri.c:152:7: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
nbdkit-1.45.12/server/uri.c:57:3: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/uri.c:62:3: branch_false: ...to here
nbdkit-1.45.12/server/uri.c:85:8: acquire_memory: allocated here
nbdkit-1.45.12/server/uri.c:86:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
nbdkit-1.45.12/server/uri.c:91:3: branch_false: ...to here
nbdkit-1.45.12/server/uri.c:144:6: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/uri.c:144:24: branch_true: ...to here
nbdkit-1.45.12/server/uri.c:145:5: branch_false: following ‘false’ branch (when ‘query_appended == 0’)...
branch_false: ...to here
nbdkit-1.45.12/server/uri.c:146:8: branch_false: following ‘false’ branch...
nbdkit-1.45.12/server/uri.c:150:14: branch_false: ...to here
nbdkit-1.45.12/server/uri.c:150:13: branch_true: following ‘true’ branch...
nbdkit-1.45.12/server/uri.c:151:7: branch_true: ...to here
nbdkit-1.45.12/server/uri.c:152:7: danger: ‘fp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def521]
nbdkit-1.45.12/tests/dummy-vddk.c:219: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: *info
Error: GCC_ANALYZER_WARNING (CWE-476): [#def522]
nbdkit-1.45.12/tests/dummy-vddk.c:219:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL '*info'
nbdkit-1.45.12/tests/dummy-vddk.c:218:11: acquire_memory: this call could return NULL
nbdkit-1.45.12/tests/dummy-vddk.c:219:3: danger: 'calloc(1, 64)' could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def523]
nbdkit-1.45.12/tests/test-layers-filter.c:149:3: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/tests/test-layers-filter.c:147:22: acquire_memory: allocated here
nbdkit-1.45.12/tests/test-layers-filter.c:149:3: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def524]
nbdkit-1.45.12/tests/test-layers-filter.c:160:15: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/tests/test-layers-filter.c:147:22: acquire_memory: allocated here
nbdkit-1.45.12/tests/test-layers-filter.c:149:3: branch_true: following 'true' branch...
nbdkit-1.45.12/tests/test-layers-filter.c:150:6: branch_true: ...to here
nbdkit-1.45.12/tests/test-layers-filter.c:150:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/tests/test-layers-filter.c:160:15: branch_false: ...to here
nbdkit-1.45.12/tests/test-layers-filter.c:160:15: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def525]
nbdkit-1.45.12/tests/test-layers-filter.c:162:9: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/tests/test-layers-filter.c:147:22: acquire_memory: allocated here
nbdkit-1.45.12/tests/test-layers-filter.c:149:3: branch_true: following 'true' branch...
nbdkit-1.45.12/tests/test-layers-filter.c:150:6: branch_true: ...to here
nbdkit-1.45.12/tests/test-layers-filter.c:150:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/tests/test-layers-filter.c:160:15: branch_false: ...to here
nbdkit-1.45.12/tests/test-layers-filter.c:161:5: branch_true: following 'true' branch...
nbdkit-1.45.12/tests/test-layers-filter.c:162:9: branch_true: ...to here
nbdkit-1.45.12/tests/test-layers-filter.c:162:9: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def526]
nbdkit-1.45.12/tests/test-layers-filter.c:167:11: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/tests/test-layers-filter.c:147:22: acquire_memory: allocated here
nbdkit-1.45.12/tests/test-layers-filter.c:149:3: branch_true: following 'true' branch...
nbdkit-1.45.12/tests/test-layers-filter.c:150:6: branch_true: ...to here
nbdkit-1.45.12/tests/test-layers-filter.c:150:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/tests/test-layers-filter.c:160:15: branch_false: ...to here
nbdkit-1.45.12/tests/test-layers-filter.c:161:5: branch_true: following 'true' branch...
nbdkit-1.45.12/tests/test-layers-filter.c:162:9: branch_true: ...to here
nbdkit-1.45.12/tests/test-layers-filter.c:163:8: branch_false: following 'false' branch...
nbdkit-1.45.12/tests/test-layers-filter.c:167:11: branch_false: ...to here
nbdkit-1.45.12/tests/test-layers-filter.c:167:11: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def527]
nbdkit-1.45.12/tests/test-layers-filter.c:171:12: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/tests/test-layers-filter.c:147:22: acquire_memory: allocated here
nbdkit-1.45.12/tests/test-layers-filter.c:149:3: branch_true: following 'true' branch...
nbdkit-1.45.12/tests/test-layers-filter.c:150:6: branch_true: ...to here
nbdkit-1.45.12/tests/test-layers-filter.c:150:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/tests/test-layers-filter.c:171:12: branch_false: ...to here
nbdkit-1.45.12/tests/test-layers-filter.c:171:12: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def528]
nbdkit-1.45.12/tests/test-layers-filter.c:177:3: warning[-Wanalyzer-malloc-leak]: leak of 'h'
nbdkit-1.45.12/tests/test-layers-filter.c:147:22: acquire_memory: allocated here
nbdkit-1.45.12/tests/test-layers-filter.c:149:3: branch_true: following 'true' branch...
nbdkit-1.45.12/tests/test-layers-filter.c:150:6: branch_true: ...to here
nbdkit-1.45.12/tests/test-layers-filter.c:150:6: branch_false: following 'false' branch (when 'h' is non-NULL)...
nbdkit-1.45.12/tests/test-layers-filter.c:160:15: branch_false: ...to here
nbdkit-1.45.12/tests/test-layers-filter.c:161:5: branch_true: following 'true' branch...
nbdkit-1.45.12/tests/test-layers-filter.c:162:9: branch_true: ...to here
nbdkit-1.45.12/tests/test-layers-filter.c:163:8: branch_false: following 'false' branch...
nbdkit-1.45.12/tests/test-layers-filter.c:167:11: branch_false: ...to here
nbdkit-1.45.12/tests/test-layers-filter.c:168:5: branch_true: following 'true' branch...
nbdkit-1.45.12/tests/test-layers-filter.c:169:5: branch_true: ...to here
nbdkit-1.45.12/tests/test-layers-filter.c:177:3: danger: 'h' leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Scan Properties
| analyzer-version-clippy | 1.90.0 |
| analyzer-version-cppcheck | 2.18.3 |
| analyzer-version-gcc | 15.2.1 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-40.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-gcc-latest-x86_64 |
| project-name | nbdkit-1.45.12-1.fc44 |
| store-results-to | /tmp/tmpda5h2pjq/nbdkit-1.45.12-1.fc44.tar.xz |
| time-created | 2025-10-28 19:32:59 |
| time-finished | 2025-10-28 19:41:23 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpda5h2pjq/nbdkit-1.45.12-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpda5h2pjq/nbdkit-1.45.12-1.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251027.143044.ge6b947b-1.el9 |