e2fsprogs-1.47.3-3.fc44
List of Findings
Error: SHELLCHECK_WARNING (CWE-398): [#def1]
/usr/bin/compile_et:23:49: warning[SC2163]: This does not export 'as_var'. Remove $/${} for that, or use ${var?} to quiet.
Error: SHELLCHECK_WARNING (CWE-398): [#def2]
/usr/bin/compile_et:24:28: warning[SC2163]: This does not export 'as_var'. Remove $/${} for that, or use ${var?} to quiet.
Error: SHELLCHECK_WARNING (CWE-457): [#def3]
/usr/bin/compile_et:26:5: warning[SC2154]: as_unset is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-477): [#def4]
/usr/bin/e2scrub:69:28: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-571): [#def5]
/usr/bin/e2scrub:109:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def6]
/usr/bin/e2scrub:129:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING: [#def7]
/usr/bin/e2scrub:185:35: warning[SC2319]: This $? refers to a condition, not a command. Assign to a variable to avoid it being overwritten.
Error: SHELLCHECK_WARNING: [#def8]
/usr/bin/e2scrub:213:35: warning[SC2319]: This $? refers to a condition, not a command. Assign to a variable to avoid it being overwritten.
Error: SHELLCHECK_WARNING (CWE-477): [#def9]
/usr/bin/e2scrub_all:59:28: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def10]
/usr/bin/e2scrub_all:78:27: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-571): [#def11]
/usr/bin/e2scrub_all:118:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-456): [#def12]
/usr/bin/mk_cmds:7:1: warning[SC2209]: Use var=$(command) to assign output (or quote to assign string).
Error: SHELLCHECK_WARNING (CWE-398): [#def13]
/usr/bin/mk_cmds:14:49: warning[SC2163]: This does not export 'as_var'. Remove $/${} for that, or use ${var?} to quiet.
Error: SHELLCHECK_WARNING (CWE-398): [#def14]
/usr/bin/mk_cmds:15:28: warning[SC2163]: This does not export 'as_var'. Remove $/${} for that, or use ${var?} to quiet.
Error: SHELLCHECK_WARNING (CWE-457): [#def15]
/usr/bin/mk_cmds:17:5: warning[SC2154]: as_unset is referenced but not assigned.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
e2fsprogs-1.47.3/debugfs/debugfs.c:116:17: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb_file’
e2fsprogs-1.47.3/debugfs/debugfs.c:98:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:103:12: branch_false: following ‘false’ branch (when ‘tmp_name’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/debugfs.c:105:20: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:106:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/debugfs.c:107:12: branch_false: following ‘false’ branch (when ‘tdb_file’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/debugfs.c:111:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:114:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:116:17: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/debugfs.c:116:17: danger: ‘tdb_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
e2fsprogs-1.47.3/debugfs/debugfs.c:121:18: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb_file’
e2fsprogs-1.47.3/debugfs/debugfs.c:98:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:103:12: branch_false: following ‘false’ branch (when ‘tmp_name’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/debugfs.c:105:20: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:106:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/debugfs.c:107:12: branch_false: following ‘false’ branch (when ‘tdb_file’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/debugfs.c:111:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:121:18: throw: if ‘set_undo_io_backing_manager’ throws an exception...
e2fsprogs-1.47.3/debugfs/debugfs.c:121:18: danger: ‘tdb_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
e2fsprogs-1.47.3/debugfs/debugfs.c:125:18: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb_file’
e2fsprogs-1.47.3/debugfs/debugfs.c:98:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:103:12: branch_false: following ‘false’ branch (when ‘tmp_name’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/debugfs.c:105:20: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:106:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/debugfs.c:107:12: branch_false: following ‘false’ branch (when ‘tdb_file’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/debugfs.c:111:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:122:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:124:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:125:18: throw: if ‘set_undo_io_backup_file’ throws an exception...
e2fsprogs-1.47.3/debugfs/debugfs.c:125:18: danger: ‘tdb_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
e2fsprogs-1.47.3/debugfs/debugfs.c:800:18: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/debugfs/debugfs.c:785:13: enter_function: entry to ‘dump_inline_symlink’
e2fsprogs-1.47.3/debugfs/debugfs.c:793:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:796:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:796:18: call_function: calling ‘ext2fs_get_memzero’ from ‘dump_inline_symlink’
e2fsprogs-1.47.3/debugfs/debugfs.c:796:18: return_function: returning to ‘dump_inline_symlink’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/debugfs.c:797:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:800:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:800:18: throw: if ‘ext2fs_inline_data_get’ throws an exception...
e2fsprogs-1.47.3/debugfs/debugfs.c:800:18: danger: ‘buf’ leaks here; was allocated at [(6)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
e2fsprogs-1.47.3/debugfs/debugfs.c:1003:13: warning[-Wanalyzer-malloc-leak]: leak of ‘inode_buf’
e2fsprogs-1.47.3/debugfs/debugfs.c:993:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:997:32: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:997:25: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/debugfs.c:998:12: branch_false: following ‘false’ branch (when ‘inode_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/debugfs.c:1003:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:1003:13: throw: if ‘common_inode_args_process’ throws an exception...
e2fsprogs-1.47.3/debugfs/debugfs.c:1003:13: danger: ‘inode_buf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def21]
e2fsprogs-1.47.3/debugfs/debugfs.c:1008:13: warning[-Wanalyzer-malloc-leak]: leak of ‘inode_buf’
e2fsprogs-1.47.3/debugfs/debugfs.c:993:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:997:32: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:997:25: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/debugfs.c:998:12: branch_false: following ‘false’ branch (when ‘inode_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/debugfs.c:1003:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:1003:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:1009:33: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:1008:13: throw: if ‘debugfs_read_inode2’ throws an exception...
e2fsprogs-1.47.3/debugfs/debugfs.c:1008:13: danger: ‘inode_buf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
e2fsprogs-1.47.3/debugfs/debugfs.c:2196:15: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)isize)’
e2fsprogs-1.47.3/debugfs/debugfs.c:2160:6: enter_function: entry to ‘do_idump’
e2fsprogs-1.47.3/debugfs/debugfs.c:2179:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2182:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2182:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2185:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2186:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2189:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2190:15: call_function: inlined call to ‘ext2fs_get_mem’ from ‘do_idump’
e2fsprogs-1.47.3/debugfs/debugfs.c:2196:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2196:15: throw: if ‘ext2fs_read_inode_full’ throws an exception...
e2fsprogs-1.47.3/debugfs/debugfs.c:2196:15: danger: ‘malloc((long unsigned int)isize)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def23]
e2fsprogs-1.47.3/debugfs/debugfs.c:2504:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
e2fsprogs-1.47.3/debugfs/debugfs.c:2495:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/debugfs/debugfs.c:2498:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2498:21: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/debugfs.c:2499:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2504:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2504:9: throw: if ‘fflush’ throws an exception...
e2fsprogs-1.47.3/debugfs/debugfs.c:2504:9: danger: ‘f’ leaks here; was opened at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
e2fsprogs-1.47.3/debugfs/debugfs.c:2504:9: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
e2fsprogs-1.47.3/debugfs/debugfs.c:2495:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/debugfs/debugfs.c:2498:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2498:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/debugfs.c:2499:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2504:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2504:9: throw: if ‘fflush’ throws an exception...
e2fsprogs-1.47.3/debugfs/debugfs.c:2504:9: danger: ‘f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def25]
e2fsprogs-1.47.3/debugfs/debugfs.c:2505:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
e2fsprogs-1.47.3/debugfs/debugfs.c:2495:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/debugfs/debugfs.c:2498:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2498:21: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/debugfs.c:2499:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2504:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2505:9: throw: if ‘fflush’ throws an exception...
e2fsprogs-1.47.3/debugfs/debugfs.c:2505:9: danger: ‘f’ leaks here; was opened at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def26]
e2fsprogs-1.47.3/debugfs/debugfs.c:2505:9: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
e2fsprogs-1.47.3/debugfs/debugfs.c:2495:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/debugfs/debugfs.c:2498:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2498:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/debugfs.c:2499:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2504:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2505:9: throw: if ‘fflush’ throws an exception...
e2fsprogs-1.47.3/debugfs/debugfs.c:2505:9: danger: ‘f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def27]
e2fsprogs-1.47.3/debugfs/debugfs.c:2522:26: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
e2fsprogs-1.47.3/debugfs/debugfs.c:2495:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/debugfs/debugfs.c:2498:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2498:21: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/debugfs.c:2499:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2504:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2508:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2509:21: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2509:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2511:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2516:20: branch_false: following ‘false’ branch (when ‘cp’ is NULL)...
e2fsprogs-1.47.3/debugfs/debugfs.c:2518:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2519:20: branch_false: following ‘false’ branch (when ‘cp’ is NULL)...
e2fsprogs-1.47.3/debugfs/debugfs.c:2521:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2522:26: throw: if ‘ss_execute_line’ throws an exception...
e2fsprogs-1.47.3/debugfs/debugfs.c:2522:26: danger: ‘f’ leaks here; was opened at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def28]
e2fsprogs-1.47.3/debugfs/debugfs.c:2522:26: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
e2fsprogs-1.47.3/debugfs/debugfs.c:2495:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/debugfs/debugfs.c:2498:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2498:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/debugfs.c:2499:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2504:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2508:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2509:21: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2509:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2511:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2516:20: branch_false: following ‘false’ branch (when ‘cp’ is NULL)...
e2fsprogs-1.47.3/debugfs/debugfs.c:2518:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2519:20: branch_false: following ‘false’ branch (when ‘cp’ is NULL)...
e2fsprogs-1.47.3/debugfs/debugfs.c:2521:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2522:26: throw: if ‘ss_execute_line’ throws an exception...
e2fsprogs-1.47.3/debugfs/debugfs.c:2522:26: danger: ‘f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def29]
e2fsprogs-1.47.3/debugfs/debugfs.c:2524:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
e2fsprogs-1.47.3/debugfs/debugfs.c:2495:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/debugfs/debugfs.c:2498:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2498:21: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/debugfs.c:2499:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2504:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2508:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2509:21: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2509:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2511:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2516:20: branch_false: following ‘false’ branch (when ‘cp’ is NULL)...
e2fsprogs-1.47.3/debugfs/debugfs.c:2518:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2519:20: branch_false: following ‘false’ branch (when ‘cp’ is NULL)...
e2fsprogs-1.47.3/debugfs/debugfs.c:2521:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2523:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2524:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2524:25: throw: if ‘ss_perror’ throws an exception...
e2fsprogs-1.47.3/debugfs/debugfs.c:2524:25: danger: ‘f’ leaks here; was opened at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
e2fsprogs-1.47.3/debugfs/debugfs.c:2524:25: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
e2fsprogs-1.47.3/debugfs/debugfs.c:2495:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/debugfs/debugfs.c:2498:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2498:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/debugfs.c:2499:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2504:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2508:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2509:21: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2509:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2511:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2516:20: branch_false: following ‘false’ branch (when ‘cp’ is NULL)...
e2fsprogs-1.47.3/debugfs/debugfs.c:2518:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2519:20: branch_false: following ‘false’ branch (when ‘cp’ is NULL)...
e2fsprogs-1.47.3/debugfs/debugfs.c:2521:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2523:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2524:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2524:25: throw: if ‘ss_perror’ throws an exception...
e2fsprogs-1.47.3/debugfs/debugfs.c:2524:25: danger: ‘f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def31]
e2fsprogs-1.47.3/debugfs/debugfs.c:2530:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
e2fsprogs-1.47.3/debugfs/debugfs.c:2495:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/debugfs/debugfs.c:2498:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2498:21: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/debugfs.c:2499:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2504:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2528:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2530:16: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2530:16: danger: ‘f’ leaks here; was opened at [(3)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
e2fsprogs-1.47.3/debugfs/debugfs.c:2530:16: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
e2fsprogs-1.47.3/debugfs/debugfs.c:2495:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/debugfs/debugfs.c:2498:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2498:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/debugfs.c:2499:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2504:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2528:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/debugfs.c:2530:16: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/debugfs.c:2530:16: danger: ‘f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def33]
e2fsprogs-1.47.3/debugfs/do_orphan.c:108:18: warning[-Wanalyzer-malloc-leak]: leak of ‘orphan_buf’
e2fsprogs-1.47.3/debugfs/do_orphan.c:83:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/do_orphan.c:85:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/do_orphan.c:85:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
e2fsprogs-1.47.3/debugfs/do_orphan.c:89:25: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/do_orphan.c:97:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/do_orphan.c:99:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/do_orphan.c:101:22: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/do_orphan.c:102:12: branch_false: following ‘false’ branch (when ‘orphan_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/do_orphan.c:106:31: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/do_orphan.c:108:18: throw: if ‘ext2fs_block_iterate3’ throws an exception...
e2fsprogs-1.47.3/debugfs/do_orphan.c:108:18: danger: ‘orphan_buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
e2fsprogs-1.47.3/debugfs/dump.c:110:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fullname’
e2fsprogs-1.47.3/debugfs/dump.c:253:13: enter_function: entry to ‘rdump_inode’
e2fsprogs-1.47.3/debugfs/dump.c:260:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/dump.c:261:12: branch_false: following ‘false’ branch (when ‘fullname’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/dump.c:265:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:267:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:269:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:269:17: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:271:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:272:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:276:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:276:17: call_function: calling ‘dump_file’ from ‘rdump_inode’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def35]
e2fsprogs-1.47.3/debugfs/dump.c:113:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fullname’
e2fsprogs-1.47.3/debugfs/dump.c:253:13: enter_function: entry to ‘rdump_inode’
e2fsprogs-1.47.3/debugfs/dump.c:260:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/dump.c:261:12: branch_false: following ‘false’ branch (when ‘fullname’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/dump.c:265:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:267:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:269:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:269:17: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:271:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:272:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:276:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:276:17: call_function: calling ‘dump_file’ from ‘rdump_inode’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
e2fsprogs-1.47.3/debugfs/dump.c:115:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fullname’
e2fsprogs-1.47.3/debugfs/dump.c:253:13: enter_function: entry to ‘rdump_inode’
e2fsprogs-1.47.3/debugfs/dump.c:260:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/dump.c:261:12: branch_false: following ‘false’ branch (when ‘fullname’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/dump.c:265:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:267:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:269:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:269:17: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:271:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:272:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:276:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:276:17: call_function: calling ‘dump_file’ from ‘rdump_inode’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
e2fsprogs-1.47.3/debugfs/dump.c:120:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fullname’
e2fsprogs-1.47.3/debugfs/dump.c:253:13: enter_function: entry to ‘rdump_inode’
e2fsprogs-1.47.3/debugfs/dump.c:260:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/dump.c:261:12: branch_false: following ‘false’ branch (when ‘fullname’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/dump.c:265:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:267:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:269:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:269:17: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:271:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:272:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:276:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:276:17: call_function: calling ‘dump_file’ from ‘rdump_inode’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def38]
e2fsprogs-1.47.3/debugfs/dump.c:124:26: warning[-Wanalyzer-malloc-leak]: leak of ‘fullname’
e2fsprogs-1.47.3/debugfs/dump.c:253:13: enter_function: entry to ‘rdump_inode’
e2fsprogs-1.47.3/debugfs/dump.c:260:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/dump.c:261:12: branch_false: following ‘false’ branch (when ‘fullname’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/dump.c:265:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:267:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:269:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:269:17: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:271:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:272:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:276:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:276:17: call_function: calling ‘dump_file’ from ‘rdump_inode’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def39]
e2fsprogs-1.47.3/debugfs/dump.c:124:26: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)blocksize)’
e2fsprogs-1.47.3/debugfs/dump.c:373:6: enter_function: entry to ‘do_cat’
e2fsprogs-1.47.3/debugfs/dump.c:378:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:381:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:383:9: call_function: calling ‘dump_file’ from ‘do_cat’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
e2fsprogs-1.47.3/debugfs/dump.c:131:26: warning[-Wanalyzer-malloc-leak]: leak of ‘fullname’
e2fsprogs-1.47.3/debugfs/dump.c:253:13: enter_function: entry to ‘rdump_inode’
e2fsprogs-1.47.3/debugfs/dump.c:260:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/dump.c:261:12: branch_false: following ‘false’ branch (when ‘fullname’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/dump.c:265:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:267:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:269:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:269:17: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:271:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:272:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:276:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:276:17: call_function: calling ‘dump_file’ from ‘rdump_inode’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def41]
e2fsprogs-1.47.3/debugfs/dump.c:133:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fullname’
e2fsprogs-1.47.3/debugfs/dump.c:253:13: enter_function: entry to ‘rdump_inode’
e2fsprogs-1.47.3/debugfs/dump.c:260:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/dump.c:261:12: branch_false: following ‘false’ branch (when ‘fullname’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/dump.c:265:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:267:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:269:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:269:17: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:271:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:272:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:276:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:276:17: call_function: calling ‘dump_file’ from ‘rdump_inode’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def42]
e2fsprogs-1.47.3/debugfs/dump.c:210:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fullname’
e2fsprogs-1.47.3/debugfs/dump.c:253:13: enter_function: entry to ‘rdump_inode’
e2fsprogs-1.47.3/debugfs/dump.c:260:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/dump.c:261:12: branch_false: following ‘false’ branch (when ‘fullname’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/dump.c:265:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:267:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:268:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:268:17: call_function: calling ‘rdump_symlink’ from ‘rdump_inode’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def43]
e2fsprogs-1.47.3/debugfs/dump.c:214:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/debugfs/dump.c:208:15: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/dump.c:209:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/dump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:214:13: throw: if ‘ext2fs_is_fast_symlink’ throws an exception...
e2fsprogs-1.47.3/debugfs/dump.c:214:13: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
e2fsprogs-1.47.3/debugfs/dump.c:214:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fullname’
e2fsprogs-1.47.3/debugfs/dump.c:253:13: enter_function: entry to ‘rdump_inode’
e2fsprogs-1.47.3/debugfs/dump.c:260:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/dump.c:261:12: branch_false: following ‘false’ branch (when ‘fullname’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/dump.c:265:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:267:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:268:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:268:17: call_function: calling ‘rdump_symlink’ from ‘rdump_inode’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def45]
e2fsprogs-1.47.3/debugfs/dump.c:219:26: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/debugfs/dump.c:208:15: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/dump.c:209:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/dump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:214:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:217:26: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:219:26: throw: if ‘ext2fs_file_open’ throws an exception...
e2fsprogs-1.47.3/debugfs/dump.c:219:26: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def46]
e2fsprogs-1.47.3/debugfs/dump.c:219:26: warning[-Wanalyzer-malloc-leak]: leak of ‘fullname’
e2fsprogs-1.47.3/debugfs/dump.c:253:13: enter_function: entry to ‘rdump_inode’
e2fsprogs-1.47.3/debugfs/dump.c:260:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/dump.c:261:12: branch_false: following ‘false’ branch (when ‘fullname’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/dump.c:265:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:267:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:268:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:268:17: call_function: calling ‘rdump_symlink’ from ‘rdump_inode’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def47]
e2fsprogs-1.47.3/debugfs/dump.c:221:25: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/debugfs/dump.c:208:15: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/dump.c:209:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/dump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:214:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:217:26: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:220:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:221:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:221:25: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/dump.c:221:25: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def48]
e2fsprogs-1.47.3/debugfs/dump.c:221:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fullname’
e2fsprogs-1.47.3/debugfs/dump.c:253:13: enter_function: entry to ‘rdump_inode’
e2fsprogs-1.47.3/debugfs/dump.c:260:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/dump.c:261:12: branch_false: following ‘false’ branch (when ‘fullname’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/dump.c:265:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:267:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:268:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:268:17: call_function: calling ‘rdump_symlink’ from ‘rdump_inode’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def49]
e2fsprogs-1.47.3/debugfs/dump.c:226:34: warning[-Wanalyzer-malloc-leak]: leak of ‘fullname’
e2fsprogs-1.47.3/debugfs/dump.c:253:13: enter_function: entry to ‘rdump_inode’
e2fsprogs-1.47.3/debugfs/dump.c:260:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/dump.c:261:12: branch_false: following ‘false’ branch (when ‘fullname’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/dump.c:265:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:267:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:268:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:268:17: call_function: calling ‘rdump_symlink’ from ‘rdump_inode’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def50]
e2fsprogs-1.47.3/debugfs/dump.c:226:34: warning[-Wanalyzer-malloc-leak]: leak of ‘p’
e2fsprogs-1.47.3/debugfs/dump.c:208:15: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/dump.c:209:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/dump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:214:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:217:26: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:220:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:220:20: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:226:34: throw: if ‘ext2fs_file_read’ throws an exception...
e2fsprogs-1.47.3/debugfs/dump.c:226:34: danger: ‘p’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def51]
e2fsprogs-1.47.3/debugfs/dump.c:228:33: warning[-Wanalyzer-malloc-leak]: leak of ‘fullname’
e2fsprogs-1.47.3/debugfs/dump.c:253:13: enter_function: entry to ‘rdump_inode’
e2fsprogs-1.47.3/debugfs/dump.c:260:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/dump.c:261:12: branch_false: following ‘false’ branch (when ‘fullname’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/dump.c:265:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:267:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:268:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:268:17: call_function: calling ‘rdump_symlink’ from ‘rdump_inode’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def52]
e2fsprogs-1.47.3/debugfs/dump.c:237:26: warning[-Wanalyzer-malloc-leak]: leak of ‘fullname’
e2fsprogs-1.47.3/debugfs/dump.c:253:13: enter_function: entry to ‘rdump_inode’
e2fsprogs-1.47.3/debugfs/dump.c:260:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/dump.c:261:12: branch_false: following ‘false’ branch (when ‘fullname’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/dump.c:265:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:267:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:268:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:268:17: call_function: calling ‘rdump_symlink’ from ‘rdump_inode’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def53]
e2fsprogs-1.47.3/debugfs/dump.c:243:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/debugfs/dump.c:253:13: enter_function: entry to ‘rdump_inode’
e2fsprogs-1.47.3/debugfs/dump.c:261:12: branch_false: following ‘false’ branch (when ‘fullname’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/dump.c:265:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:267:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:268:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:268:17: call_function: calling ‘rdump_symlink’ from ‘rdump_inode’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def54]
e2fsprogs-1.47.3/debugfs/dump.c:271:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fullname’
e2fsprogs-1.47.3/debugfs/dump.c:260:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/dump.c:261:12: branch_false: following ‘false’ branch (when ‘fullname’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/dump.c:265:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:267:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:269:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:269:17: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:271:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:271:22: throw: if ‘open’ throws an exception...
e2fsprogs-1.47.3/debugfs/dump.c:271:22: danger: ‘fullname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def55]
e2fsprogs-1.47.3/debugfs/dump.c:273:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fullname’
e2fsprogs-1.47.3/debugfs/dump.c:260:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/dump.c:261:12: branch_false: following ‘false’ branch (when ‘fullname’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/dump.c:265:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:267:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:269:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:269:17: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:271:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:272:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:273:42: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:273:25: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/dump.c:273:25: danger: ‘fullname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def56]
e2fsprogs-1.47.3/debugfs/dump.c:289:25: warning[-Wanalyzer-malloc-leak]: leak of ‘fullname’
e2fsprogs-1.47.3/debugfs/dump.c:260:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/dump.c:261:12: branch_false: following ‘false’ branch (when ‘fullname’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/dump.c:265:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:267:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:269:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:269:17: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:282:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:282:17: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:288:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:289:25: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/dump.c:289:25: danger: ‘fullname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def57]
e2fsprogs-1.47.3/debugfs/dump.c:293:26: warning[-Wanalyzer-malloc-leak]: leak of ‘fullname’
e2fsprogs-1.47.3/debugfs/dump.c:260:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/dump.c:261:12: branch_false: following ‘false’ branch (when ‘fullname’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/dump.c:265:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:267:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:269:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:269:17: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:282:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/dump.c:282:17: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/dump.c:293:26: throw: if ‘ext2fs_dir_iterate’ throws an exception...
e2fsprogs-1.47.3/debugfs/dump.c:293:26: danger: ‘fullname’ leaks here; was allocated at [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def58]
e2fsprogs-1.47.3/debugfs/htree.c:215:19: warning[-Wanalyzer-malloc-leak]: leak of ‘cbuf’
e2fsprogs-1.47.3/debugfs/htree.c:248:6: enter_function: entry to ‘do_htree_dump’
e2fsprogs-1.47.3/debugfs/htree.c:260:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:263:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:265:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:268:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:268:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:271:14: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:276:14: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:276:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:281:34: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:282:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/htree.c:287:19: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:288:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:294:19: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:296:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:301:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:315:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:322:29: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:320:9: call_function: calling ‘htree_dump_int_node’ from ‘do_htree_dump’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def59]
e2fsprogs-1.47.3/debugfs/htree.c:217:17: warning[-Wanalyzer-malloc-leak]: leak of ‘cbuf’
e2fsprogs-1.47.3/debugfs/htree.c:248:6: enter_function: entry to ‘do_htree_dump’
e2fsprogs-1.47.3/debugfs/htree.c:260:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:263:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:265:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:268:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:268:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:271:14: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:276:14: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:276:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:281:34: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:282:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/htree.c:287:19: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:288:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:294:19: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:296:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:301:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:315:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:322:29: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:320:9: call_function: calling ‘htree_dump_int_node’ from ‘do_htree_dump’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def60]
e2fsprogs-1.47.3/debugfs/htree.c:223:19: warning[-Wanalyzer-malloc-leak]: leak of ‘cbuf’
e2fsprogs-1.47.3/debugfs/htree.c:248:6: enter_function: entry to ‘do_htree_dump’
e2fsprogs-1.47.3/debugfs/htree.c:260:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:263:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:265:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:268:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:268:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:271:14: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:276:14: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:276:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:281:34: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:282:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/htree.c:287:19: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:288:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:294:19: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:296:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:301:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:315:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:322:29: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:320:9: call_function: calling ‘htree_dump_int_node’ from ‘do_htree_dump’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def61]
e2fsprogs-1.47.3/debugfs/htree.c:225:17: warning[-Wanalyzer-malloc-leak]: leak of ‘cbuf’
e2fsprogs-1.47.3/debugfs/htree.c:248:6: enter_function: entry to ‘do_htree_dump’
e2fsprogs-1.47.3/debugfs/htree.c:260:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:263:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:265:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:268:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:268:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:271:14: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:276:14: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:276:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:281:34: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:282:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/htree.c:287:19: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:288:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:294:19: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:296:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:301:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:315:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:322:29: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:320:9: call_function: calling ‘htree_dump_int_node’ from ‘do_htree_dump’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
e2fsprogs-1.47.3/debugfs/htree.c:231:19: warning[-Wanalyzer-malloc-leak]: leak of ‘cbuf’
e2fsprogs-1.47.3/debugfs/htree.c:248:6: enter_function: entry to ‘do_htree_dump’
e2fsprogs-1.47.3/debugfs/htree.c:260:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:263:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:265:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:268:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:268:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:271:14: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:276:14: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:276:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:281:34: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:282:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/htree.c:287:19: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:288:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:294:19: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:296:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:301:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:315:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:322:29: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:320:9: call_function: calling ‘htree_dump_int_node’ from ‘do_htree_dump’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def63]
e2fsprogs-1.47.3/debugfs/htree.c:234:17: warning[-Wanalyzer-malloc-leak]: leak of ‘cbuf’
e2fsprogs-1.47.3/debugfs/htree.c:248:6: enter_function: entry to ‘do_htree_dump’
e2fsprogs-1.47.3/debugfs/htree.c:260:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:263:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:265:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:268:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:268:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:271:14: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:276:14: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:276:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:281:34: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:282:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/htree.c:287:19: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:288:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:294:19: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:296:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:301:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:315:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:322:29: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:320:9: call_function: calling ‘htree_dump_int_node’ from ‘do_htree_dump’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def64]
e2fsprogs-1.47.3/debugfs/htree.c:287:19: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/debugfs/htree.c:260:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:263:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:265:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:268:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:268:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:271:14: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:276:14: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:276:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:281:34: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:281:15: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/htree.c:282:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/htree.c:287:19: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:287:19: throw: if ‘ext2fs_bmap2’ throws an exception...
e2fsprogs-1.47.3/debugfs/htree.c:287:19: danger: ‘buf’ leaks here; was allocated at [(11)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def65]
e2fsprogs-1.47.3/debugfs/htree.c:454:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pb.buf’
e2fsprogs-1.47.3/debugfs/htree.c:434:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:437:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:437:12: branch_false: following ‘false’ branch (when ‘argc == 3’)...
e2fsprogs-1.47.3/debugfs/htree.c:442:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:443:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:446:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:446:18: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/htree.c:447:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/htree.c:451:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/htree.c:454:9: throw: if ‘ext2fs_block_iterate3’ throws an exception...
e2fsprogs-1.47.3/debugfs/htree.c:454:9: danger: ‘pb.buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def66]
e2fsprogs-1.47.3/debugfs/icheck.c:85:17: warning[-Wanalyzer-malloc-leak]: leak of ‘bw.barray’
e2fsprogs-1.47.3/debugfs/icheck.c:68:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
e2fsprogs-1.47.3/debugfs/icheck.c:72:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:72:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:75:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:75:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/icheck.c:76:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:81:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_true: following ‘true’ branch (when ‘block_buf’ is NULL)...
e2fsprogs-1.47.3/debugfs/icheck.c:85:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:85:17: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/icheck.c:85:17: danger: ‘bw.barray’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def67]
e2fsprogs-1.47.3/debugfs/icheck.c:90:21: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/debugfs/icheck.c:68:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
e2fsprogs-1.47.3/debugfs/icheck.c:72:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:72:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:75:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:76:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:81:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:83:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:89:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
e2fsprogs-1.47.3/debugfs/icheck.c:90:55: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:90:21: throw: if ‘strtoblk’ throws an exception...
e2fsprogs-1.47.3/debugfs/icheck.c:90:21: danger: ‘block_buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def68]
e2fsprogs-1.47.3/debugfs/icheck.c:90:21: warning[-Wanalyzer-malloc-leak]: leak of ‘bw.barray’
e2fsprogs-1.47.3/debugfs/icheck.c:68:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
e2fsprogs-1.47.3/debugfs/icheck.c:72:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:72:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:75:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:75:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/icheck.c:76:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:81:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:89:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
e2fsprogs-1.47.3/debugfs/icheck.c:90:55: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:90:21: throw: if ‘strtoblk’ throws an exception...
e2fsprogs-1.47.3/debugfs/icheck.c:90:21: danger: ‘bw.barray’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def69]
e2fsprogs-1.47.3/debugfs/icheck.c:96:18: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/debugfs/icheck.c:68:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
e2fsprogs-1.47.3/debugfs/icheck.c:72:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:72:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:75:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:76:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:81:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:83:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:89:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
e2fsprogs-1.47.3/debugfs/icheck.c:90:55: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:90:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:89:29: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:96:18: throw: if ‘ext2fs_open_inode_scan’ throws an exception...
e2fsprogs-1.47.3/debugfs/icheck.c:96:18: danger: ‘block_buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def70]
e2fsprogs-1.47.3/debugfs/icheck.c:98:17: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/debugfs/icheck.c:68:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
e2fsprogs-1.47.3/debugfs/icheck.c:72:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:72:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:75:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:76:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:81:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:83:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:89:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
e2fsprogs-1.47.3/debugfs/icheck.c:90:55: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:90:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:89:29: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:97:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:98:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:98:17: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/icheck.c:98:17: danger: ‘block_buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def71]
e2fsprogs-1.47.3/debugfs/icheck.c:103:26: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/debugfs/icheck.c:68:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
e2fsprogs-1.47.3/debugfs/icheck.c:72:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:72:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:75:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:76:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:81:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:83:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:89:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
e2fsprogs-1.47.3/debugfs/icheck.c:90:55: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:90:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:89:29: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:97:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:97:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:103:26: throw: if ‘ext2fs_get_next_inode’ throws an exception...
e2fsprogs-1.47.3/debugfs/icheck.c:103:26: danger: ‘block_buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def72]
e2fsprogs-1.47.3/debugfs/icheck.c:106:17: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/debugfs/icheck.c:68:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
e2fsprogs-1.47.3/debugfs/icheck.c:72:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:72:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:75:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:76:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:81:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:83:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:89:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
e2fsprogs-1.47.3/debugfs/icheck.c:90:55: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:90:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:89:29: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:97:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:97:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:105:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:106:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:106:17: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/icheck.c:106:17: danger: ‘block_buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def73]
e2fsprogs-1.47.3/debugfs/icheck.c:118:23: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/debugfs/icheck.c:68:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
e2fsprogs-1.47.3/debugfs/icheck.c:72:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:72:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:75:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:76:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:81:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:83:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:89:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
e2fsprogs-1.47.3/debugfs/icheck.c:90:55: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:90:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:89:29: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:97:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:97:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:105:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:105:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:110:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:113:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:113:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:116:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:118:23: throw: if ‘ext2fs_file_acl_block’ throws an exception...
e2fsprogs-1.47.3/debugfs/icheck.c:118:23: danger: ‘block_buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def74]
e2fsprogs-1.47.3/debugfs/icheck.c:124:25: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/debugfs/icheck.c:68:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
e2fsprogs-1.47.3/debugfs/icheck.c:72:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:72:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:75:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:76:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:81:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:83:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:89:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
e2fsprogs-1.47.3/debugfs/icheck.c:90:55: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:90:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:89:29: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:97:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:97:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:105:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:105:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:110:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:113:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:119:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:120:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:122:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:124:25: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:124:25: throw: if ‘ext2fs_file_acl_block_set’ throws an exception...
e2fsprogs-1.47.3/debugfs/icheck.c:124:25: danger: ‘block_buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def75]
e2fsprogs-1.47.3/debugfs/icheck.c:127:22: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/debugfs/icheck.c:68:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
e2fsprogs-1.47.3/debugfs/icheck.c:72:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:72:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:75:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:76:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:81:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:83:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:89:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
e2fsprogs-1.47.3/debugfs/icheck.c:90:55: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:90:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:89:29: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:97:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:97:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:105:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:105:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:110:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:113:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:119:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:127:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:127:22: throw: if ‘ext2fs_inode_has_valid_blocks2’ throws an exception...
e2fsprogs-1.47.3/debugfs/icheck.c:127:22: danger: ‘block_buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def76]
e2fsprogs-1.47.3/debugfs/icheck.c:136:26: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/debugfs/icheck.c:56:6: enter_function: entry to ‘do_icheck’
e2fsprogs-1.47.3/debugfs/icheck.c:68:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
e2fsprogs-1.47.3/debugfs/icheck.c:72:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:72:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:75:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:76:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:81:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:83:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:89:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
e2fsprogs-1.47.3/debugfs/icheck.c:90:55: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:90:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:89:29: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:97:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:97:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:105:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:105:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:110:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:113:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:119:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:120:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:120:25: call_function: calling ‘icheck_proc’ from ‘do_icheck’
e2fsprogs-1.47.3/debugfs/icheck.c:120:25: return_function: returning to ‘do_icheck’ from ‘icheck_proc’
e2fsprogs-1.47.3/debugfs/icheck.c:122:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:124:25: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:127:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:133:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:133:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:136:26: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:136:26: throw: if ‘ext2fs_block_iterate3’ throws an exception...
e2fsprogs-1.47.3/debugfs/icheck.c:136:26: danger: ‘block_buf’ leaks here; was allocated at [(8)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def77]
e2fsprogs-1.47.3/debugfs/icheck.c:150:34: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/debugfs/icheck.c:68:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
e2fsprogs-1.47.3/debugfs/icheck.c:72:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:72:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:75:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:76:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:81:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:83:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:89:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
e2fsprogs-1.47.3/debugfs/icheck.c:90:55: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:90:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:89:29: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:97:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:97:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:105:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:105:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:110:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:113:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:113:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:114:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:150:34: throw: if ‘ext2fs_get_next_inode’ throws an exception...
e2fsprogs-1.47.3/debugfs/icheck.c:150:34: danger: ‘block_buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def78]
e2fsprogs-1.47.3/debugfs/icheck.c:153:25: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/debugfs/icheck.c:68:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
e2fsprogs-1.47.3/debugfs/icheck.c:72:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:72:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:75:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:76:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:81:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:83:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/icheck.c:84:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:89:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
e2fsprogs-1.47.3/debugfs/icheck.c:90:55: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:90:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:89:29: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:97:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:97:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:105:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:105:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:110:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:113:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:113:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:114:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:151:26: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/icheck.c:152:20: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/icheck.c:153:25: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/icheck.c:153:25: danger: ‘block_buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def79]
e2fsprogs-1.47.3/debugfs/journal.c:116:18: warning[-Wanalyzer-malloc-leak]: leak of ‘dev_fs’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:328:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:328:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:332:26: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:332:26: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:332:26: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:333:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:336:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:395:38: call_function: calling ‘jbd2_journal_bmap’ from ‘ext2fs_get_journal’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def80]
e2fsprogs-1.47.3/debugfs/journal.c:116:18: warning[-Wanalyzer-malloc-leak]: leak of ‘journal’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:328:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:328:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:332:26: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:332:26: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:332:26: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:333:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:336:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:395:38: call_function: calling ‘jbd2_journal_bmap’ from ‘ext2fs_get_journal’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def81]
e2fsprogs-1.47.3/debugfs/journal.c:175:34: warning[-Wanalyzer-malloc-leak]: leak of ‘bh’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:401:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:415:20: branch_false: following ‘false’ branch (when ‘journal_name’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/journal.c:421:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:435:12: branch_false: following ‘false’ branch (when ‘retval == 0’)...
e2fsprogs-1.47.3/debugfs/journal.c:438:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:440:12: branch_true: following ‘true’ branch (when ‘ext_journal != 0’)...
e2fsprogs-1.47.3/debugfs/journal.c:443:49: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:444:22: call_function: calling ‘getblk’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:444:22: return_function: returning to ‘ext2fs_get_journal’ from ‘getblk’
e2fsprogs-1.47.3/debugfs/journal.c:445:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:449:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:449:17: call_function: calling ‘ll_rw_block’ from ‘ext2fs_get_journal’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def82]
e2fsprogs-1.47.3/debugfs/journal.c:175:34: warning[-Wanalyzer-malloc-leak]: leak of ‘dev_fs’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:401:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:415:20: branch_false: following ‘false’ branch (when ‘journal_name’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/journal.c:421:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:435:12: branch_false: following ‘false’ branch (when ‘retval == 0’)...
e2fsprogs-1.47.3/debugfs/journal.c:438:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:440:12: branch_true: following ‘true’ branch (when ‘ext_journal != 0’)...
e2fsprogs-1.47.3/debugfs/journal.c:443:49: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:444:22: call_function: calling ‘getblk’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:444:22: return_function: returning to ‘ext2fs_get_journal’ from ‘getblk’
e2fsprogs-1.47.3/debugfs/journal.c:445:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:449:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:449:17: call_function: calling ‘ll_rw_block’ from ‘ext2fs_get_journal’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def83]
e2fsprogs-1.47.3/debugfs/journal.c:175:34: warning[-Wanalyzer-malloc-leak]: leak of ‘journal’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:401:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:415:20: branch_false: following ‘false’ branch (when ‘journal_name’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/journal.c:421:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:435:12: branch_false: following ‘false’ branch (when ‘retval == 0’)...
e2fsprogs-1.47.3/debugfs/journal.c:438:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:440:12: branch_true: following ‘true’ branch (when ‘ext_journal != 0’)...
e2fsprogs-1.47.3/debugfs/journal.c:443:49: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:444:22: call_function: calling ‘getblk’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:444:22: return_function: returning to ‘ext2fs_get_journal’ from ‘getblk’
e2fsprogs-1.47.3/debugfs/journal.c:445:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:449:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:449:17: call_function: calling ‘ll_rw_block’ from ‘ext2fs_get_journal’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def84]
e2fsprogs-1.47.3/debugfs/journal.c:179:33: warning[-Wanalyzer-malloc-leak]: leak of ‘dev_fs’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:401:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:415:20: branch_false: following ‘false’ branch (when ‘journal_name’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/journal.c:421:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:435:12: branch_false: following ‘false’ branch (when ‘retval == 0’)...
e2fsprogs-1.47.3/debugfs/journal.c:438:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:440:12: branch_true: following ‘true’ branch (when ‘ext_journal != 0’)...
e2fsprogs-1.47.3/debugfs/journal.c:443:49: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:444:22: call_function: calling ‘getblk’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:444:22: return_function: returning to ‘ext2fs_get_journal’ from ‘getblk’
e2fsprogs-1.47.3/debugfs/journal.c:445:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:449:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:449:17: call_function: calling ‘ll_rw_block’ from ‘ext2fs_get_journal’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def85]
e2fsprogs-1.47.3/debugfs/journal.c:179:33: warning[-Wanalyzer-malloc-leak]: leak of ‘journal’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:401:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:415:20: branch_false: following ‘false’ branch (when ‘journal_name’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/journal.c:421:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:435:12: branch_false: following ‘false’ branch (when ‘retval == 0’)...
e2fsprogs-1.47.3/debugfs/journal.c:438:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:440:12: branch_true: following ‘true’ branch (when ‘ext_journal != 0’)...
e2fsprogs-1.47.3/debugfs/journal.c:443:49: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:444:22: call_function: calling ‘getblk’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:444:22: return_function: returning to ‘ext2fs_get_journal’ from ‘getblk’
e2fsprogs-1.47.3/debugfs/journal.c:445:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:449:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:449:17: call_function: calling ‘ll_rw_block’ from ‘ext2fs_get_journal’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def86]
e2fsprogs-1.47.3/debugfs/journal.c:327:13: warning[-Wanalyzer-malloc-leak]: leak of ‘dev_fs’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:13: throw: if ‘uuid_is_null’ throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:327:13: danger: ‘dev_fs’ leaks here; was allocated at [(11)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def87]
e2fsprogs-1.47.3/debugfs/journal.c:327:13: warning[-Wanalyzer-malloc-leak]: leak of ‘journal’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:13: throw: if ‘uuid_is_null’ throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:327:13: danger: ‘journal’ leaks here; was allocated at [(4)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
e2fsprogs-1.47.3/debugfs/journal.c:339:26: warning[-Wanalyzer-malloc-leak]: leak of ‘dev_fs’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:328:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:328:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:332:26: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:332:26: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:332:26: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:333:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:336:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:339:26: throw: if ‘ext2fs_read_inode’ throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:339:26: danger: ‘dev_fs’ leaks here; was allocated at [(11)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
e2fsprogs-1.47.3/debugfs/journal.c:339:26: warning[-Wanalyzer-malloc-leak]: leak of ‘j_inode’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:328:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:328:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:332:26: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:332:26: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:332:26: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:333:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:336:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:339:26: throw: if ‘ext2fs_read_inode’ throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:339:26: danger: ‘j_inode’ leaks here; was allocated at [(22)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/21)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def90]
e2fsprogs-1.47.3/debugfs/journal.c:339:26: warning[-Wanalyzer-malloc-leak]: leak of ‘journal’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:328:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:328:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:332:26: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:332:26: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:332:26: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:333:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:336:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:339:26: throw: if ‘ext2fs_read_inode’ throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:339:26: danger: ‘journal’ leaks here; was allocated at [(4)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def91]
e2fsprogs-1.47.3/debugfs/journal.c:366:26: warning[-Wanalyzer-malloc-leak]: leak of ‘dev_fs’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:328:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:328:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:332:26: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:332:26: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:332:26: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:333:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:336:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:341:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:355:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:355:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:356:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:355:21: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:360:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:360:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:365:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:366:26: throw: if ‘ext2fs_block_iterate3’ throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:366:26: danger: ‘dev_fs’ leaks here; was allocated at [(11)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def92]
e2fsprogs-1.47.3/debugfs/journal.c:366:26: warning[-Wanalyzer-malloc-leak]: leak of ‘journal’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:328:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:328:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:332:26: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:332:26: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:332:26: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:333:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:336:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:341:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:355:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:355:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:356:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:355:21: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:360:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:360:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:365:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:366:26: throw: if ‘ext2fs_block_iterate3’ throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:366:26: danger: ‘journal’ leaks here; was allocated at [(4)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def93]
e2fsprogs-1.47.3/debugfs/journal.c:375:34: warning[-Wanalyzer-malloc-leak]: leak of ‘dev_fs’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:328:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:328:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:332:26: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:332:26: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:332:26: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:333:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:336:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:343:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:355:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:356:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:355:21: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:360:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:360:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:365:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:374:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:375:34: throw: if ‘ext2fs_write_inode’ throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:375:34: danger: ‘dev_fs’ leaks here; was allocated at [(11)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def94]
e2fsprogs-1.47.3/debugfs/journal.c:375:34: warning[-Wanalyzer-malloc-leak]: leak of ‘journal’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:328:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:328:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:332:26: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:332:26: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:332:26: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:333:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:336:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:343:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:355:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:356:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:355:21: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:360:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:360:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:365:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:374:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:375:34: throw: if ‘ext2fs_write_inode’ throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:375:34: danger: ‘journal’ leaks here; was allocated at [(4)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def95]
e2fsprogs-1.47.3/debugfs/journal.c:405:25: warning[-Wanalyzer-malloc-leak]: leak of ‘dev_fs’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:401:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:401:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:405:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:405:25: throw: if ‘blkid_get_cache’ throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:405:25: danger: ‘dev_fs’ leaks here; was allocated at [(11)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def96]
e2fsprogs-1.47.3/debugfs/journal.c:405:25: warning[-Wanalyzer-malloc-leak]: leak of ‘journal’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:401:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:401:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:405:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:405:25: throw: if ‘blkid_get_cache’ throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:405:25: danger: ‘journal’ leaks here; was allocated at [(4)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def97]
e2fsprogs-1.47.3/debugfs/journal.c:406:25: warning[-Wanalyzer-malloc-leak]: leak of ‘dev_fs’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:401:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:401:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:405:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:406:25: throw: if ‘uuid_unparse’ throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:406:25: danger: ‘dev_fs’ leaks here; was allocated at [(11)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def98]
e2fsprogs-1.47.3/debugfs/journal.c:406:25: warning[-Wanalyzer-malloc-leak]: leak of ‘journal’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:401:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:401:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:405:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:406:25: throw: if ‘uuid_unparse’ throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:406:25: danger: ‘journal’ leaks here; was allocated at [(4)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def99]
e2fsprogs-1.47.3/debugfs/journal.c:407:44: warning[-Wanalyzer-malloc-leak]: leak of ‘dev_fs’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:401:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:401:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:405:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:407:44: throw: if ‘blkid_get_devname’ throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:407:44: danger: ‘dev_fs’ leaks here; was allocated at [(11)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def100]
e2fsprogs-1.47.3/debugfs/journal.c:407:44: warning[-Wanalyzer-malloc-leak]: leak of ‘journal’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:401:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:401:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:405:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:407:44: throw: if ‘blkid_get_devname’ throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:407:44: danger: ‘journal’ leaks here; was allocated at [(4)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def101]
e2fsprogs-1.47.3/debugfs/journal.c:410:52: warning[-Wanalyzer-malloc-leak]: leak of ‘dev_fs’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:401:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:401:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:405:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:409:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:410:75: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:410:52: throw: if ‘blkid_devno_to_devname’ throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:410:52: danger: ‘dev_fs’ leaks here; was allocated at [(11)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def102]
e2fsprogs-1.47.3/debugfs/journal.c:410:52: warning[-Wanalyzer-malloc-leak]: leak of ‘journal’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:401:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:401:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:405:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:409:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:410:75: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:410:52: throw: if ‘blkid_devno_to_devname’ throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:410:52: danger: ‘journal’ leaks here; was allocated at [(4)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def103]
e2fsprogs-1.47.3/debugfs/journal.c:411:25: warning[-Wanalyzer-malloc-leak]: leak of ‘dev_fs’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:401:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:401:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:405:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:409:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:411:25: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:411:25: throw: if ‘blkid_put_cache’ throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:411:25: danger: ‘dev_fs’ leaks here; was allocated at [(11)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def104]
e2fsprogs-1.47.3/debugfs/journal.c:411:25: warning[-Wanalyzer-malloc-leak]: leak of ‘journal’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:401:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:401:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:405:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:409:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:411:25: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:411:25: throw: if ‘blkid_put_cache’ throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:411:25: danger: ‘journal’ leaks here; was allocated at [(4)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def105]
e2fsprogs-1.47.3/debugfs/journal.c:432:26: warning[-Wanalyzer-malloc-leak]: leak of ‘dev_fs’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:401:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:415:20: branch_false: following ‘false’ branch (when ‘journal_name’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/journal.c:421:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:432:26: throw: if the called function throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:432:26: danger: ‘dev_fs’ leaks here; was allocated at [(11)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def106]
e2fsprogs-1.47.3/debugfs/journal.c:432:26: warning[-Wanalyzer-malloc-leak]: leak of ‘journal’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:401:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:415:20: branch_false: following ‘false’ branch (when ‘journal_name’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/journal.c:421:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:432:26: throw: if the called function throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:432:26: danger: ‘journal’ leaks here; was allocated at [(4)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def107]
e2fsprogs-1.47.3/debugfs/journal.c:438:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dev_fs’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:401:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:415:20: branch_false: following ‘false’ branch (when ‘journal_name’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/journal.c:421:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:435:12: branch_false: following ‘false’ branch (when ‘retval == 0’)...
e2fsprogs-1.47.3/debugfs/journal.c:438:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:438:9: throw: if the called function throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:438:9: danger: ‘dev_fs’ leaks here; was allocated at [(11)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def108]
e2fsprogs-1.47.3/debugfs/journal.c:438:9: warning[-Wanalyzer-malloc-leak]: leak of ‘journal’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:401:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:415:20: branch_false: following ‘false’ branch (when ‘journal_name’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/journal.c:421:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:435:12: branch_false: following ‘false’ branch (when ‘retval == 0’)...
e2fsprogs-1.47.3/debugfs/journal.c:438:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:438:9: throw: if the called function throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:438:9: danger: ‘journal’ leaks here; was allocated at [(4)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def109]
e2fsprogs-1.47.3/debugfs/journal.c:443:25: warning[-Wanalyzer-malloc-leak]: leak of ‘dev_fs’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:401:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:415:20: branch_false: following ‘false’ branch (when ‘journal_name’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/journal.c:421:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:435:12: branch_false: following ‘false’ branch (when ‘retval == 0’)...
e2fsprogs-1.47.3/debugfs/journal.c:438:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:440:12: branch_true: following ‘true’ branch (when ‘ext_journal != 0’)...
e2fsprogs-1.47.3/debugfs/journal.c:443:49: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:443:25: throw: if ‘ext2fs_journal_sb_start’ throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:443:25: danger: ‘dev_fs’ leaks here; was allocated at [(11)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def110]
e2fsprogs-1.47.3/debugfs/journal.c:443:25: warning[-Wanalyzer-malloc-leak]: leak of ‘journal’
e2fsprogs-1.47.3/debugfs/journal.c:293:18: enter_function: entry to ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:309:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:310:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:313:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:313:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_get_journal’
e2fsprogs-1.47.3/debugfs/journal.c:313:18: return_function: returning to ‘ext2fs_get_journal’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/debugfs/journal.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:316:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:327:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/journal.c:401:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:415:20: branch_false: following ‘false’ branch (when ‘journal_name’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/journal.c:421:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:435:12: branch_false: following ‘false’ branch (when ‘retval == 0’)...
e2fsprogs-1.47.3/debugfs/journal.c:438:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:440:12: branch_true: following ‘true’ branch (when ‘ext_journal != 0’)...
e2fsprogs-1.47.3/debugfs/journal.c:443:49: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/journal.c:443:25: throw: if ‘ext2fs_journal_sb_start’ throws an exception...
e2fsprogs-1.47.3/debugfs/journal.c:443:25: danger: ‘journal’ leaks here; was allocated at [(4)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def111]
e2fsprogs-1.47.3/debugfs/logdump.c:215:21: warning[-Wanalyzer-file-leak]: leak of FILE ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:214:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:215:21: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:215:21: throw: if ‘check_fs_open’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:215:21: danger: ‘out_file’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def112]
e2fsprogs-1.47.3/debugfs/logdump.c:215:21: warning[-Wanalyzer-malloc-leak]: leak of ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:214:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:215:21: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:215:21: throw: if ‘check_fs_open’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:215:21: danger: ‘out_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def113]
e2fsprogs-1.47.3/debugfs/logdump.c:221:34: warning[-Wanalyzer-file-leak]: leak of FILE ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:214:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:215:21: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:215:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:217:32: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:221:34: throw: if ‘ext2fs_block_bitmap_loc’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:221:34: danger: ‘out_file’ leaks here; was opened at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
e2fsprogs-1.47.3/debugfs/logdump.c:221:34: warning[-Wanalyzer-malloc-leak]: leak of ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:214:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:215:21: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:215:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:217:32: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:221:34: throw: if ‘ext2fs_block_bitmap_loc’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:221:34: danger: ‘out_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def115]
e2fsprogs-1.47.3/debugfs/logdump.c:226:30: warning[-Wanalyzer-file-leak]: leak of FILE ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:124:16: branch_true: following ‘true’ branch (when ‘c != -1’)...
e2fsprogs-1.47.3/debugfs/logdump.c:125:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_true: following ‘true’ branch (when ‘journal_fn’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:226:30: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:226:30: throw: if ‘open’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:226:30: danger: ‘out_file’ leaks here; was opened at [(7)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def116]
e2fsprogs-1.47.3/debugfs/logdump.c:226:30: warning[-Wanalyzer-malloc-leak]: leak of ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:124:16: branch_true: following ‘true’ branch (when ‘c != -1’)...
e2fsprogs-1.47.3/debugfs/logdump.c:125:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_true: following ‘true’ branch (when ‘journal_fn’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:226:30: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:226:30: throw: if ‘open’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:226:30: danger: ‘out_file’ leaks here; was allocated at [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def117]
e2fsprogs-1.47.3/debugfs/logdump.c:228:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:124:16: branch_true: following ‘true’ branch (when ‘c != -1’)...
e2fsprogs-1.47.3/debugfs/logdump.c:125:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_true: following ‘true’ branch (when ‘journal_fn’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:226:30: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:227:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:228:42: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:228:25: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:228:25: danger: ‘out_file’ leaks here; was opened at [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def118]
e2fsprogs-1.47.3/debugfs/logdump.c:228:25: warning[-Wanalyzer-malloc-leak]: leak of ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:124:16: branch_true: following ‘true’ branch (when ‘c != -1’)...
e2fsprogs-1.47.3/debugfs/logdump.c:125:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_true: following ‘true’ branch (when ‘journal_fn’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:226:30: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:227:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:228:42: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:228:25: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:228:25: danger: ‘out_file’ leaks here; was allocated at [(7)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def119]
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_false: following ‘false’ branch (when ‘journal_fn’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: throw: if ‘check_fs_open’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: danger: ‘out_file’ leaks here; was opened at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def120]
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: warning[-Wanalyzer-malloc-leak]: leak of ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_false: following ‘false’ branch (when ‘journal_fn’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: throw: if ‘check_fs_open’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: danger: ‘out_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def121]
e2fsprogs-1.47.3/debugfs/logdump.c:245:33: warning[-Wanalyzer-file-leak]: leak of FILE ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_false: following ‘false’ branch (when ‘journal_fn’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:238:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:240:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:242:12: branch_true: following ‘true’ branch (when ‘journal_inum != 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:243:20: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:243:20: branch_true: following ‘true’ branch (when ‘use_sb != 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:244:29: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:244:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:245:33: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:245:33: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:245:33: danger: ‘out_file’ leaks here; was opened at [(5)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def122]
e2fsprogs-1.47.3/debugfs/logdump.c:245:33: warning[-Wanalyzer-malloc-leak]: leak of ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_false: following ‘false’ branch (when ‘journal_fn’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:238:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:240:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:242:12: branch_true: following ‘true’ branch (when ‘journal_inum != 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:243:20: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:243:20: branch_true: following ‘true’ branch (when ‘use_sb != 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:244:29: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:244:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:245:33: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:245:33: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:245:33: danger: ‘out_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def123]
e2fsprogs-1.47.3/debugfs/logdump.c:257:29: warning[-Wanalyzer-file-leak]: leak of FILE ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_false: following ‘false’ branch (when ‘journal_fn’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:238:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:240:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:242:12: branch_true: following ‘true’ branch (when ‘journal_inum != 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:243:20: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:243:20: branch_false: following ‘false’ branch (when ‘use_sb == 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:257:29: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:257:29: throw: if ‘debugfs_read_inode’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:257:29: danger: ‘out_file’ leaks here; was opened at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def124]
e2fsprogs-1.47.3/debugfs/logdump.c:257:29: warning[-Wanalyzer-malloc-leak]: leak of ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_false: following ‘false’ branch (when ‘journal_fn’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:238:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:240:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:242:12: branch_true: following ‘true’ branch (when ‘journal_inum != 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:243:20: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:243:20: branch_false: following ‘false’ branch (when ‘use_sb == 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:257:29: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:257:29: throw: if ‘debugfs_read_inode’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:257:29: danger: ‘out_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def125]
e2fsprogs-1.47.3/debugfs/logdump.c:262:26: warning[-Wanalyzer-file-leak]: leak of FILE ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_false: following ‘false’ branch (when ‘journal_fn’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:238:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:240:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:242:12: branch_true: following ‘true’ branch (when ‘journal_inum != 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:243:20: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:243:20: branch_false: following ‘false’ branch (when ‘use_sb == 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:257:29: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:257:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:262:26: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:262:26: throw: if ‘ext2fs_file_open2’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:262:26: danger: ‘out_file’ leaks here; was opened at [(5)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def126]
e2fsprogs-1.47.3/debugfs/logdump.c:262:26: warning[-Wanalyzer-malloc-leak]: leak of ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_false: following ‘false’ branch (when ‘journal_fn’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:238:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:240:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:242:12: branch_true: following ‘true’ branch (when ‘journal_inum != 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:243:20: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:243:20: branch_false: following ‘false’ branch (when ‘use_sb == 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:257:29: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:257:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:262:26: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:262:26: throw: if ‘ext2fs_file_open2’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:262:26: danger: ‘out_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def127]
e2fsprogs-1.47.3/debugfs/logdump.c:265:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_false: following ‘false’ branch (when ‘journal_fn’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:238:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:240:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:242:12: branch_true: following ‘true’ branch (when ‘journal_inum != 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:243:20: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:257:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:262:26: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:264:20: branch_true: following ‘true’ branch (when ‘retval != 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:265:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:265:25: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:265:25: danger: ‘out_file’ leaks here; was opened at [(5)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def128]
e2fsprogs-1.47.3/debugfs/logdump.c:265:25: warning[-Wanalyzer-malloc-leak]: leak of ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_false: following ‘false’ branch (when ‘journal_fn’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:238:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:240:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:242:12: branch_true: following ‘true’ branch (when ‘journal_inum != 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:243:20: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:257:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:262:26: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:264:20: branch_true: following ‘true’ branch (when ‘retval != 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:265:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:265:25: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:265:25: danger: ‘out_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def129]
e2fsprogs-1.47.3/debugfs/logdump.c:273:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_false: following ‘false’ branch (when ‘journal_fn’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:238:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:240:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:242:12: branch_false: following ‘false’ branch (when ‘journal_inum == 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:273:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:273:17: throw: if ‘uuid_unparse’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:273:17: danger: ‘out_file’ leaks here; was opened at [(5)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def130]
e2fsprogs-1.47.3/debugfs/logdump.c:273:17: warning[-Wanalyzer-malloc-leak]: leak of ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_false: following ‘false’ branch (when ‘journal_fn’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:238:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:240:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:242:12: branch_false: following ‘false’ branch (when ‘journal_inum == 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:273:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:273:17: throw: if ‘uuid_unparse’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:273:17: danger: ‘out_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def131]
e2fsprogs-1.47.3/debugfs/logdump.c:274:30: warning[-Wanalyzer-file-leak]: leak of FILE ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_false: following ‘false’ branch (when ‘journal_fn’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:238:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:240:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:242:12: branch_false: following ‘false’ branch (when ‘journal_inum == 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:273:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:274:30: throw: if ‘blkid_get_devname’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:274:30: danger: ‘out_file’ leaks here; was opened at [(5)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def132]
e2fsprogs-1.47.3/debugfs/logdump.c:274:30: warning[-Wanalyzer-malloc-leak]: leak of ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_false: following ‘false’ branch (when ‘journal_fn’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:238:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:240:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:242:12: branch_false: following ‘false’ branch (when ‘journal_inum == 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:273:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:274:30: throw: if ‘blkid_get_devname’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:274:30: danger: ‘out_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def133]
e2fsprogs-1.47.3/debugfs/logdump.c:276:46: warning[-Wanalyzer-file-leak]: leak of FILE ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_false: following ‘false’ branch (when ‘journal_fn’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:238:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:240:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:242:12: branch_false: following ‘false’ branch (when ‘journal_inum == 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:273:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:275:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:276:69: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:276:46: throw: if ‘blkid_devno_to_devname’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:276:46: danger: ‘out_file’ leaks here; was opened at [(5)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def134]
e2fsprogs-1.47.3/debugfs/logdump.c:276:46: warning[-Wanalyzer-malloc-leak]: leak of ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_false: following ‘false’ branch (when ‘journal_fn’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:238:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:240:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:242:12: branch_false: following ‘false’ branch (when ‘journal_inum == 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:273:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:275:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:276:69: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:276:46: throw: if ‘blkid_devno_to_devname’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:276:46: danger: ‘out_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def135]
e2fsprogs-1.47.3/debugfs/logdump.c:278:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_false: following ‘false’ branch (when ‘journal_fn’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:238:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:240:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:242:12: branch_false: following ‘false’ branch (when ‘journal_inum == 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:273:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:275:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:276:69: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:277:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:278:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:278:25: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:278:25: danger: ‘out_file’ leaks here; was opened at [(5)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def136]
e2fsprogs-1.47.3/debugfs/logdump.c:278:25: warning[-Wanalyzer-malloc-leak]: leak of ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_false: following ‘false’ branch (when ‘journal_fn’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:238:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:240:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:242:12: branch_false: following ‘false’ branch (when ‘journal_inum == 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:273:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:275:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:276:69: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:277:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:278:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:278:25: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:278:25: danger: ‘out_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def137]
e2fsprogs-1.47.3/debugfs/logdump.c:281:30: warning[-Wanalyzer-file-leak]: leak of FILE ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_false: following ‘false’ branch (when ‘journal_fn’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:238:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:240:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:242:12: branch_false: following ‘false’ branch (when ‘journal_inum == 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:273:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:281:30: throw: if ‘open’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:281:30: danger: ‘out_file’ leaks here; was opened at [(5)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def138]
e2fsprogs-1.47.3/debugfs/logdump.c:281:30: warning[-Wanalyzer-malloc-leak]: leak of ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_false: following ‘false’ branch (when ‘journal_fn’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:238:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:240:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:242:12: branch_false: following ‘false’ branch (when ‘journal_inum == 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:273:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:281:30: throw: if ‘open’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:281:30: danger: ‘out_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def139]
e2fsprogs-1.47.3/debugfs/logdump.c:283:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_false: following ‘false’ branch (when ‘journal_fn’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:238:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:240:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:242:12: branch_false: following ‘false’ branch (when ‘journal_inum == 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:273:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:282:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:283:42: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:283:25: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:283:25: danger: ‘out_file’ leaks here; was opened at [(5)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def140]
e2fsprogs-1.47.3/debugfs/logdump.c:283:25: warning[-Wanalyzer-malloc-leak]: leak of ‘out_file’
e2fsprogs-1.47.3/debugfs/logdump.c:173:12: branch_false: following ‘false’ branch (when ‘inode_spec’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:202:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:205:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:206:28: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/logdump.c:207:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:214:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:224:12: branch_false: following ‘false’ branch (when ‘journal_fn’ is NULL)...
e2fsprogs-1.47.3/debugfs/logdump.c:238:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:238:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:240:24: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:242:12: branch_false: following ‘false’ branch (when ‘journal_inum == 0’)...
e2fsprogs-1.47.3/debugfs/logdump.c:273:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:282:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/logdump.c:283:42: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/logdump.c:283:25: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/logdump.c:283:25: danger: ‘out_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def141]
e2fsprogs-1.47.3/debugfs/lsdel.c:115:17: warning[-Wanalyzer-malloc-leak]: leak of ‘delarray’
e2fsprogs-1.47.3/debugfs/lsdel.c:91:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:95:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:106:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/lsdel.c:107:12: branch_false: following ‘false’ branch (when ‘delarray’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:113:38: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:114:12: branch_true: following ‘true’ branch (when ‘block_buf’ is NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:115:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:115:17: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/lsdel.c:115:17: danger: ‘delarray’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def142]
e2fsprogs-1.47.3/debugfs/lsdel.c:119:18: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/debugfs/lsdel.c:91:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:95:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:107:12: branch_false: following ‘false’ branch (when ‘delarray’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:113:38: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:113:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/lsdel.c:114:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:119:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:119:18: throw: if ‘ext2fs_open_inode_scan’ throws an exception...
e2fsprogs-1.47.3/debugfs/lsdel.c:119:18: danger: ‘block_buf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def143]
e2fsprogs-1.47.3/debugfs/lsdel.c:119:18: warning[-Wanalyzer-malloc-leak]: leak of ‘delarray’
e2fsprogs-1.47.3/debugfs/lsdel.c:91:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:95:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:106:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/lsdel.c:107:12: branch_false: following ‘false’ branch (when ‘delarray’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:113:38: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:114:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:119:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:119:18: throw: if ‘ext2fs_open_inode_scan’ throws an exception...
e2fsprogs-1.47.3/debugfs/lsdel.c:119:18: danger: ‘delarray’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def144]
e2fsprogs-1.47.3/debugfs/lsdel.c:121:17: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/debugfs/lsdel.c:91:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:95:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:107:12: branch_false: following ‘false’ branch (when ‘delarray’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:113:38: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:113:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/lsdel.c:114:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:119:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:121:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:121:17: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/lsdel.c:121:17: danger: ‘block_buf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def145]
e2fsprogs-1.47.3/debugfs/lsdel.c:121:17: warning[-Wanalyzer-malloc-leak]: leak of ‘delarray’
e2fsprogs-1.47.3/debugfs/lsdel.c:91:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:95:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:106:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/lsdel.c:107:12: branch_false: following ‘false’ branch (when ‘delarray’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:113:38: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:114:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:119:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:121:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:121:17: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/lsdel.c:121:17: danger: ‘delarray’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def146]
e2fsprogs-1.47.3/debugfs/lsdel.c:127:26: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/debugfs/lsdel.c:91:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:95:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:107:12: branch_false: following ‘false’ branch (when ‘delarray’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:113:38: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:113:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/lsdel.c:114:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:119:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:127:26: throw: if ‘ext2fs_get_next_inode’ throws an exception...
e2fsprogs-1.47.3/debugfs/lsdel.c:127:26: danger: ‘block_buf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def147]
e2fsprogs-1.47.3/debugfs/lsdel.c:127:26: warning[-Wanalyzer-malloc-leak]: leak of ‘delarray’
e2fsprogs-1.47.3/debugfs/lsdel.c:91:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:95:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:106:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/lsdel.c:107:12: branch_false: following ‘false’ branch (when ‘delarray’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:113:38: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:114:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:119:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:127:26: throw: if ‘ext2fs_get_next_inode’ throws an exception...
e2fsprogs-1.47.3/debugfs/lsdel.c:127:26: danger: ‘delarray’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def148]
e2fsprogs-1.47.3/debugfs/lsdel.c:130:17: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/debugfs/lsdel.c:91:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:95:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:107:12: branch_false: following ‘false’ branch (when ‘delarray’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:113:38: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:113:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/lsdel.c:114:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:119:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:129:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:130:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:130:17: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/lsdel.c:130:17: danger: ‘block_buf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def149]
e2fsprogs-1.47.3/debugfs/lsdel.c:130:17: warning[-Wanalyzer-malloc-leak]: leak of ‘delarray’
e2fsprogs-1.47.3/debugfs/lsdel.c:91:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:95:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:106:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/lsdel.c:107:12: branch_false: following ‘false’ branch (when ‘delarray’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:113:38: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:114:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:119:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:129:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:130:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:130:17: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/lsdel.c:130:17: danger: ‘delarray’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def150]
e2fsprogs-1.47.3/debugfs/lsdel.c:145:21: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/debugfs/lsdel.c:91:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:95:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:107:12: branch_false: following ‘false’ branch (when ‘delarray’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:113:38: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:113:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/lsdel.c:114:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:119:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:129:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:129:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:135:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:136:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:145:21: throw: if ‘ext2fs_inode_has_valid_blocks2’ throws an exception...
e2fsprogs-1.47.3/debugfs/lsdel.c:145:21: danger: ‘block_buf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def151]
e2fsprogs-1.47.3/debugfs/lsdel.c:146:34: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/debugfs/lsdel.c:91:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:95:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:107:12: branch_false: following ‘false’ branch (when ‘delarray’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:113:38: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:113:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/lsdel.c:114:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:119:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:129:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:129:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:135:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:136:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:145:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:146:34: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:146:34: throw: if ‘ext2fs_block_iterate3’ throws an exception...
e2fsprogs-1.47.3/debugfs/lsdel.c:146:34: danger: ‘block_buf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def152]
e2fsprogs-1.47.3/debugfs/lsdel.c:182:34: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/debugfs/lsdel.c:91:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:95:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:107:12: branch_false: following ‘false’ branch (when ‘delarray’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:113:38: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:113:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/lsdel.c:114:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:119:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:129:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:129:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:135:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:136:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:136:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:138:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:182:34: throw: if ‘ext2fs_get_next_inode’ throws an exception...
e2fsprogs-1.47.3/debugfs/lsdel.c:182:34: danger: ‘block_buf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def153]
e2fsprogs-1.47.3/debugfs/lsdel.c:182:34: warning[-Wanalyzer-malloc-leak]: leak of ‘delarray’
e2fsprogs-1.47.3/debugfs/lsdel.c:91:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:95:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:106:20: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/lsdel.c:107:12: branch_false: following ‘false’ branch (when ‘delarray’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:113:38: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:114:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:119:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:129:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:129:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:135:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:136:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:136:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:138:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:182:34: throw: if ‘ext2fs_get_next_inode’ throws an exception...
e2fsprogs-1.47.3/debugfs/lsdel.c:182:34: danger: ‘delarray’ leaks here; was allocated at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def154]
e2fsprogs-1.47.3/debugfs/lsdel.c:185:25: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/debugfs/lsdel.c:91:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:95:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:107:12: branch_false: following ‘false’ branch (when ‘delarray’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:113:38: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:113:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/lsdel.c:114:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:119:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:129:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:129:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:135:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:136:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:185:25: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/lsdel.c:185:25: danger: ‘block_buf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def155]
e2fsprogs-1.47.3/debugfs/lsdel.c:191:15: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/debugfs/lsdel.c:91:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:95:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:107:12: branch_false: following ‘false’ branch (when ‘delarray’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:113:38: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:113:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/lsdel.c:114:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:119:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:129:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:129:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:191:15: throw: if ‘open_pager’ throws an exception...
e2fsprogs-1.47.3/debugfs/lsdel.c:191:15: danger: ‘block_buf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def156]
e2fsprogs-1.47.3/debugfs/lsdel.c:195:9: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/debugfs/lsdel.c:91:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:95:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:107:12: branch_false: following ‘false’ branch (when ‘delarray’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:113:38: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:113:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/lsdel.c:114:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:119:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:129:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:129:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:195:9: throw: if ‘qsort’ throws an exception...
e2fsprogs-1.47.3/debugfs/lsdel.c:195:9: danger: ‘block_buf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def157]
e2fsprogs-1.47.3/debugfs/lsdel.c:208:9: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/debugfs/lsdel.c:91:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:95:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:107:12: branch_false: following ‘false’ branch (when ‘delarray’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:113:38: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:113:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/lsdel.c:114:12: branch_false: following ‘false’ branch (when ‘block_buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/lsdel.c:119:18: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:120:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:129:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/lsdel.c:129:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:198:21: branch_false: following ‘false’ branch (when ‘num_delarray <= i’)...
e2fsprogs-1.47.3/debugfs/lsdel.c:207:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/lsdel.c:208:9: throw: if ‘close_pager’ throws an exception...
e2fsprogs-1.47.3/debugfs/lsdel.c:208:9: danger: ‘block_buf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def158]
e2fsprogs-1.47.3/debugfs/ncheck.c:144:25: warning[-Wanalyzer-malloc-leak]: leak of ‘iw.iarray’
e2fsprogs-1.47.3/debugfs/ncheck.c:117:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
e2fsprogs-1.47.3/debugfs/ncheck.c:122:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:122:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:125:14: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:127:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/ncheck.c:128:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:133:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:136:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
e2fsprogs-1.47.3/debugfs/ncheck.c:137:33: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:143:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:143:37: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:144:25: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/ncheck.c:144:25: danger: ‘iw.iarray’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def159]
e2fsprogs-1.47.3/debugfs/ncheck.c:148:21: warning[-Wanalyzer-malloc-leak]: leak of ‘iw.iarray’
e2fsprogs-1.47.3/debugfs/ncheck.c:117:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
e2fsprogs-1.47.3/debugfs/ncheck.c:122:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:122:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:125:14: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:127:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/ncheck.c:128:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:133:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:136:19: branch_true: following ‘true’ branch (when ‘i < argc’)...
e2fsprogs-1.47.3/debugfs/ncheck.c:137:33: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:148:21: throw: if ‘debugfs_read_inode’ throws an exception...
e2fsprogs-1.47.3/debugfs/ncheck.c:148:21: danger: ‘iw.iarray’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def160]
e2fsprogs-1.47.3/debugfs/ncheck.c:158:18: warning[-Wanalyzer-malloc-leak]: leak of ‘iw.iarray’
e2fsprogs-1.47.3/debugfs/ncheck.c:117:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
e2fsprogs-1.47.3/debugfs/ncheck.c:122:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:122:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:125:14: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:127:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/ncheck.c:128:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:133:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:136:19: branch_false: following ‘false’ branch (when ‘i >= argc’)...
e2fsprogs-1.47.3/debugfs/ncheck.c:156:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:158:18: throw: if ‘ext2fs_open_inode_scan’ throws an exception...
e2fsprogs-1.47.3/debugfs/ncheck.c:158:18: danger: ‘iw.iarray’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def161]
e2fsprogs-1.47.3/debugfs/ncheck.c:160:17: warning[-Wanalyzer-malloc-leak]: leak of ‘iw.iarray’
e2fsprogs-1.47.3/debugfs/ncheck.c:117:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
e2fsprogs-1.47.3/debugfs/ncheck.c:122:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:122:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:125:14: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:127:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/ncheck.c:128:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:133:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:136:19: branch_false: following ‘false’ branch (when ‘i >= argc’)...
e2fsprogs-1.47.3/debugfs/ncheck.c:156:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:159:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:160:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:160:17: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/ncheck.c:160:17: danger: ‘iw.iarray’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def162]
e2fsprogs-1.47.3/debugfs/ncheck.c:165:26: warning[-Wanalyzer-malloc-leak]: leak of ‘iw.iarray’
e2fsprogs-1.47.3/debugfs/ncheck.c:117:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
e2fsprogs-1.47.3/debugfs/ncheck.c:122:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:122:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:125:14: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:127:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/ncheck.c:128:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:133:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:136:19: branch_false: following ‘false’ branch (when ‘i >= argc’)...
e2fsprogs-1.47.3/debugfs/ncheck.c:156:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:159:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:159:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:165:26: throw: if ‘ext2fs_get_next_inode’ throws an exception...
e2fsprogs-1.47.3/debugfs/ncheck.c:165:26: danger: ‘iw.iarray’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def163]
e2fsprogs-1.47.3/debugfs/ncheck.c:168:17: warning[-Wanalyzer-malloc-leak]: leak of ‘iw.iarray’
e2fsprogs-1.47.3/debugfs/ncheck.c:117:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
e2fsprogs-1.47.3/debugfs/ncheck.c:122:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:122:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:125:14: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:127:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/ncheck.c:128:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:133:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:136:19: branch_false: following ‘false’ branch (when ‘i >= argc’)...
e2fsprogs-1.47.3/debugfs/ncheck.c:156:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:159:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:159:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:167:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:168:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:168:17: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/ncheck.c:168:17: danger: ‘iw.iarray’ leaks here; was allocated at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def164]
e2fsprogs-1.47.3/debugfs/ncheck.c:191:26: warning[-Wanalyzer-malloc-leak]: leak of ‘iw.iarray’
e2fsprogs-1.47.3/debugfs/ncheck.c:117:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
e2fsprogs-1.47.3/debugfs/ncheck.c:122:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:122:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:125:14: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:127:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/ncheck.c:128:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:133:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:136:19: branch_false: following ‘false’ branch (when ‘i >= argc’)...
e2fsprogs-1.47.3/debugfs/ncheck.c:156:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:159:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:159:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:167:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:172:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:173:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:174:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:174:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:180:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:180:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:183:22: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:183:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:186:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:191:26: throw: if ‘ext2fs_dir_iterate’ throws an exception...
e2fsprogs-1.47.3/debugfs/ncheck.c:191:26: danger: ‘iw.iarray’ leaks here; was allocated at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def165]
e2fsprogs-1.47.3/debugfs/ncheck.c:205:34: warning[-Wanalyzer-malloc-leak]: leak of ‘iw.iarray’
e2fsprogs-1.47.3/debugfs/ncheck.c:117:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
e2fsprogs-1.47.3/debugfs/ncheck.c:122:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:122:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:125:14: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:127:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/ncheck.c:128:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:133:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:136:19: branch_false: following ‘false’ branch (when ‘i >= argc’)...
e2fsprogs-1.47.3/debugfs/ncheck.c:156:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:159:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:159:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:167:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:172:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:173:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:174:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:174:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:175:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:205:34: throw: if ‘ext2fs_get_next_inode’ throws an exception...
e2fsprogs-1.47.3/debugfs/ncheck.c:205:34: danger: ‘iw.iarray’ leaks here; was allocated at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def166]
e2fsprogs-1.47.3/debugfs/ncheck.c:209:25: warning[-Wanalyzer-malloc-leak]: leak of ‘iw.iarray’
e2fsprogs-1.47.3/debugfs/ncheck.c:117:12: branch_false: following ‘false’ branch (when ‘argc > 1’)...
e2fsprogs-1.47.3/debugfs/ncheck.c:122:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:122:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:125:14: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:127:21: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/ncheck.c:128:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:133:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:136:19: branch_false: following ‘false’ branch (when ‘i >= argc’)...
e2fsprogs-1.47.3/debugfs/ncheck.c:156:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:159:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:159:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:167:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:172:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:173:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:174:22: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:174:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:175:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:206:26: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:208:20: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:208:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/ncheck.c:209:25: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/ncheck.c:209:25: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/ncheck.c:209:25: danger: ‘iw.iarray’ leaks here; was allocated at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def167]
e2fsprogs-1.47.3/debugfs/set_fields.c:742:26: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(sz)’
e2fsprogs-1.47.3/debugfs/set_fields.c:727:18: enter_function: entry to ‘parse_inode_csum’
e2fsprogs-1.47.3/debugfs/set_fields.c:735:29: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/set_fields.c:738:26: call_function: inlined call to ‘ext2fs_get_mem’ from ‘parse_inode_csum’
e2fsprogs-1.47.3/debugfs/set_fields.c:742:26: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/set_fields.c:742:26: throw: if ‘ext2fs_read_inode_full’ throws an exception...
e2fsprogs-1.47.3/debugfs/set_fields.c:742:26: danger: ‘malloc(sz)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def168]
e2fsprogs-1.47.3/debugfs/set_fields.c:1032:42: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)*current_fs.blocksize)’
e2fsprogs-1.47.3/debugfs/set_fields.c:997:6: enter_function: entry to ‘do_set_mmp_value’
e2fsprogs-1.47.3/debugfs/set_fields.c:1012:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/set_fields.c:1015:23: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/set_fields.c:1015:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/set_fields.c:1020:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/set_fields.c:1020:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/set_fields.c:1024:27: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/set_fields.c:1025:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/debugfs/set_fields.c:1026:41: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/set_fields.c:1026:26: call_function: inlined call to ‘ext2fs_get_mem’ from ‘do_set_mmp_value’
e2fsprogs-1.47.3/debugfs/set_fields.c:1032:42: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/set_fields.c:1031:26: throw: if ‘ext2fs_mmp_read’ throws an exception...
e2fsprogs-1.47.3/debugfs/set_fields.c:1032:42: danger: ‘malloc((long unsigned int)*current_fs.blocksize)’ leaks here; was allocated at [(11)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def169]
e2fsprogs-1.47.3/debugfs/xattrs.c:192:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:155:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:156:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:158:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:160:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:160:30: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/xattrs.c:161:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:161:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:184:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:192:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:192:13: throw: if ‘check_fs_open’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:192:13: danger: ‘fp’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def170]
e2fsprogs-1.47.3/debugfs/xattrs.c:192:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:155:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:156:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:158:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:160:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:160:30: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/xattrs.c:161:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:161:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:184:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:192:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:192:13: throw: if ‘check_fs_open’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:192:13: danger: ‘fp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def171]
e2fsprogs-1.47.3/debugfs/xattrs.c:195:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:155:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:156:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:158:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:160:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:160:30: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/xattrs.c:161:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:161:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:184:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:192:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:192:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:195:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:195:15: throw: if ‘string_to_inode’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:195:15: danger: ‘fp’ leaks here; was opened at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def172]
e2fsprogs-1.47.3/debugfs/xattrs.c:195:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:155:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:156:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:158:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:160:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:160:30: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/xattrs.c:161:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:161:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:184:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:192:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:192:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:195:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:195:15: throw: if ‘string_to_inode’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:195:15: danger: ‘fp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def173]
e2fsprogs-1.47.3/debugfs/xattrs.c:199:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:155:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:156:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:158:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:160:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:160:30: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/xattrs.c:161:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:161:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:184:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:192:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:192:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:195:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:196:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:199:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:199:15: throw: if ‘ext2fs_xattrs_open’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:199:15: danger: ‘fp’ leaks here; was opened at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def174]
e2fsprogs-1.47.3/debugfs/xattrs.c:199:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:155:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:156:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:158:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:160:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:160:30: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/xattrs.c:161:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:161:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:184:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:192:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:192:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:195:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:196:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:199:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:199:15: throw: if ‘ext2fs_xattrs_open’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:199:15: danger: ‘fp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def175]
e2fsprogs-1.47.3/debugfs/xattrs.c:203:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:155:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:156:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:158:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:160:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:160:30: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/xattrs.c:161:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:161:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:184:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:192:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:192:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:195:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:196:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:199:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:200:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:203:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:203:15: throw: if ‘ext2fs_xattrs_flags’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:203:15: danger: ‘fp’ leaks here; was opened at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def176]
e2fsprogs-1.47.3/debugfs/xattrs.c:203:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:155:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:156:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:158:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:160:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:160:30: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/xattrs.c:161:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:161:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:184:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:192:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:192:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:195:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:196:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:199:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:200:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:203:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:203:15: throw: if ‘ext2fs_xattrs_flags’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:203:15: danger: ‘fp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def177]
e2fsprogs-1.47.3/debugfs/xattrs.c:207:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:155:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:156:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:158:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:160:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:160:30: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/xattrs.c:161:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:161:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:184:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:192:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:192:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:195:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:196:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:199:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:200:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:203:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:207:15: throw: if ‘ext2fs_xattrs_read’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:207:15: danger: ‘fp’ leaks here; was opened at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def178]
e2fsprogs-1.47.3/debugfs/xattrs.c:207:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:155:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:156:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:158:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:160:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:160:30: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/xattrs.c:161:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:161:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:184:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:192:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:192:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:195:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:196:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:199:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:200:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:203:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:207:15: throw: if ‘ext2fs_xattrs_read’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:207:15: danger: ‘fp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def179]
e2fsprogs-1.47.3/debugfs/xattrs.c:211:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:155:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:156:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:158:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:160:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:160:30: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/xattrs.c:161:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:161:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:184:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:192:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:192:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:195:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:196:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:199:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:200:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:203:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:211:40: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:211:15: throw: if ‘ext2fs_xattr_get’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:211:15: danger: ‘fp’ leaks here; was opened at [(5)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def180]
e2fsprogs-1.47.3/debugfs/xattrs.c:211:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:155:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:156:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:158:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:160:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:160:30: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/xattrs.c:161:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:161:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:184:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:192:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:192:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:195:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:196:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:199:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:200:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:203:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:211:40: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:211:15: throw: if ‘ext2fs_xattr_get’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:211:15: danger: ‘fp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def181]
e2fsprogs-1.47.3/debugfs/xattrs.c:278:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:252:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:253:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:255:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:13: throw: if ‘check_fs_open’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:13: danger: ‘fp’ leaks here; was opened at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def182]
e2fsprogs-1.47.3/debugfs/xattrs.c:278:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:252:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:253:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:255:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:13: throw: if ‘check_fs_open’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:13: danger: ‘fp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def183]
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:252:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:253:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:255:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: throw: if ‘check_fs_read_write’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: danger: ‘fp’ leaks here; was opened at [(5)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def184]
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:252:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:253:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:255:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: throw: if ‘check_fs_read_write’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: danger: ‘fp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def185]
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:252:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:253:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:255:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:280:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: throw: if ‘check_fs_bitmaps’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: danger: ‘fp’ leaks here; was opened at [(5)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def186]
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:252:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:253:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:255:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:280:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: throw: if ‘check_fs_bitmaps’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: danger: ‘fp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def187]
e2fsprogs-1.47.3/debugfs/xattrs.c:285:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:252:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:253:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:255:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:280:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:282:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:285:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:285:15: throw: if ‘string_to_inode’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:285:15: danger: ‘fp’ leaks here; was opened at [(5)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def188]
e2fsprogs-1.47.3/debugfs/xattrs.c:285:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:252:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:253:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:255:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:280:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:282:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:285:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:285:15: throw: if ‘string_to_inode’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:285:15: danger: ‘fp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def189]
e2fsprogs-1.47.3/debugfs/xattrs.c:289:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:252:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:253:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:255:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:280:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:282:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:285:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:286:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:289:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:289:15: throw: if ‘ext2fs_xattrs_open’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:289:15: danger: ‘fp’ leaks here; was opened at [(5)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def190]
e2fsprogs-1.47.3/debugfs/xattrs.c:289:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:252:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:253:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:255:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:280:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:282:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:285:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:286:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:289:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:289:15: throw: if ‘ext2fs_xattrs_open’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:289:15: danger: ‘fp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def191]
e2fsprogs-1.47.3/debugfs/xattrs.c:293:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:252:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:253:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:255:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:280:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:282:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:285:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:286:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:289:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:290:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:293:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:293:15: throw: if ‘ext2fs_xattrs_flags’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:293:15: danger: ‘fp’ leaks here; was opened at [(5)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def192]
e2fsprogs-1.47.3/debugfs/xattrs.c:293:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:252:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:253:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:255:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:280:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:282:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:285:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:286:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:289:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:290:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:293:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:293:15: throw: if ‘ext2fs_xattrs_flags’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:293:15: danger: ‘fp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def193]
e2fsprogs-1.47.3/debugfs/xattrs.c:297:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:252:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:253:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:255:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:280:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:282:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:285:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:286:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:289:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:290:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:293:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:294:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:297:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:297:15: throw: if ‘ext2fs_xattrs_read’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:297:15: danger: ‘fp’ leaks here; was opened at [(5)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def194]
e2fsprogs-1.47.3/debugfs/xattrs.c:297:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:252:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:253:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:255:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:280:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:282:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:285:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:286:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:289:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:290:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:293:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:294:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:297:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:297:15: throw: if ‘ext2fs_xattrs_read’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:297:15: danger: ‘fp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def195]
e2fsprogs-1.47.3/debugfs/xattrs.c:311:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:239:6: enter_function: entry to ‘do_set_xattr’
e2fsprogs-1.47.3/debugfs/xattrs.c:252:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:253:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:255:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:280:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:282:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:285:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:286:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:289:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:290:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:293:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:294:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:297:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:298:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:301:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:301:12: branch_true: following ‘true’ branch (when ‘fp’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:302:48: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:302:23: call_function: inlined call to ‘ext2fs_get_mem’ from ‘do_set_xattr’
e2fsprogs-1.47.3/debugfs/xattrs.c:305:26: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:311:15: throw: if ‘ext2fs_xattr_set’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:311:15: danger: ‘fp’ leaks here; was opened at [(6)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def196]
e2fsprogs-1.47.3/debugfs/xattrs.c:311:15: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/debugfs/xattrs.c:239:6: enter_function: entry to ‘do_set_xattr’
e2fsprogs-1.47.3/debugfs/xattrs.c:252:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:253:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:255:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:280:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:282:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:285:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:286:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:289:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:290:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:293:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:294:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:297:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:298:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:301:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:301:12: branch_true: following ‘true’ branch (when ‘fp’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:302:48: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:302:23: call_function: inlined call to ‘ext2fs_get_mem’ from ‘do_set_xattr’
e2fsprogs-1.47.3/debugfs/xattrs.c:305:26: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:311:15: throw: if ‘ext2fs_xattr_set’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:311:15: danger: ‘buf’ leaks here; was allocated at [(27)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/26)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def197]
e2fsprogs-1.47.3/debugfs/xattrs.c:311:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:239:6: enter_function: entry to ‘do_set_xattr’
e2fsprogs-1.47.3/debugfs/xattrs.c:252:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:253:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:255:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:280:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:282:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:285:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:286:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:289:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:290:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:293:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:294:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:297:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:298:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:301:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:301:12: branch_true: following ‘true’ branch (when ‘fp’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:302:48: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:302:23: call_function: inlined call to ‘ext2fs_get_mem’ from ‘do_set_xattr’
e2fsprogs-1.47.3/debugfs/xattrs.c:305:26: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:311:15: throw: if ‘ext2fs_xattr_set’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:311:15: danger: ‘fp’ leaks here; was allocated at [(6)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def198]
e2fsprogs-1.47.3/debugfs/xattrs.c:313:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:252:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:253:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:255:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:280:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:282:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:285:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:286:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:289:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:290:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:293:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:313:9: throw: if ‘ext2fs_xattrs_close’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:313:9: danger: ‘fp’ leaks here; was opened at [(5)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def199]
e2fsprogs-1.47.3/debugfs/xattrs.c:313:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/debugfs/xattrs.c:239:6: enter_function: entry to ‘do_set_xattr’
e2fsprogs-1.47.3/debugfs/xattrs.c:252:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:253:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:255:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:280:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:282:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:285:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:286:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:289:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:290:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:293:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:294:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:297:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:298:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:301:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:301:12: branch_true: following ‘true’ branch (when ‘fp’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:302:48: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:302:23: call_function: inlined call to ‘ext2fs_get_mem’ from ‘do_set_xattr’
e2fsprogs-1.47.3/debugfs/xattrs.c:305:26: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:313:9: throw: if ‘ext2fs_xattrs_close’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:313:9: danger: ‘buf’ leaks here; was allocated at [(27)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/26)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def200]
e2fsprogs-1.47.3/debugfs/xattrs.c:313:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:252:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:253:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:255:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:280:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:282:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:285:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:286:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:289:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:290:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:293:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:313:9: throw: if ‘ext2fs_xattrs_close’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:313:9: danger: ‘fp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def201]
e2fsprogs-1.47.3/debugfs/xattrs.c:315:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:252:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:253:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:255:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: acquire_resource: opened here
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:280:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:282:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:285:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:286:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:289:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:290:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:293:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:314:12: branch_true: following ‘true’ branch (when ‘err != 0’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:315:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:315:17: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:315:17: danger: ‘fp’ leaks here; was opened at [(5)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def202]
e2fsprogs-1.47.3/debugfs/xattrs.c:315:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/debugfs/xattrs.c:239:6: enter_function: entry to ‘do_set_xattr’
e2fsprogs-1.47.3/debugfs/xattrs.c:252:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:253:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:255:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:280:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:282:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:285:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:286:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:289:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:290:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:293:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:294:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:297:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:298:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:301:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:301:12: branch_true: following ‘true’ branch (when ‘fp’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:302:48: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:302:23: call_function: inlined call to ‘ext2fs_get_mem’ from ‘do_set_xattr’
e2fsprogs-1.47.3/debugfs/xattrs.c:305:26: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:314:12: branch_true: following ‘true’ branch (when ‘err != 0’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:315:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:315:17: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:315:17: danger: ‘buf’ leaks here; was allocated at [(27)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/26)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def203]
e2fsprogs-1.47.3/debugfs/xattrs.c:315:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
e2fsprogs-1.47.3/debugfs/xattrs.c:252:16: branch_true: following ‘true’ branch (when ‘i != -1’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:253:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:255:28: branch_false: following ‘false’ branch (when ‘fp’ is NULL)...
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:257:30: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:258:28: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:271:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:278:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:280:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:280:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:282:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:282:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:285:35: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:286:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:289:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:290:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/xattrs.c:293:15: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:314:12: branch_true: following ‘true’ branch (when ‘err != 0’)...
e2fsprogs-1.47.3/debugfs/xattrs.c:315:17: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/xattrs.c:315:17: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/debugfs/xattrs.c:315:17: danger: ‘fp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def204]
e2fsprogs-1.47.3/debugfs/zap.c:148:19: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/debugfs/zap.c:42:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/zap.c:44:13: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/zap.c:44:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/zap.c:47:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/zap.c:101:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/zap.c:106:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/zap.c:108:12: branch_true: following ‘true’ branch (when ‘length < 0’)...
e2fsprogs-1.47.3/debugfs/zap.c:109:36: branch_true: ...to here
e2fsprogs-1.47.3/debugfs/zap.c:110:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/zap.c:115:21: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/zap.c:115:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/zap.c:124:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/zap.c:125:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/zap.c:128:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/zap.c:128:12: branch_false: following ‘false’ branch (when ‘file’ is NULL)...
e2fsprogs-1.47.3/debugfs/zap.c:142:32: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/zap.c:142:15: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/zap.c:143:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/zap.c:148:19: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/zap.c:148:19: throw: if ‘io_channel_read_blk64’ throws an exception...
e2fsprogs-1.47.3/debugfs/zap.c:148:19: danger: ‘buf’ leaks here; was allocated at [(17)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def205]
e2fsprogs-1.47.3/debugfs/zap.c:232:19: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/debugfs/zap.c:185:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/zap.c:188:9: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/zap.c:202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/zap.c:208:17: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/zap.c:209:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/debugfs/zap.c:212:12: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/zap.c:212:12: branch_false: following ‘false’ branch (when ‘file’ is NULL)...
e2fsprogs-1.47.3/debugfs/zap.c:226:32: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/zap.c:226:15: acquire_memory: allocated here
e2fsprogs-1.47.3/debugfs/zap.c:227:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/debugfs/zap.c:232:19: branch_false: ...to here
e2fsprogs-1.47.3/debugfs/zap.c:232:19: throw: if ‘io_channel_read_blk64’ throws an exception...
e2fsprogs-1.47.3/debugfs/zap.c:232:19: danger: ‘buf’ leaks here; was allocated at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def206]
e2fsprogs-1.47.3/e2fsck/badblocks.c:88:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
e2fsprogs-1.47.3/e2fsck/badblocks.c:44:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/badblocks.c:54:12: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/badblocks.c:54:12: branch_false: following ‘false’ branch (when ‘replace_bad_blocks != 0’)...
e2fsprogs-1.47.3/e2fsck/badblocks.c:68:12: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/badblocks.c:68:12: branch_true: following ‘true’ branch (when ‘bad_blocks_file’ is non-NULL)...
e2fsprogs-1.47.3/e2fsck/badblocks.c:69:21: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/badblocks.c:69:21: acquire_resource: opened here
e2fsprogs-1.47.3/e2fsck/badblocks.c:70:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/badblocks.c:88:18: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/badblocks.c:88:18: throw: if ‘ext2fs_read_bb_FILE’ throws an exception...
e2fsprogs-1.47.3/e2fsck/badblocks.c:88:18: danger: ‘f’ leaks here; was opened at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def207]
e2fsprogs-1.47.3/e2fsck/badblocks.c:88:18: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
e2fsprogs-1.47.3/e2fsck/badblocks.c:44:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/badblocks.c:54:12: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/badblocks.c:54:12: branch_false: following ‘false’ branch (when ‘replace_bad_blocks != 0’)...
e2fsprogs-1.47.3/e2fsck/badblocks.c:68:12: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/badblocks.c:68:12: branch_true: following ‘true’ branch (when ‘bad_blocks_file’ is non-NULL)...
e2fsprogs-1.47.3/e2fsck/badblocks.c:69:21: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/badblocks.c:69:21: acquire_memory: allocated here
e2fsprogs-1.47.3/e2fsck/badblocks.c:70:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/badblocks.c:88:18: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/badblocks.c:88:18: throw: if ‘ext2fs_read_bb_FILE’ throws an exception...
e2fsprogs-1.47.3/e2fsck/badblocks.c:88:18: danger: ‘f’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def208]
e2fsprogs-1.47.3/e2fsck/encrypted_files.c:270:21: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(56)’
e2fsprogs-1.47.3/e2fsck/encrypted_files.c:221:18: enter_function: entry to ‘get_encryption_policy_id’
e2fsprogs-1.47.3/e2fsck/encrypted_files.c:235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/encrypted_files.c:237:12: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/encrypted_files.c:237:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/encrypted_files.c:243:21: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/encrypted_files.c:245:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/encrypted_files.c:225:26: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/encrypted_files.c:267:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘get_encryption_policy_id’
e2fsprogs-1.47.3/e2fsck/encrypted_files.c:270:21: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/encrypted_files.c:270:21: danger: ‘malloc(56)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def209]
e2fsprogs-1.47.3/e2fsck/extents.c:68:18: warning[-Wanalyzer-malloc-leak]: leak of ‘list.extents’
e2fsprogs-1.47.3/e2fsck/extents.c:28:11: enter_function: entry to ‘e2fsck_rebuild_extents_later’
e2fsprogs-1.47.3/e2fsck/extents.c:37:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/e2fsck/extents.c:38:24: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/extents.c:38:24: call_function: calling ‘e2fsck_rebuild_extents’ from ‘e2fsck_rebuild_extents_later’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def210]
e2fsprogs-1.47.3/e2fsck/extents.c:72:18: warning[-Wanalyzer-malloc-leak]: leak of ‘list.extents’
e2fsprogs-1.47.3/e2fsck/extents.c:28:11: enter_function: entry to ‘e2fsck_rebuild_extents_later’
e2fsprogs-1.47.3/e2fsck/extents.c:37:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/e2fsck/extents.c:38:24: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/extents.c:38:24: call_function: calling ‘e2fsck_rebuild_extents’ from ‘e2fsck_rebuild_extents_later’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def211]
e2fsprogs-1.47.3/e2fsck/extents.c:87:25: warning[-Wanalyzer-malloc-leak]: leak of ‘list.extents’
e2fsprogs-1.47.3/e2fsck/extents.c:28:11: enter_function: entry to ‘e2fsck_rebuild_extents_later’
e2fsprogs-1.47.3/e2fsck/extents.c:37:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/e2fsck/extents.c:38:24: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/extents.c:38:24: call_function: calling ‘e2fsck_rebuild_extents’ from ‘e2fsck_rebuild_extents_later’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def212]
e2fsprogs-1.47.3/e2fsck/extents.c:130:26: warning[-Wanalyzer-malloc-leak]: leak of ‘list.extents’
e2fsprogs-1.47.3/e2fsck/extents.c:28:11: enter_function: entry to ‘e2fsck_rebuild_extents_later’
e2fsprogs-1.47.3/e2fsck/extents.c:37:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/e2fsck/extents.c:38:24: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/extents.c:38:24: call_function: calling ‘e2fsck_rebuild_extents’ from ‘e2fsck_rebuild_extents_later’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def213]
e2fsprogs-1.47.3/e2fsck/extents.c:359:9: warning[-Wanalyzer-malloc-leak]: leak of ‘list.extents’
e2fsprogs-1.47.3/e2fsck/extents.c:28:11: enter_function: entry to ‘e2fsck_rebuild_extents_later’
e2fsprogs-1.47.3/e2fsck/extents.c:37:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/e2fsck/extents.c:38:24: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/extents.c:38:24: call_function: calling ‘e2fsck_rebuild_extents’ from ‘e2fsck_rebuild_extents_later’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def214]
e2fsprogs-1.47.3/e2fsck/extents.c:444:25: warning[-Wanalyzer-malloc-leak]: leak of ‘list.extents’
e2fsprogs-1.47.3/e2fsck/extents.c:620:6: enter_function: entry to ‘e2fsck_pass1e’
e2fsprogs-1.47.3/e2fsck/extents.c:622:9: call_function: calling ‘rebuild_extents’ from ‘e2fsck_pass1e’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def215]
e2fsprogs-1.47.3/e2fsck/extents.c:458:9: warning[-Wanalyzer-malloc-leak]: leak of ‘list.extents’
e2fsprogs-1.47.3/e2fsck/extents.c:620:6: enter_function: entry to ‘e2fsck_pass1e’
e2fsprogs-1.47.3/e2fsck/extents.c:622:9: call_function: calling ‘rebuild_extents’ from ‘e2fsck_pass1e’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def216]
e2fsprogs-1.47.3/e2fsck/extents.c:460:9: warning[-Wanalyzer-malloc-leak]: leak of ‘list.extents’
e2fsprogs-1.47.3/e2fsck/extents.c:620:6: enter_function: entry to ‘e2fsck_pass1e’
e2fsprogs-1.47.3/e2fsck/extents.c:622:9: call_function: calling ‘rebuild_extents’ from ‘e2fsck_pass1e’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def217]
e2fsprogs-1.47.3/e2fsck/journal.c:604:13: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)inode_len)’
e2fsprogs-1.47.3/e2fsck/journal.c:860:12: enter_function: entry to ‘ext4_fc_replay’
e2fsprogs-1.47.3/e2fsck/journal.c:869:12: branch_false: following ‘false’ branch (when ‘pass != 0’)...
e2fsprogs-1.47.3/e2fsck/journal.c:874:13: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/journal.c:874:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/journal.c:877:13: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/journal.c:903:27: branch_true: following ‘true’ branch (when ‘cur < end’)...
e2fsprogs-1.47.3/e2fsck/journal.c:904:17: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/journal.c:907:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/journal.c:911:17: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/journal.c:927:31: call_function: calling ‘ext4_fc_handle_inode’ from ‘ext4_fc_replay’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def218]
e2fsprogs-1.47.3/e2fsck/logfile.c:62:9: warning[-Wanalyzer-null-argument]: use of NULL ‘s.s’ where non-null expected
e2fsprogs-1.47.3/e2fsck/logfile.c:352:6: enter_function: entry to ‘set_up_logging’
e2fsprogs-1.47.3/e2fsck/logfile.c:354:21: call_function: calling ‘set_up_log_file’ from ‘set_up_logging’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def219]
e2fsprogs-1.47.3/e2fsck/logfile.c:141:17: warning[-Wanalyzer-malloc-leak]: leak of ‘s.s’
e2fsprogs-1.47.3/e2fsck/logfile.c:352:6: enter_function: entry to ‘set_up_logging’
e2fsprogs-1.47.3/e2fsck/logfile.c:354:21: call_function: calling ‘set_up_log_file’ from ‘set_up_logging’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def220]
e2fsprogs-1.47.3/e2fsck/logfile.c:317:53: warning[-Wanalyzer-null-argument]: use of NULL ‘s.s’ where non-null expected
e2fsprogs-1.47.3/e2fsck/logfile.c:352:6: enter_function: entry to ‘set_up_logging’
e2fsprogs-1.47.3/e2fsck/logfile.c:354:21: call_function: calling ‘set_up_log_file’ from ‘set_up_logging’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def221]
e2fsprogs-1.47.3/e2fsck/logfile.c:317:53: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*s.s’
e2fsprogs-1.47.3/e2fsck/logfile.c:352:6: enter_function: entry to ‘set_up_logging’
e2fsprogs-1.47.3/e2fsck/logfile.c:354:21: call_function: calling ‘set_up_log_file’ from ‘set_up_logging’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def222]
e2fsprogs-1.47.3/e2fsck/pass1.c:2695:38: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘entry_quota_blocks’
e2fsprogs-1.47.3/e2fsck/pass1.c:2506:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass1.c:2516:14: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass1.c:2516:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass1.c:2517:20: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass1.c:2516:13: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass1.c:2518:21: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass1.c:2516:13: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass1.c:2524:14: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass1.c:2554:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass1.c:2590:9: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass1.c:2622:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass1.c:2627:13: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass1.c:2635:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/e2fsck/pass1.c:2638:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass1.c:2644:22: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass1.c:2692:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/e2fsck/pass1.c:2692:40: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/pass1.c:2692:29: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass1.c:2695:38: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass1.c:2695:38: danger: use of uninitialized value ‘entry_quota_blocks’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def223]
e2fsprogs-1.47.3/e2fsck/pass1.c:4209:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/e2fsck/pass1.c:4148:13: enter_function: entry to ‘new_table_block’
e2fsprogs-1.47.3/e2fsck/pass1.c:4192:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass1.c:4199:39: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass1.c:4199:24: call_function: inlined call to ‘ext2fs_get_mem’ from ‘new_table_block’
e2fsprogs-1.47.3/e2fsck/pass1.c:4200:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass1.c:4206:9: call_function: inlined call to ‘ext2fs_mark_super_dirty’ from ‘new_table_block’
e2fsprogs-1.47.3/e2fsck/pass1.c:4209:9: throw: if ‘fix_problem’ throws an exception...
e2fsprogs-1.47.3/e2fsck/pass1.c:4209:9: danger: ‘buf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def224]
e2fsprogs-1.47.3/e2fsck/pass1.c:4216:40: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/e2fsck/pass1.c:4148:13: enter_function: entry to ‘new_table_block’
e2fsprogs-1.47.3/e2fsck/pass1.c:4192:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass1.c:4199:39: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass1.c:4199:24: call_function: inlined call to ‘ext2fs_get_mem’ from ‘new_table_block’
e2fsprogs-1.47.3/e2fsck/pass1.c:4200:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass1.c:4206:9: call_function: inlined call to ‘ext2fs_mark_super_dirty’ from ‘new_table_block’
e2fsprogs-1.47.3/e2fsck/pass1.c:4212:21: branch_true: following ‘true’ branch (when ‘i < num’)...
e2fsprogs-1.47.3/e2fsck/pass1.c:4213:17: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/pass1.c:4215:20: branch_true: following ‘true’ branch (when ‘old_block != 0’)...
e2fsprogs-1.47.3/e2fsck/pass1.c:4217:36: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/pass1.c:4216:40: throw: if ‘io_channel_read_blk64’ throws an exception...
e2fsprogs-1.47.3/e2fsck/pass1.c:4216:40: danger: ‘buf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def225]
e2fsprogs-1.47.3/e2fsck/pass1.c:4225:40: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/e2fsck/pass1.c:4148:13: enter_function: entry to ‘new_table_block’
e2fsprogs-1.47.3/e2fsck/pass1.c:4192:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass1.c:4199:39: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass1.c:4199:24: call_function: inlined call to ‘ext2fs_get_mem’ from ‘new_table_block’
e2fsprogs-1.47.3/e2fsck/pass1.c:4200:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass1.c:4206:9: call_function: inlined call to ‘ext2fs_mark_super_dirty’ from ‘new_table_block’
e2fsprogs-1.47.3/e2fsck/pass1.c:4212:21: branch_true: following ‘true’ branch (when ‘i < num’)...
e2fsprogs-1.47.3/e2fsck/pass1.c:4213:17: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/pass1.c:4215:20: branch_false: following ‘false’ branch (when ‘old_block == 0’)...
e2fsprogs-1.47.3/e2fsck/pass1.c:4224:36: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass1.c:4225:40: throw: if ‘ext2fs_zero_blocks2’ throws an exception...
e2fsprogs-1.47.3/e2fsck/pass1.c:4225:40: danger: ‘buf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def226]
e2fsprogs-1.47.3/e2fsck/pass1.c:4230:25: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/e2fsck/pass1.c:4148:13: enter_function: entry to ‘new_table_block’
e2fsprogs-1.47.3/e2fsck/pass1.c:4192:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass1.c:4199:39: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass1.c:4199:24: call_function: inlined call to ‘ext2fs_get_mem’ from ‘new_table_block’
e2fsprogs-1.47.3/e2fsck/pass1.c:4200:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass1.c:4206:9: call_function: inlined call to ‘ext2fs_mark_super_dirty’ from ‘new_table_block’
e2fsprogs-1.47.3/e2fsck/pass1.c:4212:21: branch_true: following ‘true’ branch (when ‘i < num’)...
e2fsprogs-1.47.3/e2fsck/pass1.c:4213:17: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/pass1.c:4215:20: branch_false: following ‘false’ branch (when ‘old_block == 0’)...
e2fsprogs-1.47.3/e2fsck/pass1.c:4224:36: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass1.c:4229:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/e2fsck/pass1.c:4230:25: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/pass1.c:4230:25: throw: if ‘fix_problem’ throws an exception...
e2fsprogs-1.47.3/e2fsck/pass1.c:4230:25: danger: ‘buf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def227]
e2fsprogs-1.47.3/e2fsck/pass1b.c:946:13: warning[-Wanalyzer-malloc-leak]: leak of ‘cs.buf’
e2fsprogs-1.47.3/e2fsck/pass1b.c:914:18: enter_function: entry to ‘clone_file’
e2fsprogs-1.47.3/e2fsck/pass1b.c:937:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘clone_file’
e2fsprogs-1.47.3/e2fsck/pass1b.c:946:13: throw: if ‘ext2fs_inode_has_valid_blocks2’ throws an exception...
e2fsprogs-1.47.3/e2fsck/pass1b.c:946:13: danger: ‘cs.buf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def228]
e2fsprogs-1.47.3/e2fsck/pass1b.c:947:32: warning[-Wanalyzer-malloc-leak]: leak of ‘cs.buf’
e2fsprogs-1.47.3/e2fsck/pass1b.c:914:18: enter_function: entry to ‘clone_file’
e2fsprogs-1.47.3/e2fsck/pass1b.c:937:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘clone_file’
e2fsprogs-1.47.3/e2fsck/pass1b.c:946:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/e2fsck/pass1b.c:947:32: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/pass1b.c:947:32: throw: if ‘ext2fs_block_iterate3’ throws an exception...
e2fsprogs-1.47.3/e2fsck/pass1b.c:947:32: danger: ‘cs.buf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def229]
e2fsprogs-1.47.3/e2fsck/pass2.c:1268:27: warning[-Wanalyzer-deref-before-check]: check of ‘dx_db’ for NULL after already dereferencing it
e2fsprogs-1.47.3/e2fsck/pass2.c:1089:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass2.c:1092:13: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass2.c:1107:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass2.c:1110:9: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass2.c:1134:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass2.c:1140:13: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass2.c:1218:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/e2fsck/pass2.c:1219:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass2.c:1230:26: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass2.c:1268:27: danger: pointer ‘dx_db’ is checked for NULL here but it was already dereferenced at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def230]
e2fsprogs-1.47.3/e2fsck/pass5.c:106:9: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)*ctx_26(D)->fs.blocksize)’
e2fsprogs-1.47.3/e2fsck/pass5.c:82:13: enter_function: entry to ‘check_inode_bitmap_checksum’
e2fsprogs-1.47.3/e2fsck/pass5.c:91:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass5.c:95:13: call_function: inlined call to ‘ext2fs_test_ib_dirty’ from ‘check_inode_bitmap_checksum’
e2fsprogs-1.47.3/e2fsck/pass5.c:95:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass5.c:98:27: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass5.c:99:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘check_inode_bitmap_checksum’
e2fsprogs-1.47.3/e2fsck/pass5.c:106:9: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass5.c:106:9: throw: if ‘clear_problem_context’ throws an exception...
e2fsprogs-1.47.3/e2fsck/pass5.c:106:9: danger: ‘malloc((long unsigned int)*ctx_26(D)->fs.blocksize)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def231]
e2fsprogs-1.47.3/e2fsck/pass5.c:107:25: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)*ctx_26(D)->fs.blocksize)’
e2fsprogs-1.47.3/e2fsck/pass5.c:82:13: enter_function: entry to ‘check_inode_bitmap_checksum’
e2fsprogs-1.47.3/e2fsck/pass5.c:91:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass5.c:95:13: call_function: inlined call to ‘ext2fs_test_ib_dirty’ from ‘check_inode_bitmap_checksum’
e2fsprogs-1.47.3/e2fsck/pass5.c:95:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass5.c:98:27: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass5.c:99:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘check_inode_bitmap_checksum’
e2fsprogs-1.47.3/e2fsck/pass5.c:106:9: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass5.c:107:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/e2fsck/pass5.c:108:21: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/pass5.c:108:21: throw: if ‘ext2fs_bg_flags_test’ throws an exception...
e2fsprogs-1.47.3/e2fsck/pass5.c:107:25: danger: ‘malloc((long unsigned int)*ctx_26(D)->fs.blocksize)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def232]
e2fsprogs-1.47.3/e2fsck/pass5.c:160:9: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)*ctx_30(D)->fs.blocksize)’
e2fsprogs-1.47.3/e2fsck/pass5.c:136:13: enter_function: entry to ‘check_block_bitmap_checksum’
e2fsprogs-1.47.3/e2fsck/pass5.c:145:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass5.c:149:13: call_function: inlined call to ‘ext2fs_test_bb_dirty’ from ‘check_block_bitmap_checksum’
e2fsprogs-1.47.3/e2fsck/pass5.c:149:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass5.c:152:27: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass5.c:153:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘check_block_bitmap_checksum’
e2fsprogs-1.47.3/e2fsck/pass5.c:160:9: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass5.c:160:9: throw: if ‘clear_problem_context’ throws an exception...
e2fsprogs-1.47.3/e2fsck/pass5.c:160:9: danger: ‘malloc((long unsigned int)*ctx_30(D)->fs.blocksize)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def233]
e2fsprogs-1.47.3/e2fsck/pass5.c:161:25: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)*ctx_30(D)->fs.blocksize)’
e2fsprogs-1.47.3/e2fsck/pass5.c:136:13: enter_function: entry to ‘check_block_bitmap_checksum’
e2fsprogs-1.47.3/e2fsck/pass5.c:145:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass5.c:149:13: call_function: inlined call to ‘ext2fs_test_bb_dirty’ from ‘check_block_bitmap_checksum’
e2fsprogs-1.47.3/e2fsck/pass5.c:149:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass5.c:152:27: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass5.c:153:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘check_block_bitmap_checksum’
e2fsprogs-1.47.3/e2fsck/pass5.c:160:9: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass5.c:161:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/e2fsck/pass5.c:162:21: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/pass5.c:162:21: throw: if ‘ext2fs_bg_flags_test’ throws an exception...
e2fsprogs-1.47.3/e2fsck/pass5.c:161:25: danger: ‘malloc((long unsigned int)*ctx_30(D)->fs.blocksize)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/7)
Error: CPPCHECK_WARNING (CWE-476): [#def234]
e2fsprogs-1.47.3/e2fsck/rehash.c:826: warning[nullPointer]: Possible null pointer dereference: limit
Error: GCC_ANALYZER_WARNING (CWE-476): [#def235]
e2fsprogs-1.47.3/e2fsck/rehash.c:826:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘limit’
e2fsprogs-1.47.3/e2fsck/rehash.c:772:18: enter_function: entry to ‘calculate_tree’
e2fsprogs-1.47.3/e2fsck/rehash.c:793:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/rehash.c:804:33: call_function: inlined call to ‘ext2fs_htree_intnode_maxrecs’ from ‘calculate_tree’
e2fsprogs-1.47.3/e2fsck/rehash.c:804:19: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/e2fsck/rehash.c:805:17: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/rehash.c:806:17: release_memory: ‘limit’ is NULL
e2fsprogs-1.47.3/e2fsck/rehash.c:808:27: branch_false: following ‘false’ branch (when ‘i >= nblks’)...
e2fsprogs-1.47.3/e2fsck/rehash.c:826:32: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/rehash.c:826:32: release_memory: ‘limit’ is NULL
e2fsprogs-1.47.3/e2fsck/rehash.c:826:32: danger: dereference of NULL ‘limit’
Error: CPPCHECK_WARNING (CWE-476): [#def236]
e2fsprogs-1.47.3/e2fsck/rehash.c:827: warning[nullPointer]: Possible null pointer dereference: limit
Error: CPPCHECK_WARNING (CWE-476): [#def237]
e2fsprogs-1.47.3/e2fsck/rehash.c:869: warning[nullPointer]: Possible null pointer dereference: int_limit
Error: CPPCHECK_WARNING (CWE-476): [#def238]
e2fsprogs-1.47.3/e2fsck/rehash.c:869: warning[nullPointer]: Possible null pointer dereference: limit
Error: CPPCHECK_WARNING (CWE-476): [#def239]
e2fsprogs-1.47.3/e2fsck/rehash.c:870: warning[nullPointer]: Possible null pointer dereference: int_limit
Error: CPPCHECK_WARNING (CWE-476): [#def240]
e2fsprogs-1.47.3/e2fsck/rehash.c:870: warning[nullPointer]: Possible null pointer dereference: limit
Error: CPPCHECK_WARNING (CWE-476): [#def241]
e2fsprogs-1.47.3/e2fsck/rehash.c:872: warning[nullPointer]: Possible null pointer dereference: limit
Error: CPPCHECK_WARNING (CWE-476): [#def242]
e2fsprogs-1.47.3/e2fsck/rehash.c:873: warning[nullPointer]: Possible null pointer dereference: limit
Error: GCC_ANALYZER_WARNING (CWE-401): [#def243]
e2fsprogs-1.47.3/e2fsck/rehash.c:1034:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fd.buf’
e2fsprogs-1.47.3/e2fsck/rehash.c:985:11: enter_function: entry to ‘e2fsck_rehash_dir’
e2fsprogs-1.47.3/e2fsck/rehash.c:1007:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘e2fsck_rehash_dir’
e2fsprogs-1.47.3/e2fsck/rehash.c:1011:24: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/rehash.c:1012:18: call_function: calling ‘ext2fs_get_array’ from ‘e2fsck_rehash_dir’
e2fsprogs-1.47.3/e2fsck/rehash.c:1012:18: return_function: returning to ‘e2fsck_rehash_dir’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/e2fsck/rehash.c:1014:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/rehash.c:1017:9: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/rehash.c:1034:18: throw: if ‘ext2fs_block_iterate3’ throws an exception...
e2fsprogs-1.47.3/e2fsck/rehash.c:1034:18: danger: ‘fd.buf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def244]
e2fsprogs-1.47.3/e2fsck/rehash.c:1034:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fd.harray’
e2fsprogs-1.47.3/e2fsck/rehash.c:985:11: enter_function: entry to ‘e2fsck_rehash_dir’
e2fsprogs-1.47.3/e2fsck/rehash.c:1007:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘e2fsck_rehash_dir’
e2fsprogs-1.47.3/e2fsck/rehash.c:1011:24: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/rehash.c:1012:18: call_function: calling ‘ext2fs_get_array’ from ‘e2fsck_rehash_dir’
e2fsprogs-1.47.3/e2fsck/rehash.c:1012:18: return_function: returning to ‘e2fsck_rehash_dir’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/e2fsck/rehash.c:1014:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/rehash.c:1017:9: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/rehash.c:1034:18: throw: if ‘ext2fs_block_iterate3’ throws an exception...
e2fsprogs-1.47.3/e2fsck/rehash.c:1034:18: danger: ‘fd.harray’ leaks here; was allocated at [(12)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def245]
e2fsprogs-1.47.3/e2fsck/rehash.c:1170:30: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘iter’
e2fsprogs-1.47.3/e2fsck/rehash.c:1150:12: branch_true: following ‘true’ branch (when ‘all_dirs != 0’)...
e2fsprogs-1.47.3/e2fsck/rehash.c:1151:32: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/rehash.c:1164:20: branch_false: following ‘false’ branch (when ‘all_dirs == 0’)...
e2fsprogs-1.47.3/e2fsck/rehash.c:1170:30: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/rehash.c:1170:30: danger: use of uninitialized value ‘iter’ here
Error: CPPCHECK_WARNING (CWE-476): [#def246]
e2fsprogs-1.47.3/e2fsck/unix.c:82: error[ctunullpointer]: Null pointer dereference: ctx
Error: CPPCHECK_WARNING (CWE-476): [#def247]
e2fsprogs-1.47.3/e2fsck/unix.c:82: warning[nullPointer]: Possible null pointer dereference: ctx
Error: GCC_ANALYZER_WARNING (CWE-476): [#def248]
e2fsprogs-1.47.3/e2fsck/unix.c:82:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ctx’
e2fsprogs-1.47.3/e2fsck/unix.c:816:18: enter_function: entry to ‘PRS’
e2fsprogs-1.47.3/e2fsck/unix.c:837:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/unix.c:840:9: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/unix.c:860:17: call_function: calling ‘usage’ from ‘PRS’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def249]
e2fsprogs-1.47.3/e2fsck/unix.c:315:28: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("/proc/acpi/ac_adapter")’
e2fsprogs-1.47.3/e2fsck/unix.c:307:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/unix.c:313:13: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/unix.c:313:13: acquire_memory: allocated here
e2fsprogs-1.47.3/e2fsck/unix.c:314:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/e2fsck/unix.c:314:12: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/unix.c:315:28: throw: if ‘readdir’ throws an exception...
e2fsprogs-1.47.3/e2fsck/unix.c:315:28: danger: ‘opendir("/proc/acpi/ac_adapter")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def250]
e2fsprogs-1.47.3/e2fsck/unix.c:626:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
e2fsprogs-1.47.3/e2fsck/unix.c:625:16: branch_true: following ‘true’ branch (when ‘fd <= 2’)...
e2fsprogs-1.47.3/e2fsck/unix.c:626:22: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/unix.c:626:22: acquire_resource: opened here
e2fsprogs-1.47.3/e2fsck/unix.c:627:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/unix.c:627:20: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/unix.c:625:16: branch_true: following ‘true’ branch (when ‘fd <= 2’)...
e2fsprogs-1.47.3/e2fsck/unix.c:626:22: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/unix.c:626:22: throw: if ‘open’ throws an exception...
e2fsprogs-1.47.3/e2fsck/unix.c:626:22: danger: ‘open("/dev/null", 2)’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def251]
e2fsprogs-1.47.3/e2fsck/unix.c:634:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
e2fsprogs-1.47.3/e2fsck/unix.c:625:16: branch_true: following ‘true’ branch (when ‘fd <= 2’)...
e2fsprogs-1.47.3/e2fsck/unix.c:626:22: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/unix.c:626:22: acquire_resource: opened here
e2fsprogs-1.47.3/e2fsck/unix.c:627:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/unix.c:627:20: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/unix.c:634:16: throw: if ‘close’ throws an exception...
e2fsprogs-1.47.3/e2fsck/unix.c:634:16: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def252]
e2fsprogs-1.47.3/e2fsck/unix.c:888:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
e2fsprogs-1.47.3/e2fsck/unix.c:837:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/unix.c:840:9: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/unix.c:857:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/e2fsck/unix.c:864:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/e2fsck/unix.c:865:17: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/unix.c:869:28: branch_false: following ‘false’ branch (when ‘res == 1’)...
e2fsprogs-1.47.3/e2fsck/unix.c:872:32: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/unix.c:876:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/unix.c:879:30: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/unix.c:879:30: acquire_resource: opened here
e2fsprogs-1.47.3/e2fsck/unix.c:880:28: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
e2fsprogs-1.47.3/e2fsck/unix.c:888:33: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/unix.c:888:33: throw: if ‘close’ throws an exception...
e2fsprogs-1.47.3/e2fsck/unix.c:888:33: danger: ‘fd’ leaks here; was opened at [(11)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def253]
e2fsprogs-1.47.3/e2fsck/unix.c:1369:17: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb_file’
e2fsprogs-1.47.3/e2fsck/unix.c:1348:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/unix.c:1356:12: branch_false: following ‘false’ branch (when ‘tmp_name’ is non-NULL)...
e2fsprogs-1.47.3/e2fsck/unix.c:1358:20: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/unix.c:1359:20: acquire_memory: allocated here
e2fsprogs-1.47.3/e2fsck/unix.c:1360:12: branch_false: following ‘false’ branch (when ‘tdb_file’ is non-NULL)...
e2fsprogs-1.47.3/e2fsck/unix.c:1364:9: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/unix.c:1367:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/e2fsck/unix.c:1369:17: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/e2fsck/unix.c:1369:17: danger: ‘tdb_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def254]
e2fsprogs-1.47.3/e2fsck/unix.c:1374:18: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb_file’
e2fsprogs-1.47.3/e2fsck/unix.c:1348:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/unix.c:1356:12: branch_false: following ‘false’ branch (when ‘tmp_name’ is non-NULL)...
e2fsprogs-1.47.3/e2fsck/unix.c:1358:20: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/unix.c:1359:20: acquire_memory: allocated here
e2fsprogs-1.47.3/e2fsck/unix.c:1360:12: branch_false: following ‘false’ branch (when ‘tdb_file’ is non-NULL)...
e2fsprogs-1.47.3/e2fsck/unix.c:1364:9: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/unix.c:1374:18: throw: if ‘set_undo_io_backing_manager’ throws an exception...
e2fsprogs-1.47.3/e2fsck/unix.c:1374:18: danger: ‘tdb_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def255]
e2fsprogs-1.47.3/e2fsck/unix.c:1378:18: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb_file’
e2fsprogs-1.47.3/e2fsck/unix.c:1348:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/unix.c:1356:12: branch_false: following ‘false’ branch (when ‘tmp_name’ is non-NULL)...
e2fsprogs-1.47.3/e2fsck/unix.c:1358:20: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/unix.c:1359:20: acquire_memory: allocated here
e2fsprogs-1.47.3/e2fsck/unix.c:1360:12: branch_false: following ‘false’ branch (when ‘tdb_file’ is non-NULL)...
e2fsprogs-1.47.3/e2fsck/unix.c:1364:9: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/unix.c:1375:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/unix.c:1377:9: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/unix.c:1378:18: throw: if ‘set_undo_io_backup_file’ throws an exception...
e2fsprogs-1.47.3/e2fsck/unix.c:1378:18: danger: ‘tdb_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def256]
e2fsprogs-1.47.3/e2fsck/util.c:595:27: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(1024)’
e2fsprogs-1.47.3/e2fsck/util.c:557:9: enter_function: entry to ‘get_backup_sb’
e2fsprogs-1.47.3/e2fsck/util.c:579:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/util.c:582:13: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/util.c:582:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/util.c:585:13: call_function: inlined call to ‘ext2fs_get_mem’ from ‘get_backup_sb’
e2fsprogs-1.47.3/e2fsck/util.c:589:16: branch_true: following ‘true’ branch (when ‘blocksize <= 65536’)...
e2fsprogs-1.47.3/e2fsck/util.c:590:29: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/util.c:592:34: branch_true: following ‘true’ branch (when ‘bpg == 0’)...
e2fsprogs-1.47.3/e2fsck/util.c:592:23: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/util.c:595:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/e2fsck/util.c:596:33: throw: if ‘ext2fs_blocks_count’ throws an exception...
e2fsprogs-1.47.3/e2fsck/util.c:595:27: danger: ‘malloc(1024)’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def257]
e2fsprogs-1.47.3/e2fsck/util.c:597:35: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(1024)’
e2fsprogs-1.47.3/e2fsck/util.c:557:9: enter_function: entry to ‘get_backup_sb’
e2fsprogs-1.47.3/e2fsck/util.c:579:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/util.c:582:13: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/util.c:582:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/util.c:585:13: call_function: inlined call to ‘ext2fs_get_mem’ from ‘get_backup_sb’
e2fsprogs-1.47.3/e2fsck/util.c:589:16: branch_true: following ‘true’ branch (when ‘blocksize <= 65536’)...
e2fsprogs-1.47.3/e2fsck/util.c:590:29: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/util.c:597:27: branch_true: following ‘true’ branch (when ‘ctx’ is non-NULL)...
e2fsprogs-1.47.3/e2fsck/util.c:597:35: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/util.c:597:35: throw: if ‘ext2fs_get_device_size2’ throws an exception...
e2fsprogs-1.47.3/e2fsck/util.c:597:35: danger: ‘malloc(1024)’ leaks here; was allocated at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def258]
e2fsprogs-1.47.3/e2fsck/util.c:609:17: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(1024)’
e2fsprogs-1.47.3/e2fsck/util.c:557:9: enter_function: entry to ‘get_backup_sb’
e2fsprogs-1.47.3/e2fsck/util.c:579:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/util.c:582:13: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/util.c:582:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/util.c:585:13: call_function: inlined call to ‘ext2fs_get_mem’ from ‘get_backup_sb’
e2fsprogs-1.47.3/e2fsck/util.c:589:16: branch_true: following ‘true’ branch (when ‘blocksize <= 65536’)...
e2fsprogs-1.47.3/e2fsck/util.c:590:29: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/util.c:609:17: throw: if the called function throws an exception...
e2fsprogs-1.47.3/e2fsck/util.c:609:17: danger: ‘malloc(1024)’ leaks here; was allocated at [(7)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def259]
e2fsprogs-1.47.3/e2fsck/util.c:641:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/e2fsck/util.c:557:9: enter_function: entry to ‘get_backup_sb’
e2fsprogs-1.47.3/e2fsck/util.c:579:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/util.c:582:13: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/util.c:582:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/util.c:585:13: call_function: inlined call to ‘ext2fs_get_mem’ from ‘get_backup_sb’
e2fsprogs-1.47.3/e2fsck/util.c:640:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/e2fsck/util.c:641:17: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/util.c:641:17: throw: if the called function throws an exception...
e2fsprogs-1.47.3/e2fsck/util.c:641:17: danger: ‘buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def260]
e2fsprogs-1.47.3/lib/e2p/iod.c:58:15: warning[-Wanalyzer-malloc-leak]: leak of ‘de’
e2fsprogs-1.47.3/lib/e2p/iod.c:53:14: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/e2p/iod.c:54:12: branch_false: following ‘false’ branch (when ‘de’ is non-NULL)...
e2fsprogs-1.47.3/lib/e2p/iod.c:56:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/e2p/iod.c:58:15: throw: if ‘opendir’ throws an exception...
e2fsprogs-1.47.3/lib/e2p/iod.c:58:15: danger: ‘de’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def261]
e2fsprogs-1.47.3/lib/e2p/iod.c:63:23: warning[-Wanalyzer-malloc-leak]: leak of ‘de’
e2fsprogs-1.47.3/lib/e2p/iod.c:53:14: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/e2p/iod.c:54:12: branch_false: following ‘false’ branch (when ‘de’ is non-NULL)...
e2fsprogs-1.47.3/lib/e2p/iod.c:56:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/e2p/iod.c:59:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/e2p/iod.c:59:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/e2p/iod.c:63:23: throw: if ‘readdir’ throws an exception...
e2fsprogs-1.47.3/lib/e2p/iod.c:63:23: danger: ‘de’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def262]
e2fsprogs-1.47.3/lib/e2p/iod.c:63:23: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(dir_name)’
e2fsprogs-1.47.3/lib/e2p/iod.c:54:12: branch_false: following ‘false’ branch (when ‘de’ is non-NULL)...
e2fsprogs-1.47.3/lib/e2p/iod.c:56:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/e2p/iod.c:58:15: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/e2p/iod.c:59:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/e2p/iod.c:59:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/e2p/iod.c:63:23: throw: if ‘readdir’ throws an exception...
e2fsprogs-1.47.3/lib/e2p/iod.c:63:23: danger: ‘opendir(dir_name)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def263]
e2fsprogs-1.47.3/lib/e2p/iod.c:72:21: warning[-Wanalyzer-malloc-leak]: leak of ‘de’
e2fsprogs-1.47.3/lib/e2p/iod.c:53:14: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/e2p/iod.c:54:12: branch_false: following ‘false’ branch (when ‘de’ is non-NULL)...
e2fsprogs-1.47.3/lib/e2p/iod.c:56:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/e2p/iod.c:59:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/e2p/iod.c:59:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/e2p/iod.c:63:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/e2p/iod.c:65:23: branch_true: ...to here
e2fsprogs-1.47.3/lib/e2p/iod.c:72:21: throw: if the called function throws an exception...
e2fsprogs-1.47.3/lib/e2p/iod.c:72:21: danger: ‘de’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def264]
e2fsprogs-1.47.3/lib/et/com_err.c:73:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
e2fsprogs-1.47.3/lib/et/com_err.c:76:6: enter_function: entry to ‘com_err’
e2fsprogs-1.47.3/lib/et/com_err.c:84:5: acquire_resource: ‘va_start’ called here
e2fsprogs-1.47.3/lib/et/com_err.c:85:5: call_function: inlined call to ‘com_err_va’ from ‘com_err’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def265]
e2fsprogs-1.47.3/lib/et/init_et.c:53:1: warning[-Wanalyzer-malloc-leak]: leak of ‘new_et’
e2fsprogs-1.47.3/lib/et/init_et.c:39:8: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/et/init_et.c:42:32: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/et/init_et.c:43:8: branch_false: following ‘false’ branch (when ‘new_et’ is non-NULL)...
e2fsprogs-1.47.3/lib/et/init_et.c:45:25: branch_false: ...to here
e2fsprogs-1.47.3/lib/et/init_et.c:53:1: danger: ‘new_et’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def266]
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:85:18: warning[-Wanalyzer-malloc-leak]: leak of ‘rec.block_buf’
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:57:11: enter_function: entry to ‘ext2fs_update_bb_inode’
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:64:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:66:14: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:66:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:69:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:71:18: call_function: calling ‘ext2fs_get_array’ from ‘ext2fs_update_bb_inode’
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:71:18: return_function: returning to ‘ext2fs_update_bb_inode’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:73:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:75:16: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:76:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_update_bb_inode’
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:85:18: throw: if ‘ext2fs_block_iterate2’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:85:18: danger: ‘rec.block_buf’ leaks here; was allocated at [(19)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def267]
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:85:18: warning[-Wanalyzer-malloc-leak]: leak of ‘rec.ind_blocks’
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:57:11: enter_function: entry to ‘ext2fs_update_bb_inode’
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:64:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:66:14: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:66:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:69:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:71:18: call_function: calling ‘ext2fs_get_array’ from ‘ext2fs_update_bb_inode’
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:71:18: return_function: returning to ‘ext2fs_update_bb_inode’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:73:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:75:16: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:76:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_update_bb_inode’
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:85:18: throw: if ‘ext2fs_block_iterate2’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/bb_inode.c:85:18: danger: ‘rec.ind_blocks’ leaks here; was allocated at [(13)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def268]
e2fsprogs-1.47.3/lib/ext2fs/bitops.h:420:16: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/e2fsck/pass1.c:4148:13: enter_function: entry to ‘new_table_block’
e2fsprogs-1.47.3/e2fsck/pass1.c:4192:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass1.c:4199:39: branch_false: ...to here
e2fsprogs-1.47.3/e2fsck/pass1.c:4199:24: call_function: inlined call to ‘ext2fs_get_mem’ from ‘new_table_block’
e2fsprogs-1.47.3/e2fsck/pass1.c:4200:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/pass1.c:4206:9: call_function: inlined call to ‘ext2fs_mark_super_dirty’ from ‘new_table_block’
e2fsprogs-1.47.3/e2fsck/pass1.c:4212:21: branch_true: following ‘true’ branch (when ‘i < num’)...
e2fsprogs-1.47.3/e2fsck/pass1.c:4213:17: branch_true: ...to here
e2fsprogs-1.47.3/e2fsck/pass1.c:4214:17: call_function: inlined call to ‘ext2fs_mark_block_bitmap2’ from ‘new_table_block’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def269]
e2fsprogs-1.47.3/lib/ext2fs/bitops.h:454:16: warning[-Wanalyzer-malloc-leak]: leak of ‘cs.buf’
e2fsprogs-1.47.3/e2fsck/pass1b.c:914:18: enter_function: entry to ‘clone_file’
e2fsprogs-1.47.3/e2fsck/pass1b.c:937:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘clone_file’
e2fsprogs-1.47.3/e2fsck/pass1b.c:941:13: call_function: inlined call to ‘ext2fs_test_inode_bitmap2’ from ‘clone_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def270]
e2fsprogs-1.47.3/lib/ext2fs/bitops.h:454:16: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.ea_buf’
e2fsprogs-1.47.3/misc/tune2fs.c:931:13: enter_function: entry to ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:935:31: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:933:32: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:939:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: call_function: calling ‘ext2fs_get_memzero’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: return_function: returning to ‘rewrite_inodes’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/misc/tune2fs.c:943:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:946:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:960:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:961:17: call_function: calling ‘rewrite_inodes_pass’ from ‘rewrite_inodes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def271]
e2fsprogs-1.47.3/lib/ext2fs/bitops.h:454:16: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.zero_inode’
e2fsprogs-1.47.3/misc/tune2fs.c:931:13: enter_function: entry to ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:935:31: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:933:32: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:939:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: call_function: calling ‘ext2fs_get_memzero’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: return_function: returning to ‘rewrite_inodes’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/misc/tune2fs.c:943:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:946:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:960:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:961:17: call_function: calling ‘rewrite_inodes_pass’ from ‘rewrite_inodes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def272]
e2fsprogs-1.47.3/lib/ext2fs/bitops.h:549:14: warning[-Wanalyzer-malloc-leak]: leak of ‘list.extents’
e2fsprogs-1.47.3/e2fsck/extents.c:620:6: enter_function: entry to ‘e2fsck_pass1e’
e2fsprogs-1.47.3/e2fsck/extents.c:622:9: call_function: calling ‘rebuild_extents’ from ‘e2fsck_pass1e’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def273]
e2fsprogs-1.47.3/lib/ext2fs/blkmap64_rb.c:277:21: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(40)’
e2fsprogs-1.47.3/lib/ext2fs/blkmap64_rb.c:246:18: enter_function: entry to ‘rb_copy_bmap’
e2fsprogs-1.47.3/lib/ext2fs/blkmap64_rb.c:264:16: branch_true: following ‘true’ branch (when ‘src_node’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/blkmap64_rb.c:266:26: call_function: inlined call to ‘ext2fs_get_mem’ from ‘rb_copy_bmap’
e2fsprogs-1.47.3/lib/ext2fs/blkmap64_rb.c:271:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/blkmap64_rb.c:277:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/blkmap64_rb.c:278:52: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/blkmap64_rb.c:278:37: throw: if ‘ext2fs_rb_last’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/blkmap64_rb.c:277:21: danger: ‘malloc(40)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def274]
e2fsprogs-1.47.3/lib/ext2fs/blknum.c:259:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def275]
e2fsprogs-1.47.3/lib/ext2fs/blknum.c:273:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def276]
e2fsprogs-1.47.3/lib/ext2fs/blknum.c:286:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def277]
e2fsprogs-1.47.3/lib/ext2fs/blknum.c:300:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def278]
e2fsprogs-1.47.3/lib/ext2fs/blknum.c:314:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def279]
e2fsprogs-1.47.3/lib/ext2fs/blknum.c:327:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def280]
e2fsprogs-1.47.3/lib/ext2fs/blknum.c:340:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def281]
e2fsprogs-1.47.3/lib/ext2fs/blknum.c:353:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def282]
e2fsprogs-1.47.3/lib/ext2fs/blknum.c:366:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def283]
e2fsprogs-1.47.3/lib/ext2fs/blknum.c:379:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def284]
e2fsprogs-1.47.3/lib/ext2fs/blknum.c:393:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def285]
e2fsprogs-1.47.3/lib/ext2fs/blknum.c:406:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def286]
e2fsprogs-1.47.3/lib/ext2fs/blknum.c:419:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def287]
e2fsprogs-1.47.3/lib/ext2fs/blknum.c:432:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def288]
e2fsprogs-1.47.3/lib/ext2fs/blknum.c:445:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def289]
e2fsprogs-1.47.3/lib/ext2fs/blknum.c:458:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def290]
e2fsprogs-1.47.3/lib/ext2fs/blknum.c:471:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def291]
e2fsprogs-1.47.3/lib/ext2fs/blknum.c:482:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def292]
e2fsprogs-1.47.3/lib/ext2fs/blknum.c:494:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def293]
e2fsprogs-1.47.3/lib/ext2fs/blknum.c:505:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def294]
e2fsprogs-1.47.3/lib/ext2fs/blknum.c:517:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def295]
e2fsprogs-1.47.3/lib/ext2fs/blknum.c:529:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def296]
e2fsprogs-1.47.3/lib/ext2fs/blknum.c:540:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def297]
e2fsprogs-1.47.3/lib/ext2fs/block.c:387:32: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.ind_buf’
e2fsprogs-1.47.3/lib/ext2fs/block.c:321:11: enter_function: entry to ‘ext2fs_block_iterate3’
e2fsprogs-1.47.3/lib/ext2fs/block.c:344:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/block.c:351:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/block.c:351:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/block.c:357:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/block.c:370:12: branch_false: following ‘false’ branch (when ‘block_buf’ is NULL)...
e2fsprogs-1.47.3/lib/ext2fs/block.c:373:26: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/block.c:373:26: call_function: calling ‘ext2fs_get_array’ from ‘ext2fs_block_iterate3’
e2fsprogs-1.47.3/lib/ext2fs/block.c:373:26: return_function: returning to ‘ext2fs_block_iterate3’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/lib/ext2fs/block.c:374:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/block.c:377:24: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/block.c:383:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/block.c:384:14: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/block.c:383:13: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/block.c:385:21: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/block.c:385:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/block.c:386:33: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/block.c:387:32: throw: if the called function throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/block.c:387:32: danger: ‘ctx.ind_buf’ leaks here; was allocated at [(15)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def298]
e2fsprogs-1.47.3/lib/ext2fs/block.c:406:31: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.ind_buf’
e2fsprogs-1.47.3/lib/ext2fs/block.c:321:11: enter_function: entry to ‘ext2fs_block_iterate3’
e2fsprogs-1.47.3/lib/ext2fs/block.c:344:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/block.c:351:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/block.c:351:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/block.c:357:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/block.c:370:12: branch_false: following ‘false’ branch (when ‘block_buf’ is NULL)...
e2fsprogs-1.47.3/lib/ext2fs/block.c:373:26: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/block.c:373:26: call_function: calling ‘ext2fs_get_array’ from ‘ext2fs_block_iterate3’
e2fsprogs-1.47.3/lib/ext2fs/block.c:373:26: return_function: returning to ‘ext2fs_block_iterate3’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/lib/ext2fs/block.c:374:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/block.c:377:24: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/block.c:397:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/block.c:406:31: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/block.c:406:31: throw: if ‘ext2fs_extent_open2’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/block.c:406:31: danger: ‘ctx.ind_buf’ leaks here; was allocated at [(15)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def299]
e2fsprogs-1.47.3/lib/ext2fs/block.c:526:32: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.ind_buf’
e2fsprogs-1.47.3/lib/ext2fs/block.c:321:11: enter_function: entry to ‘ext2fs_block_iterate3’
e2fsprogs-1.47.3/lib/ext2fs/block.c:344:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/block.c:351:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/block.c:351:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/block.c:357:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/block.c:370:12: branch_false: following ‘false’ branch (when ‘block_buf’ is NULL)...
e2fsprogs-1.47.3/lib/ext2fs/block.c:373:26: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/block.c:373:26: call_function: calling ‘ext2fs_get_array’ from ‘ext2fs_block_iterate3’
e2fsprogs-1.47.3/lib/ext2fs/block.c:373:26: return_function: returning to ‘ext2fs_block_iterate3’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/lib/ext2fs/block.c:374:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/block.c:377:24: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/block.c:397:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/block.c:397:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/block.c:523:21: branch_true: following ‘true’ branch (when ‘i != 12’)...
e2fsprogs-1.47.3/lib/ext2fs/block.c:524:21: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/block.c:524:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/block.c:525:33: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/block.c:526:32: throw: if the called function throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/block.c:526:32: danger: ‘ctx.ind_buf’ leaks here; was allocated at [(15)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def300]
e2fsprogs-1.47.3/lib/ext2fs/bmap.c:354:26: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/bmap.c:484:11: enter_function: entry to ‘ext2fs_bmap’
e2fsprogs-1.47.3/lib/ext2fs/bmap.c:491:15: call_function: calling ‘ext2fs_bmap2’ from ‘ext2fs_bmap’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def301]
e2fsprogs-1.47.3/lib/ext2fs/bmap.c:373:29: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/bmap.c:484:11: enter_function: entry to ‘ext2fs_bmap’
e2fsprogs-1.47.3/lib/ext2fs/bmap.c:491:15: call_function: calling ‘ext2fs_bmap2’ from ‘ext2fs_bmap’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def302]
e2fsprogs-1.47.3/lib/ext2fs/bmap.c:377:34: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/bmap.c:484:11: enter_function: entry to ‘ext2fs_bmap’
e2fsprogs-1.47.3/lib/ext2fs/bmap.c:491:15: call_function: calling ‘ext2fs_bmap2’ from ‘ext2fs_bmap’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def303]
e2fsprogs-1.47.3/lib/ext2fs/bmap.c:403:34: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/bmap.c:484:11: enter_function: entry to ‘ext2fs_bmap’
e2fsprogs-1.47.3/lib/ext2fs/bmap.c:491:15: call_function: calling ‘ext2fs_bmap2’ from ‘ext2fs_bmap’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def304]
e2fsprogs-1.47.3/lib/ext2fs/bmap.c:431:34: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/bmap.c:484:11: enter_function: entry to ‘ext2fs_bmap’
e2fsprogs-1.47.3/lib/ext2fs/bmap.c:491:15: call_function: calling ‘ext2fs_bmap2’ from ‘ext2fs_bmap’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def305]
e2fsprogs-1.47.3/lib/ext2fs/bmap.c:458:26: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/bmap.c:484:11: enter_function: entry to ‘ext2fs_bmap’
e2fsprogs-1.47.3/lib/ext2fs/bmap.c:491:15: call_function: calling ‘ext2fs_bmap2’ from ‘ext2fs_bmap’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def306]
e2fsprogs-1.47.3/lib/ext2fs/dblist_dir.c:56:18: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.buf’
e2fsprogs-1.47.3/lib/ext2fs/dblist_dir.c:26:11: enter_function: entry to ‘ext2fs_dblist_dir_iterate’
e2fsprogs-1.47.3/lib/ext2fs/dblist_dir.c:41:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/dblist_dir.c:43:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dblist_dir.c:45:12: branch_false: following ‘false’ branch (when ‘block_buf’ is NULL)...
e2fsprogs-1.47.3/lib/ext2fs/dblist_dir.c:48:41: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dblist_dir.c:48:26: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_dblist_dir_iterate’
e2fsprogs-1.47.3/lib/ext2fs/dblist_dir.c:56:18: throw: if ‘ext2fs_dblist_iterate2’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/dblist_dir.c:56:18: danger: ‘ctx.buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def307]
e2fsprogs-1.47.3/lib/ext2fs/dir_iterate.c:126:18: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.buf’
e2fsprogs-1.47.3/lib/ext2fs/dir_iterate.c:92:11: enter_function: entry to ‘ext2fs_dir_iterate2’
e2fsprogs-1.47.3/lib/ext2fs/dir_iterate.c:116:12: branch_false: following ‘false’ branch (when ‘block_buf’ is NULL)...
e2fsprogs-1.47.3/lib/ext2fs/dir_iterate.c:119:41: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dir_iterate.c:119:26: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_dir_iterate2’
e2fsprogs-1.47.3/lib/ext2fs/dir_iterate.c:126:18: throw: if ‘ext2fs_block_iterate3’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/dir_iterate.c:126:18: danger: ‘ctx.buf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def308]
e2fsprogs-1.47.3/lib/ext2fs/dirhash.c:44:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘in[1]’
e2fsprogs-1.47.3/lib/ext2fs/dirhash.c:278:11: enter_function: entry to ‘ext2fs_dirhash2’
e2fsprogs-1.47.3/lib/ext2fs/dirhash.c:305:16: call_function: calling ‘ext2fs_dirhash’ from ‘ext2fs_dirhash2’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def309]
e2fsprogs-1.47.3/lib/ext2fs/dirhash.c:83:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘in[1]’
e2fsprogs-1.47.3/lib/ext2fs/dirhash.c:278:11: enter_function: entry to ‘ext2fs_dirhash2’
e2fsprogs-1.47.3/lib/ext2fs/dirhash.c:305:16: call_function: calling ‘ext2fs_dirhash’ from ‘ext2fs_dirhash2’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def310]
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:47:9: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(368)’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:23:11: enter_function: entry to ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:28:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:30:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:34:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:51:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:53:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:47:9: danger: ‘malloc(368)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def311]
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:74:26: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:23:11: enter_function: entry to ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:28:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:30:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:34:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:51:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:56:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:61:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:66:18: call_function: calling ‘ext2fs_get_array’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:66:18: return_function: returning to ‘ext2fs_dup_handle’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:68:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:71:25: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:73:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:74:61: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:74:26: throw: if ‘ext2fs_copy_bitmap’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:74:26: danger: ‘<unknown>’ leaks here; was allocated at [(8)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def312]
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:79:26: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:23:11: enter_function: entry to ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:28:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:30:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:34:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:51:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:56:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:61:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:66:18: call_function: calling ‘ext2fs_get_array’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:66:18: return_function: returning to ‘ext2fs_dup_handle’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:68:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:71:25: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:73:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:78:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:78:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:79:61: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:79:26: throw: if ‘ext2fs_copy_bitmap’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:79:26: danger: ‘<unknown>’ leaks here; was allocated at [(8)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def313]
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:84:26: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:23:11: enter_function: entry to ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:28:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:30:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:34:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:51:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:56:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:61:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:66:18: call_function: calling ‘ext2fs_get_array’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:66:18: return_function: returning to ‘ext2fs_dup_handle’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:68:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:71:25: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:73:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:78:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:78:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:83:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:83:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:84:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:84:26: throw: if ‘ext2fs_badblocks_copy’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:84:26: danger: ‘<unknown>’ leaks here; was allocated at [(8)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def314]
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:89:26: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:23:11: enter_function: entry to ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:28:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:30:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:34:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:51:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:56:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:61:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:66:18: call_function: calling ‘ext2fs_get_array’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:66:18: return_function: returning to ‘ext2fs_dup_handle’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:68:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:71:25: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:73:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:78:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:78:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:83:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:83:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:88:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:88:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:89:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:89:26: throw: if ‘ext2fs_copy_dblist’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:89:26: danger: ‘<unknown>’ leaks here; was allocated at [(8)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def315]
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:118:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:23:11: enter_function: entry to ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:28:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:30:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:34:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:51:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:56:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_dup_handle’
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:58:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/dupfs.c:118:9: danger: ‘<unknown>’ leaks here; was allocated at [(8)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def316]
e2fsprogs-1.47.3/lib/ext2fs/ext2fs.h:2025:9: warning[-Wanalyzer-malloc-leak]: leak of ‘*db.tdb_fn’
e2fsprogs-1.47.3/e2fsck/dirinfo.c:46:13: enter_function: entry to ‘setup_tdb’
e2fsprogs-1.47.3/e2fsck/dirinfo.c:62:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/e2fsck/dirinfo.c:66:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘setup_tdb’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def317]
e2fsprogs-1.47.3/lib/ext2fs/ext2fs.h:2037:9: warning[-Wanalyzer-malloc-leak]: leak of ‘getdqbuf()’
e2fsprogs-1.47.3/lib/support/quotaio_tree.c:594:12: enter_function: entry to ‘report_tree’
e2fsprogs-1.47.3/lib/support/quotaio_tree.c:600:23: call_function: calling ‘getdqbuf’ from ‘report_tree’
e2fsprogs-1.47.3/lib/support/quotaio_tree.c:600:23: return_function: returning to ‘report_tree’ from ‘getdqbuf’
e2fsprogs-1.47.3/lib/support/quotaio_tree.c:603:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/quotaio_tree.c:606:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/quotaio_tree.c:606:9: call_function: calling ‘read_blk’ from ‘report_tree’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def318]
e2fsprogs-1.47.3/lib/ext2fs/ext2fs.h:2065:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:98:11: enter_function: entry to ‘ext2fs_create_inode_cache’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:105:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_create_inode_cache’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:110:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_create_inode_cache’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:118:18: call_function: calling ‘ext2fs_get_array’ from ‘ext2fs_create_inode_cache’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:118:18: return_function: returning to ‘ext2fs_create_inode_cache’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:121:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:122:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:134:9: call_function: calling ‘ext2fs_free_inode_cache’ from ‘ext2fs_create_inode_cache’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def319]
e2fsprogs-1.47.3/lib/ext2fs/ext2fs.h:2065:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘((long unsigned int *)<unknown>)[1]’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:98:11: enter_function: entry to ‘ext2fs_create_inode_cache’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:105:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_create_inode_cache’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:110:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_create_inode_cache’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:118:18: call_function: calling ‘ext2fs_get_array’ from ‘ext2fs_create_inode_cache’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:118:18: return_function: returning to ‘ext2fs_create_inode_cache’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:121:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:121:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:124:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:126:42: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:125:26: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:125:41: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:125:26: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_create_inode_cache’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:128:25: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:134:9: call_function: calling ‘ext2fs_free_inode_cache’ from ‘ext2fs_create_inode_cache’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def320]
e2fsprogs-1.47.3/lib/ext2fs/ext2fs.h:2068:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
e2fsprogs-1.47.3/lib/ext2fs/link.c:557:18: enter_function: entry to ‘dx_link’
e2fsprogs-1.47.3/lib/ext2fs/link.c:567:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘dx_link’
e2fsprogs-1.47.3/lib/ext2fs/link.c:571:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/link.c:574:18: call_function: calling ‘dx_lookup’ from ‘dx_link’
Error: CPPCHECK_WARNING (CWE-401): [#def321]
e2fsprogs-1.47.3/lib/ext2fs/ext2fs.h:2083: error[memleakOnRealloc]: Common realloc mistake: 'p' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def322]
e2fsprogs-1.47.3/lib/ext2fs/ext2fs.h:2086:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/lib/ext2fs/blkmap64_ba.c:124:18: enter_function: entry to ‘ba_resize_bmap’
e2fsprogs-1.47.3/lib/ext2fs/blkmap64_ba.c:143:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/blkmap64_ba.c:148:35: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/blkmap64_ba.c:151:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/blkmap64_ba.c:152:26: call_function: inlined call to ‘ext2fs_resize_mem’ from ‘ba_resize_bmap’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def323]
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:33:18: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1729:11: enter_function: entry to ‘ext2fs_xattr_remove_all’
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1734:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1734:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1744:16: call_function: calling ‘ext2fs_xattrs_write’ from ‘ext2fs_xattr_remove_all’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def324]
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:68:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘value’
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1729:11: enter_function: entry to ‘ext2fs_xattr_remove_all’
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1734:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1734:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1744:16: call_function: calling ‘ext2fs_xattrs_write’ from ‘ext2fs_xattr_remove_all’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def325]
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:222:18: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:293:11: enter_function: entry to ‘ext2fs_adjust_ea_refcount3’
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:305:12: branch_true: following ‘true’ branch (when ‘block_buf’ is NULL)...
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:306:41: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:306:26: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_adjust_ea_refcount3’
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:312:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:312:18: call_function: calling ‘ext2fs_read_ext_attr3’ from ‘ext2fs_adjust_ea_refcount3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def326]
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:222:18: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:293:11: enter_function: entry to ‘ext2fs_adjust_ea_refcount3’
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:305:12: branch_true: following ‘true’ branch (when ‘block_buf’ is NULL)...
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:306:41: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:306:26: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_adjust_ea_refcount3’
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:312:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:312:18: call_function: calling ‘ext2fs_read_ext_attr3’ from ‘ext2fs_adjust_ea_refcount3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def327]
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:222:18: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)*fs.blocksize)’
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1729:11: enter_function: entry to ‘ext2fs_xattr_remove_all’
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1734:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1734:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1735:33: branch_true: following ‘true’ branch (when ‘x < end’)...
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1736:17: call_function: inlined call to ‘ext2fs_free_mem’ from ‘ext2fs_xattr_remove_all’
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1738:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1739:25: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1739:25: call_function: calling ‘xattr_inode_dec_ref’ from ‘ext2fs_xattr_remove_all’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def328]
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:765:15: warning[-Wanalyzer-malloc-leak]: leak of ‘inode’
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1729:11: enter_function: entry to ‘ext2fs_xattr_remove_all’
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1734:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1734:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1744:16: call_function: calling ‘ext2fs_xattrs_write’ from ‘ext2fs_xattr_remove_all’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def329]
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1105:23: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)*handle_1(D)->fs.blocksize)’
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1047:11: enter_function: entry to ‘ext2fs_xattrs_read_inode’
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1094:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1095:28: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1095:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1096:29: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1095:21: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1101:38: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1101:23: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_xattrs_read_inode’
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1105:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/ext_attr.c:1105:23: call_function: calling ‘ext2fs_read_ext_attr3’ from ‘ext2fs_xattrs_read_inode’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def330]
e2fsprogs-1.47.3/lib/ext2fs/extent.c:597:26: warning[-Wanalyzer-malloc-leak]: leak of ‘newpath’
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1168:11: enter_function: entry to ‘ext2fs_extent_insert’
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1181:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1189:31: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1191:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1192:21: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1192:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1199:34: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1199:34: call_function: calling ‘extent_node_split’ from ‘ext2fs_extent_insert’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def331]
e2fsprogs-1.47.3/lib/ext2fs/extent.c:607:26: warning[-Wanalyzer-malloc-leak]: leak of ‘newpath’
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1168:11: enter_function: entry to ‘ext2fs_extent_insert’
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1181:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1189:31: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1191:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1192:21: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1192:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1199:34: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1199:34: call_function: calling ‘extent_node_split’ from ‘ext2fs_extent_insert’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def332]
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1045:28: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1168:11: enter_function: entry to ‘ext2fs_extent_insert’
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1181:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1189:31: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1191:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1192:21: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1192:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1199:34: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1199:34: call_function: calling ‘extent_node_split’ from ‘ext2fs_extent_insert’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def333]
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1045:28: warning[-Wanalyzer-malloc-leak]: leak of ‘newpath’
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1168:11: enter_function: entry to ‘ext2fs_extent_insert’
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1181:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1189:31: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1191:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1192:21: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1192:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1199:34: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1199:34: call_function: calling ‘extent_node_split’ from ‘ext2fs_extent_insert’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def334]
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1047:18: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1168:11: enter_function: entry to ‘ext2fs_extent_insert’
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1181:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1189:31: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1191:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1192:21: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1192:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1199:34: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1199:34: call_function: calling ‘extent_node_split’ from ‘ext2fs_extent_insert’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def335]
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1047:18: warning[-Wanalyzer-malloc-leak]: leak of ‘newpath’
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1168:11: enter_function: entry to ‘ext2fs_extent_insert’
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1181:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1189:31: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1191:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1192:21: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1192:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1199:34: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1199:34: call_function: calling ‘extent_node_split’ from ‘ext2fs_extent_insert’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def336]
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1075:18: warning[-Wanalyzer-malloc-leak]: leak of ‘newpath’
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1168:11: enter_function: entry to ‘ext2fs_extent_insert’
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1181:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1189:31: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1191:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1192:21: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1192:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1199:34: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1199:34: call_function: calling ‘extent_node_split’ from ‘ext2fs_extent_insert’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def337]
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1080:18: warning[-Wanalyzer-malloc-leak]: leak of ‘newpath’
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1168:11: enter_function: entry to ‘ext2fs_extent_insert’
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1181:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1189:31: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1191:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1192:21: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1192:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1199:34: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/extent.c:1199:34: call_function: calling ‘extent_node_split’ from ‘ext2fs_extent_insert’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def338]
e2fsprogs-1.47.3/lib/ext2fs/fallocate.c:331:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘<unknown>’
e2fsprogs-1.47.3/lib/ext2fs/fallocate.c:673:18: enter_function: entry to ‘extent_fallocate’
e2fsprogs-1.47.3/lib/ext2fs/fallocate.c:686:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/fallocate.c:686:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/fallocate.c:700:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/fallocate.c:711:19: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/fallocate.c:711:19: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/fallocate.c:715:16: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/fallocate.c:716:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/fallocate.c:718:24: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/fallocate.c:719:23: call_function: calling ‘ext_falloc_helper’ from ‘extent_fallocate’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def339]
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:450:33: warning[-Wanalyzer-malloc-leak]: leak of ‘new_block’
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:401:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:402:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:404:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:408:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:408:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:408:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:417:16: branch_true: following ‘true’ branch (when ‘nbytes != 0’)...
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:418:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:419:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:422:25: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:432:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:435:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:442:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:443:39: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:444:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:445:45: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:445:45: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:446:36: branch_false: following ‘false’ branch (when ‘new_block’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:451:64: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:450:33: throw: if ‘ext2fs_sha512’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:450:33: danger: ‘new_block’ leaks here; was allocated at [(17)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def340]
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:606:18: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)*fs.blocksize)’
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:575:18: enter_function: entry to ‘ext2fs_file_zero_past_offset’
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:585:12: branch_false: following ‘false’ branch (when ‘off != 0’)...
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:588:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:589:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:594:40: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:595:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:597:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:597:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:601:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_file_zero_past_offset’
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:606:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:606:18: throw: if ‘io_channel_read_blk64’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/fileio.c:606:18: danger: ‘malloc((long unsigned int)*fs.blocksize)’ leaks here; was allocated at [(11)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def341]
e2fsprogs-1.47.3/lib/ext2fs/finddev.c:94:14: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(dirname)’
e2fsprogs-1.47.3/lib/ext2fs/finddev.c:131:7: enter_function: entry to ‘ext2fs_find_block_device’
e2fsprogs-1.47.3/lib/ext2fs/finddev.c:141:9: call_function: calling ‘add_to_dirlist’ from ‘ext2fs_find_block_device’
e2fsprogs-1.47.3/lib/ext2fs/finddev.c:141:9: return_function: returning to ‘ext2fs_find_block_device’ from ‘add_to_dirlist’
e2fsprogs-1.47.3/lib/ext2fs/finddev.c:145:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/finddev.c:147:24: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/finddev.c:151:17: call_function: calling ‘scan_dir’ from ‘ext2fs_find_block_device’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def342]
e2fsprogs-1.47.3/lib/ext2fs/get_pathname.c:87:13: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)*fs.blocksize)’
e2fsprogs-1.47.3/lib/ext2fs/get_pathname.c:154:11: enter_function: entry to ‘ext2fs_get_pathname’
e2fsprogs-1.47.3/lib/ext2fs/get_pathname.c:160:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/get_pathname.c:162:33: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/get_pathname.c:162:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_get_pathname’
e2fsprogs-1.47.3/lib/ext2fs/get_pathname.c:165:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/get_pathname.c:167:18: call_function: calling ‘ext2fs_get_pathname_int’ from ‘ext2fs_get_pathname’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def343]
e2fsprogs-1.47.3/lib/ext2fs/getsize.c:288:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘blocks’
e2fsprogs-1.47.3/lib/ext2fs/getsize.c:279:11: enter_function: entry to ‘ext2fs_get_device_size’
e2fsprogs-1.47.3/lib/ext2fs/getsize.c:285:18: call_function: calling ‘ext2fs_get_device_size2’ from ‘ext2fs_get_device_size’
e2fsprogs-1.47.3/lib/ext2fs/getsize.c:285:18: return_function: returning to ‘ext2fs_get_device_size’ from ‘ext2fs_get_device_size2’
e2fsprogs-1.47.3/lib/ext2fs/getsize.c:286:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/getsize.c:288:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/getsize.c:288:13: danger: use of uninitialized value ‘blocks’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def344]
e2fsprogs-1.47.3/lib/ext2fs/imager.c:77:23: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/imager.c:72:15: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:73:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:73:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:76:25: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:77:23: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:77:23: throw: if ‘ext2fs_inode_table_loc’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:77:23: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def345]
e2fsprogs-1.47.3/lib/ext2fs/imager.c:84:40: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/imager.c:72:15: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:73:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:73:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:76:25: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:77:23: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:78:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:82:24: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:83:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:84:22: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:84:40: throw: if ‘ext2fs_blocks_count’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:84:40: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def346]
e2fsprogs-1.47.3/lib/ext2fs/imager.c:92:34: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/imager.c:72:15: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:73:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:73:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:76:25: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:77:23: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:78:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:82:24: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:83:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:84:22: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:83:21: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:83:21: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:92:34: throw: if ‘io_channel_read_blk64’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:92:34: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def347]
e2fsprogs-1.47.3/lib/ext2fs/imager.c:164:23: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/imager.c:159:15: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:160:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:160:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:163:25: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:164:23: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:164:23: throw: if ‘ext2fs_inode_table_loc’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:164:23: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def348]
e2fsprogs-1.47.3/lib/ext2fs/imager.c:183:34: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/imager.c:159:15: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:160:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:160:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:163:25: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:164:23: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:165:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:169:24: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:175:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:179:39: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:179:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:183:34: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:183:34: throw: if ‘io_channel_write_blk64’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:183:34: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def349]
e2fsprogs-1.47.3/lib/ext2fs/imager.c:191:18: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/imager.c:159:15: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:160:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:160:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:191:18: throw: if ‘ext2fs_flush_icache’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:191:18: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def350]
e2fsprogs-1.47.3/lib/ext2fs/imager.c:235:18: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/imager.c:213:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:216:22: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:216:15: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:217:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:223:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:235:18: throw: if ‘write’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:235:18: danger: ‘buf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def351]
e2fsprogs-1.47.3/lib/ext2fs/imager.c:264:18: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/imager.c:213:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:216:22: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:216:15: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:217:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:223:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:236:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:240:33: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:240:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:249:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/imager.c:264:18: throw: if ‘write’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/imager.c:264:18: danger: ‘buf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def352]
e2fsprogs-1.47.3/lib/ext2fs/initialize.c:121:21: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(368)’
e2fsprogs-1.47.3/lib/ext2fs/initialize.c:88:11: enter_function: entry to ‘ext2fs_initialize’
e2fsprogs-1.47.3/lib/ext2fs/initialize.c:112:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/initialize.c:119:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/initialize.c:128:20: throw: if ‘ext2fs_safe_getenv’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/initialize.c:121:21: danger: ‘malloc(368)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def353]
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:259:18: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(inline_size)’
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:430:11: enter_function: entry to ‘ext2fs_inline_data_expand’
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:438:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:440:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:441:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:444:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:444:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:447:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:449:18: call_function: calling ‘ext2fs_inline_data_ea_get’ from ‘ext2fs_inline_data_expand’
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:449:18: return_function: returning to ‘ext2fs_inline_data_expand’ from ‘ext2fs_inline_data_ea_get’
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:450:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:452:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:453:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_inline_data_expand’
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:457:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:458:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:463:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:472:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:474:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:474:18: call_function: calling ‘ext2fs_inline_data_ea_remove’ from ‘ext2fs_inline_data_expand’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def354]
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:263:18: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(inline_size)’
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:430:11: enter_function: entry to ‘ext2fs_inline_data_expand’
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:438:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:440:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:441:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:444:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:444:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:447:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:449:18: call_function: calling ‘ext2fs_inline_data_ea_get’ from ‘ext2fs_inline_data_expand’
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:449:18: return_function: returning to ‘ext2fs_inline_data_expand’ from ‘ext2fs_inline_data_ea_get’
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:450:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:452:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:453:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_inline_data_expand’
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:457:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:458:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:463:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:472:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:474:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:474:18: call_function: calling ‘ext2fs_inline_data_ea_remove’ from ‘ext2fs_inline_data_expand’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def355]
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:325:26: warning[-Wanalyzer-malloc-leak]: leak of ‘blk_buf’
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:346:1: enter_function: entry to ‘ext2fs_inline_data_dir_expand’
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:353:18: call_function: calling ‘ext2fs_get_memzero’ from ‘ext2fs_inline_data_dir_expand’
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:353:18: return_function: returning to ‘ext2fs_inline_data_dir_expand’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:354:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:365:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:365:18: call_function: calling ‘ext2fs_inline_data_convert_dir’ from ‘ext2fs_inline_data_dir_expand’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def356]
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:460:24: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(inline_size)’
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:430:11: enter_function: entry to ‘ext2fs_inline_data_expand’
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:438:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:440:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:441:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:444:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:444:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:447:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:449:18: call_function: calling ‘ext2fs_inline_data_ea_get’ from ‘ext2fs_inline_data_expand’
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:449:18: return_function: returning to ‘ext2fs_inline_data_expand’ from ‘ext2fs_inline_data_ea_get’
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:450:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:452:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:453:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_inline_data_expand’
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:457:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:458:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:460:24: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:471:18: throw: if ‘ext2fs_write_inode’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:460:24: danger: ‘malloc(inline_size)’ leaks here; was allocated at [(18)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def357]
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:471:18: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(inline_size)’
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:430:11: enter_function: entry to ‘ext2fs_inline_data_expand’
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:438:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:440:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:441:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:444:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:444:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:447:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:449:18: call_function: calling ‘ext2fs_inline_data_ea_get’ from ‘ext2fs_inline_data_expand’
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:449:18: return_function: returning to ‘ext2fs_inline_data_expand’ from ‘ext2fs_inline_data_ea_get’
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:450:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:452:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:453:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_inline_data_expand’
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:457:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:458:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:463:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:471:18: throw: if ‘ext2fs_write_inode’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/inline_data.c:471:18: danger: ‘malloc(inline_size)’ leaks here; was allocated at [(18)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def358]
e2fsprogs-1.47.3/lib/ext2fs/inode.c:135:9: warning[-Wanalyzer-malloc-leak]: leak of ‘*fs.icache’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:98:11: enter_function: entry to ‘ext2fs_create_inode_cache’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:105:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_create_inode_cache’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:110:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_create_inode_cache’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:112:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:134:9: call_function: calling ‘ext2fs_free_inode_cache’ from ‘ext2fs_create_inode_cache’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:134:9: return_function: returning to ‘ext2fs_create_inode_cache’ from ‘ext2fs_free_inode_cache’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:135:9: danger: ‘*fs.icache’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def359]
e2fsprogs-1.47.3/lib/ext2fs/inode.c:714:22: warning[-Wanalyzer-malloc-leak]: leak of ‘iptr’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:601:11: enter_function: entry to ‘ext2fs_get_next_inode_full’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:612:18: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:613:25: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:643:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:645:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:645:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:657:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:657:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:675:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:675:12: branch_true: following ‘true’ branch (when ‘length > bufsize’)...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:676:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:676:26: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_get_next_inode_full’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:682:16: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:685:12: branch_false: following ‘false’ branch (when ‘extra_bytes == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:712:36: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:712:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:713:23: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:712:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:715:60: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:714:22: throw: if ‘ext2fs_inode_csum_verify’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:714:22: danger: ‘iptr’ leaks here; was allocated at [(13)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def360]
e2fsprogs-1.47.3/lib/ext2fs/inode.c:740:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘iptr’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:601:11: enter_function: entry to ‘ext2fs_get_next_inode_full’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:612:18: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:613:25: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:643:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:645:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:645:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:657:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:657:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:675:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:675:12: branch_true: following ‘true’ branch (when ‘length > bufsize’)...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:676:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:676:26: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_get_next_inode_full’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:682:16: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:685:12: branch_false: following ‘false’ branch (when ‘extra_bytes == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:712:36: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:739:12: branch_true: following ‘true’ branch (when ‘iptr != inode’)...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:740:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:740:17: danger: use of uninitialized value ‘iptr’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def361]
e2fsprogs-1.47.3/lib/ext2fs/inode.c:744:1: warning[-Wanalyzer-malloc-leak]: leak of ‘iptr’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:601:11: enter_function: entry to ‘ext2fs_get_next_inode_full’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:612:18: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:613:25: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:643:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:645:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:645:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:657:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:657:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:675:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:675:12: branch_true: following ‘true’ branch (when ‘length > bufsize’)...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:676:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:676:26: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_get_next_inode_full’
e2fsprogs-1.47.3/lib/ext2fs/inode.c:682:16: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:685:12: branch_false: following ‘false’ branch (when ‘extra_bytes == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:712:36: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:739:12: branch_false: following ‘false’ branch (when ‘iptr == inode’)...
e2fsprogs-1.47.3/lib/ext2fs/inode.c:739:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode.c:744:1: danger: ‘iptr’ leaks here; was allocated at [(13)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def362]
e2fsprogs-1.47.3/lib/ext2fs/inode_io.c:154:18: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/lib/ext2fs/inode_io.c:114:18: enter_function: entry to ‘inode_open’
e2fsprogs-1.47.3/lib/ext2fs/inode_io.c:121:12: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/inode_io.c:124:14: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode_io.c:124:46: branch_true: following ‘true’ branch (when ‘data’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/inode_io.c:126:34: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode_io.c:128:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/inode_io.c:130:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode_io.c:130:12: branch_false: following ‘false’ branch (when ‘prev’ is NULL)...
e2fsprogs-1.47.3/lib/ext2fs/inode_io.c:133:30: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/inode_io.c:135:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘inode_open’
e2fsprogs-1.47.3/lib/ext2fs/inode_io.c:142:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘inode_open’
e2fsprogs-1.47.3/lib/ext2fs/inode_io.c:154:18: throw: if ‘ext2fs_file_open2’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/inode_io.c:154:18: danger: ‘<unknown>’ leaks here; was allocated at [(14)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def363]
e2fsprogs-1.47.3/lib/ext2fs/io_manager.c:51:26: warning[-Wanalyzer-malloc-leak]: leak of ‘ptr’
e2fsprogs-1.47.3/lib/ext2fs/io_manager.c:28:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/io_manager.c:30:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/io_manager.c:30:12: branch_false: following ‘false’ branch (when ‘opts’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/io_manager.c:33:14: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/io_manager.c:33:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/io_manager.c:36:26: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/io_manager.c:36:19: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ext2fs/io_manager.c:37:12: branch_false: following ‘false’ branch (when ‘options’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/io_manager.c:39:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/io_manager.c:42:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/io_manager.c:44:20: branch_true: following ‘true’ branch (when ‘next’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/io_manager.c:45:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/io_manager.c:48:20: branch_true: following ‘true’ branch (when ‘arg’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/io_manager.c:49:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/io_manager.c:51:26: throw: if the called function throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/io_manager.c:51:26: danger: ‘ptr’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def364]
e2fsprogs-1.47.3/lib/ext2fs/ismounted.c:396:33: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(device, 128)’
e2fsprogs-1.47.3/lib/ext2fs/ismounted.c:375:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/ismounted.c:386:21: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/ismounted.c:386:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/ismounted.c:387:44: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/ismounted.c:386:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/ismounted.c:388:34: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/ismounted.c:388:34: acquire_resource: opened here
e2fsprogs-1.47.3/lib/ext2fs/ismounted.c:390:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/ismounted.c:396:33: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/ismounted.c:396:33: danger: ‘open(device, 128)’ leaks here; was opened at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-126): [#def365]
e2fsprogs-1.47.3/lib/ext2fs/link.c:52:21: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
e2fsprogs-1.47.3/lib/ext2fs/link.c:557:18: enter_function: entry to ‘dx_link’
e2fsprogs-1.47.3/lib/ext2fs/link.c:567:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘dx_link’
e2fsprogs-1.47.3/lib/ext2fs/link.c:571:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/link.c:574:18: call_function: calling ‘dx_lookup’ from ‘dx_link’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def366]
e2fsprogs-1.47.3/lib/ext2fs/link.c:82:19: warning[-Wanalyzer-malloc-leak]: leak of ‘dx_info.frames[0].buf’
e2fsprogs-1.47.3/lib/ext2fs/link.c:557:18: enter_function: entry to ‘dx_link’
e2fsprogs-1.47.3/lib/ext2fs/link.c:567:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘dx_link’
e2fsprogs-1.47.3/lib/ext2fs/link.c:571:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/link.c:574:18: call_function: calling ‘dx_lookup’ from ‘dx_link’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def367]
e2fsprogs-1.47.3/lib/ext2fs/link.c:572:9: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)*fs.blocksize)’
e2fsprogs-1.47.3/lib/ext2fs/link.c:557:18: enter_function: entry to ‘dx_link’
e2fsprogs-1.47.3/lib/ext2fs/link.c:567:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘dx_link’
e2fsprogs-1.47.3/lib/ext2fs/link.c:571:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/link.c:574:18: call_function: calling ‘dx_lookup’ from ‘dx_link’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def368]
e2fsprogs-1.47.3/lib/ext2fs/link.c:658:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.buf’
e2fsprogs-1.47.3/lib/ext2fs/link.c:609:11: enter_function: entry to ‘ext2fs_link’
e2fsprogs-1.47.3/lib/ext2fs/link.c:616:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/link.c:618:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/link.c:618:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/link.c:618:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/link.c:622:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/link.c:625:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/link.c:625:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/link.c:628:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/link.c:630:9: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/link.c:630:29: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/link.c:638:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/link.c:639:14: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/link.c:638:13: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/link.c:640:39: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/link.c:646:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/link.c:649:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/link.c:654:26: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_link’
e2fsprogs-1.47.3/lib/ext2fs/link.c:658:17: throw: if ‘ext2fs_process_dir_block’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/link.c:658:17: danger: ‘ctx.buf’ leaks here; was allocated at [(19)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def369]
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:116:19: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:493:11: enter_function: entry to ‘ext2fs_add_journal_inode3’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:505:17: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:510:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:510:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:512:21: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:535:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:543:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:545:31: call_function: calling ‘write_journal_file’ from ‘ext2fs_add_journal_inode3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def370]
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:123:20: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:493:11: enter_function: entry to ‘ext2fs_add_journal_inode3’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:505:17: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:510:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:510:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:512:21: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:535:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:543:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:545:31: call_function: calling ‘write_journal_file’ from ‘ext2fs_add_journal_inode3’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def371]
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:123:35: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(filename, 1)’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:493:11: enter_function: entry to ‘ext2fs_add_journal_inode3’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:505:17: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:510:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:510:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:512:21: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:535:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:543:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:545:31: call_function: calling ‘write_journal_file’ from ‘ext2fs_add_journal_inode3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def372]
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:136:28: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:493:11: enter_function: entry to ‘ext2fs_add_journal_inode3’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:505:17: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:510:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:510:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:512:21: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:535:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:543:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:545:31: call_function: calling ‘write_journal_file’ from ‘ext2fs_add_journal_inode3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def373]
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:148:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:493:11: enter_function: entry to ‘ext2fs_add_journal_inode3’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:505:17: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:510:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:510:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:512:21: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:535:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:543:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:545:31: call_function: calling ‘write_journal_file’ from ‘ext2fs_add_journal_inode3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def374]
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:293:23: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:277:18: enter_function: entry to ‘write_journal_inode’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:289:23: call_function: calling ‘ext2fs_create_journal_superblock2’ from ‘write_journal_inode’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:289:23: return_function: returning to ‘write_journal_inode’ from ‘ext2fs_create_journal_superblock2’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:289:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:293:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:293:23: throw: if ‘ext2fs_read_bitmaps’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:293:23: danger: ‘buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def375]
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:296:23: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:277:18: enter_function: entry to ‘write_journal_inode’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:289:23: call_function: calling ‘ext2fs_create_journal_superblock2’ from ‘write_journal_inode’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:289:23: return_function: returning to ‘write_journal_inode’ from ‘ext2fs_create_journal_superblock2’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:289:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:293:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:293:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:296:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:296:23: throw: if ‘ext2fs_read_inode’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:296:23: danger: ‘buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def376]
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:320:18: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:277:18: enter_function: entry to ‘write_journal_inode’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:289:23: call_function: calling ‘ext2fs_create_journal_superblock2’ from ‘write_journal_inode’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:289:23: return_function: returning to ‘write_journal_inode’ from ‘ext2fs_create_journal_superblock2’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:289:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:293:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:293:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:296:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:296:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:299:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:299:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:304:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:304:12: branch_false: following ‘false’ branch (when ‘goal != 18446744073709551615’)...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:307:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:320:18: throw: if ‘ext2fs_inode_size_set’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:320:18: danger: ‘buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def377]
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:324:18: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:277:18: enter_function: entry to ‘write_journal_inode’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:289:23: call_function: calling ‘ext2fs_create_journal_superblock2’ from ‘write_journal_inode’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:289:23: return_function: returning to ‘write_journal_inode’ from ‘ext2fs_create_journal_superblock2’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:289:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:293:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:293:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:296:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:296:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:299:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:299:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:304:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:304:12: branch_false: following ‘false’ branch (when ‘goal != 18446744073709551615’)...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:307:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:321:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:326:35: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:324:18: throw: if ‘ext2fs_fallocate’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:324:18: danger: ‘buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def378]
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:330:23: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:277:18: enter_function: entry to ‘write_journal_inode’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:289:23: call_function: calling ‘ext2fs_create_journal_superblock2’ from ‘write_journal_inode’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:289:23: return_function: returning to ‘write_journal_inode’ from ‘ext2fs_create_journal_superblock2’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:289:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:293:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:293:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:296:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:296:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:299:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:299:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:304:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:304:12: branch_false: following ‘false’ branch (when ‘goal != 18446744073709551615’)...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:307:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:321:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:326:35: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:327:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:330:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:330:23: throw: if ‘ext2fs_write_new_inode’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:330:23: danger: ‘buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def379]
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:333:18: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:277:18: enter_function: entry to ‘write_journal_inode’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:289:23: call_function: calling ‘ext2fs_create_journal_superblock2’ from ‘write_journal_inode’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:289:23: return_function: returning to ‘write_journal_inode’ from ‘ext2fs_create_journal_superblock2’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:289:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:293:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:293:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:296:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:296:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:299:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:299:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:304:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:304:12: branch_false: following ‘false’ branch (when ‘goal != 18446744073709551615’)...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:307:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:321:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:326:35: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:327:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:330:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:330:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:333:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:333:18: throw: if ‘ext2fs_bmap2’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:333:18: danger: ‘buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def380]
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:337:18: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:277:18: enter_function: entry to ‘write_journal_inode’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:289:23: call_function: calling ‘ext2fs_create_journal_superblock2’ from ‘write_journal_inode’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:289:23: return_function: returning to ‘write_journal_inode’ from ‘ext2fs_create_journal_superblock2’
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:289:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:293:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:293:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:296:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:296:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:299:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:299:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:304:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:304:12: branch_false: following ‘false’ branch (when ‘goal != 18446744073709551615’)...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:307:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:321:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:326:35: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:327:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:330:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:330:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:333:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:334:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:337:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:337:18: throw: if ‘io_channel_write_blk64’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/mkjournal.c:337:18: danger: ‘buf’ leaks here; was allocated at [(7)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def381]
e2fsprogs-1.47.3/lib/ext2fs/namei.c:44:18: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)*fs.blocksize)’
e2fsprogs-1.47.3/lib/ext2fs/namei.c:210:11: enter_function: entry to ‘ext2fs_follow_link’
e2fsprogs-1.47.3/lib/ext2fs/namei.c:216:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/namei.c:218:33: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/namei.c:218:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_follow_link’
e2fsprogs-1.47.3/lib/ext2fs/namei.c:222:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/namei.c:222:18: call_function: calling ‘follow_link’ from ‘ext2fs_follow_link’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def382]
e2fsprogs-1.47.3/lib/ext2fs/namei.c:46:14: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)*fs.blocksize)’
e2fsprogs-1.47.3/lib/ext2fs/namei.c:210:11: enter_function: entry to ‘ext2fs_follow_link’
e2fsprogs-1.47.3/lib/ext2fs/namei.c:216:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/namei.c:218:33: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/namei.c:218:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_follow_link’
e2fsprogs-1.47.3/lib/ext2fs/namei.c:222:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/namei.c:222:18: call_function: calling ‘follow_link’ from ‘ext2fs_follow_link’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def383]
e2fsprogs-1.47.3/lib/ext2fs/namei.c:60:26: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
e2fsprogs-1.47.3/lib/ext2fs/namei.c:210:11: enter_function: entry to ‘ext2fs_follow_link’
e2fsprogs-1.47.3/lib/ext2fs/namei.c:216:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/namei.c:218:33: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/namei.c:218:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_follow_link’
e2fsprogs-1.47.3/lib/ext2fs/namei.c:222:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/namei.c:222:18: call_function: calling ‘follow_link’ from ‘ext2fs_follow_link’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def384]
e2fsprogs-1.47.3/lib/ext2fs/namei.c:76:26: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
e2fsprogs-1.47.3/lib/ext2fs/namei.c:210:11: enter_function: entry to ‘ext2fs_follow_link’
e2fsprogs-1.47.3/lib/ext2fs/namei.c:216:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/namei.c:218:33: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/namei.c:218:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_follow_link’
e2fsprogs-1.47.3/lib/ext2fs/namei.c:222:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/namei.c:222:18: call_function: calling ‘follow_link’ from ‘ext2fs_follow_link’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def385]
e2fsprogs-1.47.3/lib/ext2fs/namei.c:148:18: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)*fs.blocksize)’
e2fsprogs-1.47.3/lib/ext2fs/namei.c:191:11: enter_function: entry to ‘ext2fs_namei_follow’
e2fsprogs-1.47.3/lib/ext2fs/namei.c:197:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/namei.c:199:33: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/namei.c:199:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_namei_follow’
e2fsprogs-1.47.3/lib/ext2fs/namei.c:203:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/namei.c:203:18: call_function: calling ‘open_namei’ from ‘ext2fs_namei_follow’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def386]
e2fsprogs-1.47.3/lib/ext2fs/newdir.c:48:13: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)*fs.blocksize)’
e2fsprogs-1.47.3/lib/ext2fs/newdir.c:29:11: enter_function: entry to ‘ext2fs_new_dir_block’
e2fsprogs-1.47.3/lib/ext2fs/newdir.c:40:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/newdir.c:42:33: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/newdir.c:42:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_new_dir_block’
e2fsprogs-1.47.3/lib/ext2fs/newdir.c:45:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/newdir.c:51:18: throw: if ‘ext2fs_set_rec_len’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/newdir.c:48:13: danger: ‘malloc((long unsigned int)*fs.blocksize)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def387]
e2fsprogs-1.47.3/lib/ext2fs/openfs.c:149:19: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(368)’
e2fsprogs-1.47.3/lib/ext2fs/openfs.c:116:11: enter_function: entry to ‘ext2fs_open2’
e2fsprogs-1.47.3/lib/ext2fs/openfs.c:141:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_open2’
e2fsprogs-1.47.3/lib/ext2fs/openfs.c:145:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/openfs.c:152:20: throw: if ‘ext2fs_safe_getenv’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/openfs.c:149:19: danger: ‘malloc(368)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def388]
e2fsprogs-1.47.3/lib/ext2fs/openfs.c:181:18: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/lib/ext2fs/openfs.c:116:11: enter_function: entry to ‘ext2fs_open2’
e2fsprogs-1.47.3/lib/ext2fs/openfs.c:141:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_open2’
e2fsprogs-1.47.3/lib/ext2fs/openfs.c:145:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/openfs.c:153:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/openfs.c:157:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/openfs.c:158:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/openfs.c:162:33: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/openfs.c:162:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_open2’
e2fsprogs-1.47.3/lib/ext2fs/openfs.c:167:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/openfs.c:173:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/openfs.c:181:18: throw: if the called function throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/openfs.c:181:18: danger: ‘<unknown>’ leaks here; was allocated at [(10)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def389]
e2fsprogs-1.47.3/lib/ext2fs/orphan.c:175:15: warning[-Wanalyzer-malloc-leak]: leak of ‘oi.buf’
e2fsprogs-1.47.3/lib/ext2fs/orphan.c:122:11: enter_function: entry to ‘ext2fs_create_orphan_file’
e2fsprogs-1.47.3/lib/ext2fs/orphan.c:144:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/orphan.c:146:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/orphan.c:157:15: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_create_orphan_file’
e2fsprogs-1.47.3/lib/ext2fs/orphan.c:160:15: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_create_orphan_file’
e2fsprogs-1.47.3/lib/ext2fs/orphan.c:163:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/orphan.c:175:15: throw: if ‘ext2fs_block_iterate3’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/orphan.c:175:15: danger: ‘oi.buf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def390]
e2fsprogs-1.47.3/lib/ext2fs/orphan.c:175:15: warning[-Wanalyzer-malloc-leak]: leak of ‘oi.zerobuf’
e2fsprogs-1.47.3/lib/ext2fs/orphan.c:122:11: enter_function: entry to ‘ext2fs_create_orphan_file’
e2fsprogs-1.47.3/lib/ext2fs/orphan.c:144:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/orphan.c:146:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/orphan.c:157:15: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_create_orphan_file’
e2fsprogs-1.47.3/lib/ext2fs/orphan.c:160:15: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_create_orphan_file’
e2fsprogs-1.47.3/lib/ext2fs/orphan.c:163:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/orphan.c:175:15: throw: if ‘ext2fs_block_iterate3’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/orphan.c:175:15: danger: ‘oi.zerobuf’ leaks here; was allocated at [(8)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def391]
e2fsprogs-1.47.3/lib/ext2fs/punch.c:101:16: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/punch.c:105:18: enter_function: entry to ‘ext2fs_punch_ind’
e2fsprogs-1.47.3/lib/ext2fs/punch.c:118:12: branch_false: following ‘false’ branch (when ‘start <= 4294967295’)...
e2fsprogs-1.47.3/lib/ext2fs/punch.c:120:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/punch.c:125:12: branch_true: following ‘true’ branch (when ‘block_buf’ is NULL)...
e2fsprogs-1.47.3/lib/ext2fs/punch.c:126:46: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/punch.c:126:26: call_function: calling ‘ext2fs_get_array’ from ‘ext2fs_punch_ind’
e2fsprogs-1.47.3/lib/ext2fs/punch.c:126:26: return_function: returning to ‘ext2fs_punch_ind’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/lib/ext2fs/punch.c:127:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/punch.c:129:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/punch.c:134:25: branch_true: following ‘true’ branch (when ‘level != 4’)...
e2fsprogs-1.47.3/lib/ext2fs/punch.c:139:20: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/punch.c:139:20: branch_true: following ‘true’ branch (when ‘start < max’)...
e2fsprogs-1.47.3/lib/ext2fs/punch.c:140:34: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/punch.c:140:34: call_function: calling ‘ind_punch’ from ‘ext2fs_punch_ind’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def392]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:67:13: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(72)’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:55:24: enter_function: entry to ‘qcow2_read_header’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:62:15: call_function: inlined call to ‘ext2fs_get_mem’ from ‘qcow2_read_header’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:65:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:67:13: throw: if ‘ext2fs_llseek’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:67:13: danger: ‘malloc(72)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def393]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:100:13: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_buf’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:171:5: enter_function: entry to ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:183:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:186:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:191:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:193:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:202:43: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: call_function: calling ‘qcow2_read_l1_table’ from ‘qcow2_write_raw_image’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def394]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:100:13: warning[-Wanalyzer-malloc-leak]: leak of ‘l2_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:171:5: enter_function: entry to ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:183:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:186:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:191:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:193:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:202:43: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: call_function: calling ‘qcow2_read_l1_table’ from ‘qcow2_write_raw_image’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def395]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:100:13: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:89:12: enter_function: entry to ‘qcow2_read_l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:96:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_read_l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:96:15: return_function: returning to ‘qcow2_read_l1_table’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:97:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:100:31: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:100:13: throw: if ‘ext2fs_llseek’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:100:13: danger: ‘table’ leaks here; was allocated at [(4)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def396]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:124:13: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_buf’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:171:5: enter_function: entry to ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:183:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:186:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:191:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:193:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:202:43: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: call_function: calling ‘qcow2_read_l1_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:221:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:224:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:226:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:229:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:232:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:236:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: call_function: calling ‘qcow2_read_l2_table’ from ‘qcow2_write_raw_image’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def397]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:124:13: warning[-Wanalyzer-malloc-leak]: leak of ‘l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:171:5: enter_function: entry to ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:183:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:186:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:191:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:193:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:202:43: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: call_function: calling ‘qcow2_read_l1_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:221:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:224:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:226:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:229:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:232:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:236:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: call_function: calling ‘qcow2_read_l2_table’ from ‘qcow2_write_raw_image’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def398]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:124:13: warning[-Wanalyzer-malloc-leak]: leak of ‘l2_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:171:5: enter_function: entry to ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:183:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:186:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:191:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:193:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:202:43: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: call_function: calling ‘qcow2_read_l1_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:221:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:224:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:226:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:229:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:232:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:236:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: call_function: calling ‘qcow2_read_l2_table’ from ‘qcow2_write_raw_image’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def399]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:143:13: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_buf’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:171:5: enter_function: entry to ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:183:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:186:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:191:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:193:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:202:43: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: call_function: calling ‘qcow2_read_l1_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:221:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:224:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:226:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:229:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:232:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:236:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: call_function: calling ‘qcow2_read_l2_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l2_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:242:20: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:242:20: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:246:36: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:247:34: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:250:28: branch_false: following ‘false’ branch (when ‘offset != 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:253:54: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:256:31: call_function: calling ‘qcow2_copy_data’ from ‘qcow2_write_raw_image’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def400]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:143:13: warning[-Wanalyzer-malloc-leak]: leak of ‘l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:171:5: enter_function: entry to ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:183:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:186:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:191:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:193:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:202:43: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: call_function: calling ‘qcow2_read_l1_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:221:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:224:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:226:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:229:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:232:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:236:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: call_function: calling ‘qcow2_read_l2_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l2_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:242:20: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:242:20: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:246:36: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:247:34: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:250:28: branch_false: following ‘false’ branch (when ‘offset != 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:253:54: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:256:31: call_function: calling ‘qcow2_copy_data’ from ‘qcow2_write_raw_image’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def401]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:143:13: warning[-Wanalyzer-malloc-leak]: leak of ‘l2_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:171:5: enter_function: entry to ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:183:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:186:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:191:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:193:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:202:43: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: call_function: calling ‘qcow2_read_l1_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:221:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:224:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:226:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:229:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:232:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:236:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: call_function: calling ‘qcow2_read_l2_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l2_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:242:20: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:242:20: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:246:36: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:247:34: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:250:28: branch_false: following ‘false’ branch (when ‘offset != 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:253:54: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:256:31: call_function: calling ‘qcow2_copy_data’ from ‘qcow2_write_raw_image’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def402]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:146:13: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_buf’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:171:5: enter_function: entry to ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:183:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:186:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:191:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:193:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:202:43: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: call_function: calling ‘qcow2_read_l1_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:221:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:224:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:226:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:229:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:232:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:236:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: call_function: calling ‘qcow2_read_l2_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l2_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:242:20: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:242:20: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:246:36: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:247:34: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:250:28: branch_false: following ‘false’ branch (when ‘offset != 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:253:54: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:256:31: call_function: calling ‘qcow2_copy_data’ from ‘qcow2_write_raw_image’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def403]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:146:13: warning[-Wanalyzer-malloc-leak]: leak of ‘l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:171:5: enter_function: entry to ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:183:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:186:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:191:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:193:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:202:43: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: call_function: calling ‘qcow2_read_l1_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:221:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:224:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:226:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:229:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:232:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:236:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: call_function: calling ‘qcow2_read_l2_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l2_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:242:20: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:242:20: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:246:36: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:247:34: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:250:28: branch_false: following ‘false’ branch (when ‘offset != 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:253:54: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:256:31: call_function: calling ‘qcow2_copy_data’ from ‘qcow2_write_raw_image’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def404]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:146:13: warning[-Wanalyzer-malloc-leak]: leak of ‘l2_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:171:5: enter_function: entry to ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:183:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:186:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:191:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:193:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:202:43: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: call_function: calling ‘qcow2_read_l1_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:221:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:224:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:226:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:229:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:232:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:236:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: call_function: calling ‘qcow2_read_l2_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l2_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:242:20: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:242:20: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:246:36: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:247:34: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:250:28: branch_false: following ‘false’ branch (when ‘offset != 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:253:54: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:256:31: call_function: calling ‘qcow2_copy_data’ from ‘qcow2_write_raw_image’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def405]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:159:30: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_buf’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:171:5: enter_function: entry to ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:183:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:186:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:191:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:193:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:202:43: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: call_function: calling ‘qcow2_read_l1_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:221:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:224:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:226:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:229:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:232:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:236:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: call_function: calling ‘qcow2_read_l2_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l2_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:242:20: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:242:20: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:246:36: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:247:34: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:250:28: branch_false: following ‘false’ branch (when ‘offset != 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:253:54: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:256:31: call_function: calling ‘qcow2_copy_data’ from ‘qcow2_write_raw_image’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def406]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:159:30: warning[-Wanalyzer-malloc-leak]: leak of ‘l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:171:5: enter_function: entry to ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:183:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:186:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:191:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:193:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:202:43: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: call_function: calling ‘qcow2_read_l1_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:221:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:224:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:226:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:229:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:232:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:236:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: call_function: calling ‘qcow2_read_l2_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l2_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:242:20: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:242:20: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:246:36: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:247:34: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:250:28: branch_false: following ‘false’ branch (when ‘offset != 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:253:54: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:256:31: call_function: calling ‘qcow2_copy_data’ from ‘qcow2_write_raw_image’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def407]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:159:30: warning[-Wanalyzer-malloc-leak]: leak of ‘l2_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:171:5: enter_function: entry to ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:183:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:186:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:191:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:193:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:202:43: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: call_function: calling ‘qcow2_read_l1_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:221:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:224:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:226:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:229:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:232:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:236:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: call_function: calling ‘qcow2_read_l2_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:241:23: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l2_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:242:20: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:242:20: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:246:36: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:247:34: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:250:28: branch_false: following ‘false’ branch (when ‘offset != 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:253:54: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:256:31: call_function: calling ‘qcow2_copy_data’ from ‘qcow2_write_raw_image’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def408]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_buf’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:171:5: enter_function: entry to ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:183:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:186:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:191:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:193:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:202:43: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: throw: if ‘ext2fs_llseek’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: danger: ‘copy_buf’ leaks here; was allocated at [(19)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def409]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: warning[-Wanalyzer-malloc-leak]: leak of ‘l2_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:171:5: enter_function: entry to ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:183:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:186:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:191:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:193:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:202:43: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: throw: if ‘ext2fs_llseek’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: danger: ‘l2_table’ leaks here; was allocated at [(12)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def410]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:229:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:171:5: enter_function: entry to ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:178:29: release_memory: ‘l2_table’ is NULL
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:183:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:186:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:191:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:193:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:202:43: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: call_function: calling ‘qcow2_read_l1_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:221:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:224:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:226:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:229:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:229:26: danger: dereference of NULL ‘l1_table + (long unsigned int)l1_index * 8’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def411]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:264:13: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_buf’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:171:5: enter_function: entry to ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:183:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:186:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:191:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:193:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:202:43: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: call_function: calling ‘qcow2_read_l1_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:221:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:224:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:226:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:264:35: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:264:13: throw: if ‘ext2fs_llseek’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:264:13: danger: ‘copy_buf’ leaks here; was allocated at [(19)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def412]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:264:13: warning[-Wanalyzer-malloc-leak]: leak of ‘l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:171:5: enter_function: entry to ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:183:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:186:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:191:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:193:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:202:43: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: call_function: calling ‘qcow2_read_l1_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:221:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:224:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:264:13: throw: if ‘ext2fs_llseek’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:264:13: danger: ‘l1_table’ leaks here; was allocated at [(30)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/29)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def413]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:264:13: warning[-Wanalyzer-malloc-leak]: leak of ‘l2_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:171:5: enter_function: entry to ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:183:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:186:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:191:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:193:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:202:43: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: call_function: calling ‘qcow2_read_l1_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:221:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:224:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:226:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:264:35: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:264:13: throw: if ‘ext2fs_llseek’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:264:13: danger: ‘l2_table’ leaks here; was allocated at [(12)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def414]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:270:16: warning[-Wanalyzer-malloc-leak]: leak of ‘copy_buf’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:171:5: enter_function: entry to ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:183:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:186:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:191:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:193:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:202:43: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: call_function: calling ‘qcow2_read_l1_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:221:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:224:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:226:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:264:35: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:264:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:269:27: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:270:16: throw: if ‘write’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:270:16: danger: ‘copy_buf’ leaks here; was allocated at [(19)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def415]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:270:16: warning[-Wanalyzer-malloc-leak]: leak of ‘l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:171:5: enter_function: entry to ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:183:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:186:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:191:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:193:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:202:43: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: call_function: calling ‘qcow2_read_l1_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:221:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:224:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:264:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:269:27: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:270:16: throw: if ‘write’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:270:16: danger: ‘l1_table’ leaks here; was allocated at [(30)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/29)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def416]
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:270:16: warning[-Wanalyzer-malloc-leak]: leak of ‘l2_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:171:5: enter_function: entry to ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:183:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:186:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:191:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:193:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:202:43: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:207:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: call_function: calling ‘ext2fs_get_memzero’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:211:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:215:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: call_function: calling ‘qcow2_read_l1_table’ from ‘qcow2_write_raw_image’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:220:15: return_function: returning to ‘qcow2_write_raw_image’ from ‘qcow2_read_l1_table’
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:221:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:224:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:226:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:264:35: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:264:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:269:27: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:270:16: throw: if ‘write’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/qcow2.c:270:16: danger: ‘l2_table’ leaks here; was allocated at [(12)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def417]
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:102:18: warning[-Wanalyzer-malloc-leak]: leak of ‘dindir_buf’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:82:11: enter_function: entry to ‘ext2fs_create_resize_inode’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:93:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:95:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:97:18: call_function: calling ‘ext2fs_get_array’ from ‘ext2fs_create_resize_inode’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:97:18: return_function: returning to ‘ext2fs_create_resize_inode’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:98:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:100:19: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:102:18: throw: if ‘ext2fs_read_inode’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:102:18: danger: ‘dindir_buf’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def418]
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:121:26: warning[-Wanalyzer-malloc-leak]: leak of ‘dindir_buf’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:82:11: enter_function: entry to ‘ext2fs_create_resize_inode’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:93:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:95:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:97:18: call_function: calling ‘ext2fs_get_array’ from ‘ext2fs_create_resize_inode’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:97:18: return_function: returning to ‘ext2fs_create_resize_inode’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:98:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:100:19: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:103:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:111:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:117:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:121:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:121:26: throw: if ‘ext2fs_read_ind_block’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:121:26: danger: ‘dindir_buf’ leaks here; was allocated at [(11)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def419]
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:129:26: warning[-Wanalyzer-malloc-leak]: leak of ‘dindir_buf’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:82:11: enter_function: entry to ‘ext2fs_create_resize_inode’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:93:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:95:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:97:18: call_function: calling ‘ext2fs_get_array’ from ‘ext2fs_create_resize_inode’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:97:18: return_function: returning to ‘ext2fs_create_resize_inode’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:98:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:100:19: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:103:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:111:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:117:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:125:39: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:129:26: throw: if ‘ext2fs_alloc_block’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:129:26: danger: ‘dindir_buf’ leaks here; was allocated at [(11)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def420]
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:135:17: warning[-Wanalyzer-malloc-leak]: leak of ‘dindir_buf’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:82:11: enter_function: entry to ‘ext2fs_create_resize_inode’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:93:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:95:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:97:18: call_function: calling ‘ext2fs_get_array’ from ‘ext2fs_create_resize_inode’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:97:18: return_function: returning to ‘ext2fs_create_resize_inode’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:98:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:100:19: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:103:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:111:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:117:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:125:39: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:130:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:132:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:135:17: throw: if ‘ext2fs_iblk_set’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:135:17: danger: ‘dindir_buf’ leaks here; was allocated at [(11)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def421]
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:143:26: warning[-Wanalyzer-malloc-leak]: leak of ‘dindir_buf’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:82:11: enter_function: entry to ‘ext2fs_create_resize_inode’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:93:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:95:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:97:18: call_function: calling ‘ext2fs_get_array’ from ‘ext2fs_create_resize_inode’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:97:18: return_function: returning to ‘ext2fs_create_resize_inode’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:98:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:100:19: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:103:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:111:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:117:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:125:39: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:130:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:132:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:143:26: throw: if ‘ext2fs_inode_size_set’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:143:26: danger: ‘dindir_buf’ leaks here; was allocated at [(11)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def422]
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:182:34: warning[-Wanalyzer-malloc-leak]: leak of ‘dindir_buf’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:82:11: enter_function: entry to ‘ext2fs_create_resize_inode’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:93:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:95:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:97:18: call_function: calling ‘ext2fs_get_array’ from ‘ext2fs_create_resize_inode’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:97:18: return_function: returning to ‘ext2fs_create_resize_inode’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:98:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:100:19: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:103:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:111:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:117:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:125:39: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:130:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:132:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:144:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:146:33: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:151:14: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:153:24: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:158:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:178:27: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:178:27: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:182:34: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:182:34: throw: if ‘ext2fs_read_ind_block’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:182:34: danger: ‘dindir_buf’ leaks here; was allocated at [(11)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def423]
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:228:27: warning[-Wanalyzer-malloc-leak]: leak of ‘dindir_buf’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:82:11: enter_function: entry to ‘ext2fs_create_resize_inode’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:93:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:95:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:97:18: call_function: calling ‘ext2fs_get_array’ from ‘ext2fs_create_resize_inode’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:97:18: return_function: returning to ‘ext2fs_create_resize_inode’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:98:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:100:19: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:103:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:111:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:117:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:125:39: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:130:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:132:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:144:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:146:33: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:151:14: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:226:1: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:227:12: branch_true: following ‘true’ branch (when ‘dindir_dirty != 0’)...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:228:27: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:228:27: throw: if ‘ext2fs_write_ind_block’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/res_gdt.c:228:27: danger: ‘dindir_buf’ leaks here; was allocated at [(11)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def424]
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:249:13: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(strlen(*fs.device_name) + 80)’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:230:18: enter_function: entry to ‘read_bitmaps_range_prepare’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:245:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘read_bitmaps_range_prepare’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:249:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:249:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:250:21: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:250:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:251:25: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:251:25: throw: if ‘ext2fs_free_block_bitmap’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:249:13: danger: ‘malloc(strlen(*fs.device_name) + 80)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def425]
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:251:25: warning[-Wanalyzer-malloc-leak]: leak of ‘thread_ids’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:645:11: enter_function: entry to ‘ext2fs_read_block_bitmap’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:647:16: call_function: calling ‘ext2fs_rw_bitmaps’ from ‘ext2fs_read_block_bitmap’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def426]
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:251:25: warning[-Wanalyzer-malloc-leak]: leak of ‘thread_infos’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:645:11: enter_function: entry to ‘ext2fs_read_block_bitmap’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:647:16: call_function: calling ‘ext2fs_rw_bitmaps’ from ‘ext2fs_read_block_bitmap’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def427]
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:254:26: warning[-Wanalyzer-malloc-leak]: leak of ‘thread_ids’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:645:11: enter_function: entry to ‘ext2fs_read_block_bitmap’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:647:16: call_function: calling ‘ext2fs_rw_bitmaps’ from ‘ext2fs_read_block_bitmap’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def428]
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:254:26: warning[-Wanalyzer-malloc-leak]: leak of ‘thread_infos’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:645:11: enter_function: entry to ‘ext2fs_read_block_bitmap’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:647:16: call_function: calling ‘ext2fs_rw_bitmaps’ from ‘ext2fs_read_block_bitmap’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def429]
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:261:25: warning[-Wanalyzer-malloc-leak]: leak of ‘thread_ids’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:640:11: enter_function: entry to ‘ext2fs_read_inode_bitmap’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:642:16: call_function: calling ‘ext2fs_rw_bitmaps’ from ‘ext2fs_read_inode_bitmap’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def430]
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:261:25: warning[-Wanalyzer-malloc-leak]: leak of ‘thread_infos’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:640:11: enter_function: entry to ‘ext2fs_read_inode_bitmap’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:642:16: call_function: calling ‘ext2fs_rw_bitmaps’ from ‘ext2fs_read_inode_bitmap’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def431]
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:264:26: warning[-Wanalyzer-malloc-leak]: leak of ‘thread_ids’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:640:11: enter_function: entry to ‘ext2fs_read_inode_bitmap’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:642:16: call_function: calling ‘ext2fs_rw_bitmaps’ from ‘ext2fs_read_inode_bitmap’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def432]
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:264:26: warning[-Wanalyzer-malloc-leak]: leak of ‘thread_infos’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:640:11: enter_function: entry to ‘ext2fs_read_inode_bitmap’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:642:16: call_function: calling ‘ext2fs_rw_bitmaps’ from ‘ext2fs_read_inode_bitmap’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def433]
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:273:17: warning[-Wanalyzer-malloc-leak]: leak of ‘thread_ids’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:645:11: enter_function: entry to ‘ext2fs_read_block_bitmap’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:647:16: call_function: calling ‘ext2fs_rw_bitmaps’ from ‘ext2fs_read_block_bitmap’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def434]
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:273:17: warning[-Wanalyzer-malloc-leak]: leak of ‘thread_infos’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:645:11: enter_function: entry to ‘ext2fs_read_block_bitmap’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:647:16: call_function: calling ‘ext2fs_rw_bitmaps’ from ‘ext2fs_read_block_bitmap’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def435]
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:277:17: warning[-Wanalyzer-malloc-leak]: leak of ‘thread_ids’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:640:11: enter_function: entry to ‘ext2fs_read_inode_bitmap’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:642:16: call_function: calling ‘ext2fs_rw_bitmaps’ from ‘ext2fs_read_inode_bitmap’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def436]
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:277:17: warning[-Wanalyzer-malloc-leak]: leak of ‘thread_infos’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:640:11: enter_function: entry to ‘ext2fs_read_inode_bitmap’
e2fsprogs-1.47.3/lib/ext2fs/rw_bitmaps.c:642:16: call_function: calling ‘ext2fs_rw_bitmaps’ from ‘ext2fs_read_inode_bitmap’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def437]
e2fsprogs-1.47.3/lib/ext2fs/symlink.c:81:20: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)*fs.blocksize)’
e2fsprogs-1.47.3/lib/ext2fs/symlink.c:47:11: enter_function: entry to ‘ext2fs_symlink’
e2fsprogs-1.47.3/lib/ext2fs/symlink.c:59:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/symlink.c:65:38: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/symlink.c:66:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/symlink.c:74:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/symlink.c:74:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘ext2fs_symlink’
e2fsprogs-1.47.3/lib/ext2fs/symlink.c:77:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/symlink.c:82:12: branch_true: following ‘true’ branch (when ‘target_len > 59’)...
e2fsprogs-1.47.3/lib/ext2fs/symlink.c:83:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/symlink.c:83:26: throw: if ‘ext2fs_find_inode_goal’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/symlink.c:81:20: danger: ‘malloc((long unsigned int)*fs.blocksize)’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def438]
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:365:23: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3832:21: enter_function: entry to ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:12: branch_false: following ‘false’ branch (when ‘tdb’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3848:9: call_function: inlined call to ‘tdb_io_init’ from ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3854:12: branch_true: following ‘true’ branch (when ‘log_ctx’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3855:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3864:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3875:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3877:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:12: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3888:21: call_function: calling ‘tdb_new_database’ from ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3888:21: return_function: returning to ‘ext2fs_tdb_open_ex’ from ‘tdb_new_database’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3888:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3892:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3998:13: call_function: calling ‘tdb_brlock’ from ‘ext2fs_tdb_open_ex’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def439]
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:365:23: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3832:21: enter_function: entry to ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:43: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:12: branch_false: following ‘false’ branch (when ‘tdb’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3848:9: call_function: inlined call to ‘tdb_io_init’ from ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3854:12: branch_true: following ‘true’ branch (when ‘log_ctx’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3855:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3864:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3875:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3877:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:24: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3902:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3902:13: call_function: calling ‘tdb_brlock’ from ‘ext2fs_tdb_open_ex’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def440]
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:375:25: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3832:21: enter_function: entry to ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:12: branch_false: following ‘false’ branch (when ‘tdb’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3848:9: call_function: inlined call to ‘tdb_io_init’ from ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3854:12: branch_true: following ‘true’ branch (when ‘log_ctx’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3855:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3864:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3875:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3877:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:12: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3888:21: call_function: calling ‘tdb_new_database’ from ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3888:21: return_function: returning to ‘ext2fs_tdb_open_ex’ from ‘tdb_new_database’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3888:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3892:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3998:13: call_function: calling ‘tdb_brlock’ from ‘ext2fs_tdb_open_ex’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def441]
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:375:25: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3832:21: enter_function: entry to ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:43: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:12: branch_false: following ‘false’ branch (when ‘tdb’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3848:9: call_function: inlined call to ‘tdb_io_init’ from ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3854:12: branch_true: following ‘true’ branch (when ‘log_ctx’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3855:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3864:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3875:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3877:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:24: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3902:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3902:13: call_function: calling ‘tdb_brlock’ from ‘ext2fs_tdb_open_ex’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def442]
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:1001:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3832:21: enter_function: entry to ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:12: branch_false: following ‘false’ branch (when ‘tdb’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3848:9: call_function: inlined call to ‘tdb_io_init’ from ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3854:12: branch_true: following ‘true’ branch (when ‘log_ctx’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3855:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3864:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3875:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3877:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:24: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3902:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3902:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3909:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3926:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3926:48: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3926:48: call_function: calling ‘tdb_new_database’ from ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3926:48: return_function: returning to ‘ext2fs_tdb_open_ex’ from ‘tdb_new_database’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3926:21: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3930:24: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3936:12: branch_true: following ‘true’ branch (when ‘rev == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3937:28: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3942:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3945:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3945:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3951:41: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3951:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3959:27: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3959:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3964:25: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3968:9: call_function: calling ‘tdb_mmap’ from ‘ext2fs_tdb_open_ex’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def443]
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:1012:25: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3832:21: enter_function: entry to ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:12: branch_false: following ‘false’ branch (when ‘tdb’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3848:9: call_function: inlined call to ‘tdb_io_init’ from ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3854:12: branch_true: following ‘true’ branch (when ‘log_ctx’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3855:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3864:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3875:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3877:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:24: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3902:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3902:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3909:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3920:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3921:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3920:13: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3923:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3942:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3945:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3945:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3951:41: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3951:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3959:27: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3959:27: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3959:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3964:25: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3968:9: call_function: calling ‘tdb_mmap’ from ‘ext2fs_tdb_open_ex’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def444]
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:1012:25: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3832:21: enter_function: entry to ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:43: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:12: branch_false: following ‘false’ branch (when ‘tdb’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3848:9: call_function: inlined call to ‘tdb_io_init’ from ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3854:12: branch_true: following ‘true’ branch (when ‘log_ctx’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3855:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3864:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3875:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3877:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:24: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3902:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3902:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3909:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3920:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3921:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3920:13: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3923:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3942:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3945:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3945:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3951:41: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3951:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3959:27: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3959:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3964:25: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3968:9: call_function: calling ‘tdb_mmap’ from ‘ext2fs_tdb_open_ex’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def445]
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:1017:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3832:21: enter_function: entry to ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:12: branch_false: following ‘false’ branch (when ‘tdb’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3848:9: call_function: inlined call to ‘tdb_io_init’ from ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3854:12: branch_true: following ‘true’ branch (when ‘log_ctx’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3855:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3864:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3875:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3877:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:24: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3902:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3902:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3909:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3926:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3926:48: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3926:48: call_function: calling ‘tdb_new_database’ from ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3926:48: return_function: returning to ‘ext2fs_tdb_open_ex’ from ‘tdb_new_database’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3926:21: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3930:24: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3936:12: branch_true: following ‘true’ branch (when ‘rev == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3937:28: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3942:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3945:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3945:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3951:41: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3951:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3959:27: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3959:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3964:25: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3968:9: call_function: calling ‘tdb_mmap’ from ‘ext2fs_tdb_open_ex’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def446]
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:1164:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3475:5: enter_function: entry to ‘ext2fs_tdb_store’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3483:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3490:13: call_function: calling ‘tdb_lock’ from ‘ext2fs_tdb_store’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3490:13: return_function: returning to ‘ext2fs_tdb_store’ from ‘tdb_lock’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3490:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3494:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3494:12: branch_false: following ‘false’ branch (when ‘flag != 2’)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3501:21: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3501:21: call_function: calling ‘tdb_update_hash’ from ‘ext2fs_tdb_store’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def447]
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:1425:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘buf’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:1562:12: enter_function: entry to ‘transaction_expand_file’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:1562:12: call_function: calling ‘transaction_write’ from ‘transaction_expand_file’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def448]
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:1459:17: warning[-Wanalyzer-null-argument]: use of NULL ‘buf’ where non-null expected
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:1562:12: enter_function: entry to ‘transaction_expand_file’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:1562:12: call_function: calling ‘transaction_write’ from ‘transaction_expand_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def449]
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:2200:13: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3832:21: enter_function: entry to ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:12: branch_false: following ‘false’ branch (when ‘tdb’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3848:9: call_function: inlined call to ‘tdb_io_init’ from ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3854:12: branch_true: following ‘true’ branch (when ‘log_ctx’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3855:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3864:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3875:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3877:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:24: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3902:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3902:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3909:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3942:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3945:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3945:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3951:41: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3951:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3959:27: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3959:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3964:25: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3983:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3990:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3990:13: call_function: calling ‘ext2fs_tdb_transaction_recover’ from ‘ext2fs_tdb_open_ex’
Error: GCC_ANALYZER_WARNING: [#def450]
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3780:13: warning[-Wanalyzer-fd-use-without-check]: ‘write’ on possibly invalid file descriptor ‘-1’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3832:21: enter_function: entry to ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:12: branch_false: following ‘false’ branch (when ‘tdb’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3848:9: call_function: inlined call to ‘tdb_io_init’ from ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3854:12: branch_true: following ‘true’ branch (when ‘log_ctx’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3855:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3864:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3875:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3877:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:12: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3888:21: call_function: calling ‘tdb_new_database’ from ‘ext2fs_tdb_open_ex’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def451]
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3780:13: warning[-Wanalyzer-malloc-leak]: leak of ‘newdb’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3755:44: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3755:12: branch_false: following ‘false’ branch (when ‘newdb’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3759:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3761:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3769:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3769:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3772:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3772:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3776:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3780:13: throw: if ‘write’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3780:13: danger: ‘newdb’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def452]
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3780:13: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3832:21: enter_function: entry to ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:43: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:12: branch_false: following ‘false’ branch (when ‘tdb’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3848:9: call_function: inlined call to ‘tdb_io_init’ from ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3854:12: branch_true: following ‘true’ branch (when ‘log_ctx’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3855:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3864:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3875:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3877:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:12: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3888:21: call_function: calling ‘tdb_new_database’ from ‘ext2fs_tdb_open_ex’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def453]
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3869:17: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3832:21: enter_function: entry to ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:43: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:12: branch_false: following ‘false’ branch (when ‘tdb’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3848:9: call_function: inlined call to ‘tdb_io_init’ from ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3854:12: branch_true: following ‘true’ branch (when ‘log_ctx’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3855:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3864:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3869:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3869:17: throw: if the called function throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3869:17: danger: ‘tdb’ leaks here; was allocated at [(2)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def454]
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3889:25: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3832:21: enter_function: entry to ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:43: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:12: branch_false: following ‘false’ branch (when ‘tdb’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3848:9: call_function: inlined call to ‘tdb_io_init’ from ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3854:12: branch_true: following ‘true’ branch (when ‘log_ctx’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3855:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3864:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3875:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3877:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:12: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3888:21: call_function: calling ‘tdb_new_database’ from ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3888:21: return_function: returning to ‘ext2fs_tdb_open_ex’ from ‘tdb_new_database’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3888:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3889:25: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3889:25: throw: if the called function throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3889:25: danger: ‘tdb’ leaks here; was allocated at [(2)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def455]
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:24: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3832:21: enter_function: entry to ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:43: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:12: branch_false: following ‘false’ branch (when ‘tdb’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3848:9: call_function: inlined call to ‘tdb_io_init’ from ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3854:12: branch_true: following ‘true’ branch (when ‘log_ctx’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3855:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3864:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3875:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3877:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:24: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:24: throw: if ‘open’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:24: danger: ‘tdb’ leaks here; was allocated at [(2)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def456]
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3896:17: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3832:21: enter_function: entry to ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:43: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:12: branch_false: following ‘false’ branch (when ‘tdb’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3848:9: call_function: inlined call to ‘tdb_io_init’ from ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3854:12: branch_true: following ‘true’ branch (when ‘log_ctx’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3855:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3864:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3875:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3877:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:24: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3896:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3896:17: throw: if the called function throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3896:17: danger: ‘tdb’ leaks here; was allocated at [(2)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def457]
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3913:25: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3832:21: enter_function: entry to ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:43: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:12: branch_false: following ‘false’ branch (when ‘tdb’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3848:9: call_function: inlined call to ‘tdb_io_init’ from ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3854:12: branch_true: following ‘true’ branch (when ‘log_ctx’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3855:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3864:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3875:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3877:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:24: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3902:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3902:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3909:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3909:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3910:24: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3909:13: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3911:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3912:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3913:25: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3913:25: throw: if the called function throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3913:25: danger: ‘tdb’ leaks here; was allocated at [(2)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def458]
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3946:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3832:21: enter_function: entry to ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:12: branch_false: following ‘false’ branch (when ‘tdb’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3848:9: call_function: inlined call to ‘tdb_io_init’ from ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3854:12: branch_true: following ‘true’ branch (when ‘log_ctx’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3855:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3864:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3875:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3877:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:24: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3902:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3902:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3909:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3926:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3926:48: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3926:48: call_function: calling ‘tdb_new_database’ from ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3926:48: return_function: returning to ‘ext2fs_tdb_open_ex’ from ‘tdb_new_database’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3926:21: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3930:24: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3936:12: branch_true: following ‘true’ branch (when ‘rev == 0’)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3937:28: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3942:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3945:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3945:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3946:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3946:17: throw: if the called function throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3946:17: danger: ‘<unknown>’ leaks here; was allocated at [(23)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def459]
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3946:17: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3832:21: enter_function: entry to ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:43: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3843:12: branch_false: following ‘false’ branch (when ‘tdb’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3848:9: call_function: inlined call to ‘tdb_io_init’ from ‘ext2fs_tdb_open_ex’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3854:12: branch_true: following ‘true’ branch (when ‘log_ctx’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3855:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3864:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3868:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3875:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3877:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3885:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:24: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3895:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3902:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3902:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3909:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3920:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3921:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3920:13: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3923:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3942:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3945:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3945:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3946:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3946:17: throw: if the called function throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3946:17: danger: ‘tdb’ leaks here; was allocated at [(2)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def460]
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:4018:21: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3817:21: enter_function: entry to ‘ext2fs_tdb_open’
e2fsprogs-1.47.3/lib/ext2fs/tdb.c:3820:16: call_function: calling ‘ext2fs_tdb_open_ex’ from ‘ext2fs_tdb_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def461]
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:156:9: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(96)’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:139:18: enter_function: entry to ‘test_open’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:146:12: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:148:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘test_open’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:153:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘test_open’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:156:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:157:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘test_open’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:171:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:172:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:172:26: throw: if the called function throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:156:9: danger: ‘malloc(96)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def462]
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:172:26: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:139:18: enter_function: entry to ‘test_open’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:146:12: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:148:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘test_open’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:157:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘test_open’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:171:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:172:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:172:26: throw: if the called function throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:172:26: danger: ‘<unknown>’ leaks here; was allocated at [(8)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def463]
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:187:22: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:139:18: enter_function: entry to ‘test_open’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:146:12: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:148:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘test_open’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:157:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘test_open’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:171:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:179:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:187:22: throw: if ‘ext2fs_safe_getenv’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:187:22: danger: ‘<unknown>’ leaks here; was allocated at [(8)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def464]
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:193:22: warning[-Wanalyzer-file-leak]: leak of FILE
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:139:18: enter_function: entry to ‘test_open’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:146:12: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:148:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘test_open’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:171:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:179:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:187:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:188:33: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:188:33: acquire_resource: opened here
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:189:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:192:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:193:22: throw: if ‘ext2fs_safe_getenv’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:193:22: danger: leaks here; was opened at [(12)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def465]
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:193:22: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:139:18: enter_function: entry to ‘test_open’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:146:12: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:148:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘test_open’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:171:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:179:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:187:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:188:33: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:188:33: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:189:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:192:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:193:22: throw: if ‘ext2fs_safe_getenv’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:193:22: danger: ‘<unknown>’ leaks here; was allocated at [(12)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def466]
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:197:22: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:139:18: enter_function: entry to ‘test_open’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:146:12: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:148:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘test_open’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:157:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘test_open’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:171:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:179:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:189:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:190:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:193:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:196:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:197:22: throw: if ‘ext2fs_safe_getenv’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:197:22: danger: ‘<unknown>’ leaks here; was allocated at [(8)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def467]
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:201:22: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:139:18: enter_function: entry to ‘test_open’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:146:12: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:148:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘test_open’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:157:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘test_open’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:171:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:179:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:189:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:190:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:193:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:196:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:201:22: throw: if ‘ext2fs_safe_getenv’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:201:22: danger: ‘<unknown>’ leaks here; was allocated at [(8)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def468]
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:205:22: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:139:18: enter_function: entry to ‘test_open’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:146:12: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:148:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘test_open’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:157:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘test_open’
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:171:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:179:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:189:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:190:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:193:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:196:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:201:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:204:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:205:22: throw: if ‘ext2fs_safe_getenv’ throws an exception...
e2fsprogs-1.47.3/lib/ext2fs/test_io.c:205:22: danger: ‘<unknown>’ leaks here; was allocated at [(8)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def469]
e2fsprogs-1.47.3/lib/ext2fs/undo_io.c:398:22: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(*data.tdb_data_size)’
e2fsprogs-1.47.3/lib/ext2fs/undo_io.c:880:18: enter_function: entry to ‘undo_write_blk64’
e2fsprogs-1.47.3/lib/ext2fs/undo_io.c:888:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ext2fs/undo_io.c:892:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/ext2fs/undo_io.c:892:18: call_function: calling ‘undo_write_tdb’ from ‘undo_write_blk64’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def470]
e2fsprogs-1.47.3/lib/ss/error.c:28:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ss_name(sci_idx)’
e2fsprogs-1.47.3/lib/ss/error.c:62:6: enter_function: entry to ‘ss_error’
e2fsprogs-1.47.3/lib/ss/error.c:68:14: call_function: calling ‘ss_name’ from ‘ss_error’
e2fsprogs-1.47.3/lib/ss/error.c:68:14: return_function: returning to ‘ss_error’ from ‘ss_name’
e2fsprogs-1.47.3/lib/ss/error.c:69:5: throw: if ‘com_err_va’ throws an exception...
e2fsprogs-1.47.3/lib/ss/error.c:28:13: danger: ‘ss_name(sci_idx)’ leaks here; was allocated at [(6)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def471]
e2fsprogs-1.47.3/lib/ss/error.c:69:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
e2fsprogs-1.47.3/lib/ss/error.c:62:6: enter_function: entry to ‘ss_error’
e2fsprogs-1.47.3/lib/ss/error.c:67:5: acquire_resource: ‘va_start’ called here
e2fsprogs-1.47.3/lib/ss/error.c:68:14: call_function: calling ‘ss_name’ from ‘ss_error’
e2fsprogs-1.47.3/lib/ss/error.c:68:14: return_function: returning to ‘ss_error’ from ‘ss_name’
e2fsprogs-1.47.3/lib/ss/error.c:69:5: throw: if ‘com_err_va’ throws an exception...
e2fsprogs-1.47.3/lib/ss/error.c:69:5: danger: missing call to ‘va_end’ to match ‘va_start’ at [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def472]
e2fsprogs-1.47.3/lib/ss/help.c:65:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
e2fsprogs-1.47.3/lib/ss/help.c:51:8: branch_false: following ‘false’ branch (when ‘argc != 1’)...
e2fsprogs-1.47.3/lib/ss/help.c:55:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:55:13: branch_true: following ‘true’ branch (when ‘argc != 2’)...
e2fsprogs-1.47.3/lib/ss/help.c:57:30: branch_true: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:57:18: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ss/help.c:58:12: branch_false: following ‘false’ branch (when ‘buffer’ is non-NULL)...
e2fsprogs-1.47.3/lib/ss/help.c:63:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:65:9: throw: if ‘ss_perror’ throws an exception...
e2fsprogs-1.47.3/lib/ss/help.c:65:9: danger: ‘buffer’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def473]
e2fsprogs-1.47.3/lib/ss/help.c:90:14: warning[-Wanalyzer-malloc-leak]: leak of ‘buffer’
e2fsprogs-1.47.3/lib/ss/help.c:51:8: branch_false: following ‘false’ branch (when ‘argc != 1’)...
e2fsprogs-1.47.3/lib/ss/help.c:55:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:55:13: branch_false: following ‘false’ branch (when ‘argc == 2’)...
e2fsprogs-1.47.3/lib/ss/help.c:70:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:70:8: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/help.c:74:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:74:8: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/help.c:74:8: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:78:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ss/help.c:79:25: branch_true: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:79:18: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ss/help.c:81:12: branch_false: following ‘false’ branch (when ‘buffer’ is non-NULL)...
e2fsprogs-1.47.3/lib/ss/help.c:86:16: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:90:14: throw: if ‘open’ throws an exception...
e2fsprogs-1.47.3/lib/ss/help.c:90:14: danger: ‘buffer’ leaks here; was allocated at [(11)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def474]
e2fsprogs-1.47.3/lib/ss/help.c:105:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/lib/ss/help.c:51:8: branch_false: following ‘false’ branch (when ‘argc != 1’)...
e2fsprogs-1.47.3/lib/ss/help.c:55:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:55:13: branch_false: following ‘false’ branch (when ‘argc == 2’)...
e2fsprogs-1.47.3/lib/ss/help.c:70:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:70:8: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/help.c:74:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:74:8: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/help.c:74:8: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:78:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ss/help.c:79:25: branch_true: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:79:18: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ss/help.c:81:12: branch_false: following ‘false’ branch (when ‘buffer’ is non-NULL)...
e2fsprogs-1.47.3/lib/ss/help.c:86:16: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:92:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/help.c:78:66: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:95:8: branch_true: following ‘true’ branch (when ‘fd < 0’)...
e2fsprogs-1.47.3/lib/ss/help.c:97:43: branch_true: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:97:21: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ss/help.c:98:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/lib/ss/help.c:103:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:105:9: throw: if ‘ss_perror’ throws an exception...
e2fsprogs-1.47.3/lib/ss/help.c:105:9: danger: ‘buf’ leaks here; was allocated at [(19)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def475]
e2fsprogs-1.47.3/lib/ss/help.c:111:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
e2fsprogs-1.47.3/lib/ss/help.c:51:8: branch_false: following ‘false’ branch (when ‘argc != 1’)...
e2fsprogs-1.47.3/lib/ss/help.c:55:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:55:13: branch_false: following ‘false’ branch (when ‘argc == 2’)...
e2fsprogs-1.47.3/lib/ss/help.c:70:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:70:8: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/help.c:74:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:74:8: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/help.c:74:8: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:78:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ss/help.c:79:25: branch_true: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:81:12: branch_false: following ‘false’ branch (when ‘buffer’ is non-NULL)...
e2fsprogs-1.47.3/lib/ss/help.c:86:16: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:90:14: acquire_resource: opened here
e2fsprogs-1.47.3/lib/ss/help.c:95:8: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
e2fsprogs-1.47.3/lib/ss/help.c:109:21: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:111:9: throw: if ‘ss_perror’ throws an exception...
e2fsprogs-1.47.3/lib/ss/help.c:111:9: danger: ‘fd’ leaks here; was opened at [(13)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def476]
e2fsprogs-1.47.3/lib/ss/help.c:112:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
e2fsprogs-1.47.3/lib/ss/help.c:51:8: branch_false: following ‘false’ branch (when ‘argc != 1’)...
e2fsprogs-1.47.3/lib/ss/help.c:55:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:55:13: branch_false: following ‘false’ branch (when ‘argc == 2’)...
e2fsprogs-1.47.3/lib/ss/help.c:70:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:70:8: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/help.c:74:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:74:8: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/help.c:74:8: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:78:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ss/help.c:79:25: branch_true: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:81:12: branch_false: following ‘false’ branch (when ‘buffer’ is non-NULL)...
e2fsprogs-1.47.3/lib/ss/help.c:86:16: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:90:14: acquire_resource: opened here
e2fsprogs-1.47.3/lib/ss/help.c:95:8: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
e2fsprogs-1.47.3/lib/ss/help.c:109:21: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:112:16: throw: if ‘close’ throws an exception...
e2fsprogs-1.47.3/lib/ss/help.c:112:16: danger: ‘fd’ leaks here; was opened at [(13)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def477]
e2fsprogs-1.47.3/lib/ss/help.c:116:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
e2fsprogs-1.47.3/lib/ss/help.c:51:8: branch_false: following ‘false’ branch (when ‘argc != 1’)...
e2fsprogs-1.47.3/lib/ss/help.c:55:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:55:13: branch_false: following ‘false’ branch (when ‘argc == 2’)...
e2fsprogs-1.47.3/lib/ss/help.c:70:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:70:8: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/help.c:74:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:74:8: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/help.c:74:8: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:78:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ss/help.c:79:25: branch_true: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:81:12: branch_false: following ‘false’ branch (when ‘buffer’ is non-NULL)...
e2fsprogs-1.47.3/lib/ss/help.c:86:16: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:90:14: acquire_resource: opened here
e2fsprogs-1.47.3/lib/ss/help.c:95:8: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
e2fsprogs-1.47.3/lib/ss/help.c:109:21: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:116:9: throw: if ‘ss_page_stdin’ throws an exception...
e2fsprogs-1.47.3/lib/ss/help.c:116:9: danger: ‘fd’ leaks here; was opened at [(13)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def478]
e2fsprogs-1.47.3/lib/ss/help.c:118:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
e2fsprogs-1.47.3/lib/ss/help.c:51:8: branch_false: following ‘false’ branch (when ‘argc != 1’)...
e2fsprogs-1.47.3/lib/ss/help.c:55:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:55:13: branch_false: following ‘false’ branch (when ‘argc == 2’)...
e2fsprogs-1.47.3/lib/ss/help.c:70:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:70:8: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/help.c:74:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:74:8: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/help.c:74:8: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:78:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/ss/help.c:79:25: branch_true: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:81:12: branch_false: following ‘false’ branch (when ‘buffer’ is non-NULL)...
e2fsprogs-1.47.3/lib/ss/help.c:86:16: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:90:14: acquire_resource: opened here
e2fsprogs-1.47.3/lib/ss/help.c:95:8: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
e2fsprogs-1.47.3/lib/ss/help.c:109:21: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:118:16: throw: if ‘close’ throws an exception...
e2fsprogs-1.47.3/lib/ss/help.c:118:16: danger: ‘fd’ leaks here; was opened at [(13)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def479]
e2fsprogs-1.47.3/lib/ss/help.c:147:5: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(info_dir)’
e2fsprogs-1.47.3/lib/ss/help.c:139:8: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/help.c:143:14: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ss/help.c:143:8: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/help.c:147:5: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:147:5: danger: ‘opendir(info_dir)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def480]
e2fsprogs-1.47.3/lib/ss/help.c:153:8: warning[-Wanalyzer-deref-before-check]: check of ‘dirs’ for NULL after already dereferencing it
e2fsprogs-1.47.3/lib/ss/help.c:139:8: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/help.c:143:8: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/help.c:147:5: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:149:22: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/help.c:152:39: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/help.c:153:8: danger: pointer ‘dirs’ is checked for NULL here but it was already dereferenced at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def481]
e2fsprogs-1.47.3/lib/ss/invocation.c:47:9: warning[-Wanalyzer-malloc-leak]: leak of ‘new_table’
e2fsprogs-1.47.3/lib/ss/invocation.c:36:33: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ss/invocation.c:37:12: branch_false: following ‘false’ branch (when ‘new_table’ is non-NULL)...
e2fsprogs-1.47.3/lib/ss/invocation.c:39:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/invocation.c:41:12: branch_false: following ‘false’ branch (when ‘table’ is non-NULL)...
e2fsprogs-1.47.3/lib/ss/invocation.c:47:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/invocation.c:47:9: throw: if ‘initialize_ss_error_table’ throws an exception...
e2fsprogs-1.47.3/lib/ss/invocation.c:47:9: danger: ‘new_table’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def482]
e2fsprogs-1.47.3/lib/ss/invocation.c:47:9: warning[-Wanalyzer-malloc-leak]: leak of ‘table’
e2fsprogs-1.47.3/lib/ss/invocation.c:37:12: branch_false: following ‘false’ branch (when ‘new_table’ is non-NULL)...
e2fsprogs-1.47.3/lib/ss/invocation.c:39:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/invocation.c:41:12: branch_true: following ‘true’ branch (when ‘table’ is NULL)...
e2fsprogs-1.47.3/lib/ss/invocation.c:42:38: branch_true: ...to here
e2fsprogs-1.47.3/lib/ss/invocation.c:42:38: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/ss/invocation.c:43:20: branch_false: following ‘false’ branch (when ‘table’ is non-NULL)...
e2fsprogs-1.47.3/lib/ss/invocation.c:45:28: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/invocation.c:47:9: throw: if ‘initialize_ss_error_table’ throws an exception...
e2fsprogs-1.47.3/lib/ss/invocation.c:47:9: danger: ‘table’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def483]
e2fsprogs-1.47.3/lib/ss/listen.c:40:1: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘<return-value>’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def484]
e2fsprogs-1.47.3/lib/ss/pager.c:79:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘filedes[0]’
e2fsprogs-1.47.3/lib/ss/pager.c:78:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/pager.c:81:16: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/pager.c:79:23: danger: ‘filedes[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def485]
e2fsprogs-1.47.3/lib/ss/pager.c:79:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘filedes[1]’
e2fsprogs-1.47.3/lib/ss/pager.c:78:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/pager.c:81:16: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/pager.c:79:23: danger: ‘filedes[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def486]
e2fsprogs-1.47.3/lib/ss/pager.c:88:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(filedes[0], 0)’
e2fsprogs-1.47.3/lib/ss/pager.c:78:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/pager.c:81:16: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/pager.c:88:21: acquire_resource: opened here
e2fsprogs-1.47.3/lib/ss/pager.c:88:20: danger: ‘dup2(filedes[0], 0)’ leaks here; was opened at [(6)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def487]
e2fsprogs-1.47.3/lib/ss/pager.c:96:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘filedes[0]’
e2fsprogs-1.47.3/lib/ss/pager.c:78:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/pager.c:81:16: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/pager.c:96:24: throw: if ‘close’ throws an exception...
e2fsprogs-1.47.3/lib/ss/pager.c:96:24: danger: ‘filedes[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def488]
e2fsprogs-1.47.3/lib/ss/pager.c:96:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘filedes[1]’
e2fsprogs-1.47.3/lib/ss/pager.c:78:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/pager.c:81:16: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/pager.c:96:24: throw: if ‘close’ throws an exception...
e2fsprogs-1.47.3/lib/ss/pager.c:96:24: danger: ‘filedes[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def489]
e2fsprogs-1.47.3/lib/ss/pager.c:134:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘filedes[0]’
e2fsprogs-1.47.3/lib/ss/pager.c:74:5: enter_function: entry to ‘ss_pager_create’
e2fsprogs-1.47.3/lib/ss/pager.c:78:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/pager.c:81:16: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/pager.c:88:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/pager.c:90:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/pager.c:90:17: call_function: calling ‘ss_page_stdin’ from ‘ss_pager_create’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def490]
e2fsprogs-1.47.3/lib/ss/pager.c:134:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘filedes[1]’
e2fsprogs-1.47.3/lib/ss/pager.c:74:5: enter_function: entry to ‘ss_pager_create’
e2fsprogs-1.47.3/lib/ss/pager.c:78:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/pager.c:81:16: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/pager.c:88:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/ss/pager.c:90:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/ss/pager.c:90:17: call_function: calling ‘ss_page_stdin’ from ‘ss_pager_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def491]
e2fsprogs-1.47.3/lib/support/mkquota.c:185:18: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(112)’
e2fsprogs-1.47.3/lib/support/mkquota.c:165:11: enter_function: entry to ‘quota_write_inode’
e2fsprogs-1.47.3/lib/support/mkquota.c:174:12: branch_false: following ‘false’ branch (when ‘qctx’ is non-NULL)...
e2fsprogs-1.47.3/lib/support/mkquota.c:177:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/mkquota.c:178:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘quota_write_inode’
e2fsprogs-1.47.3/lib/support/mkquota.c:185:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/mkquota.c:185:18: throw: if ‘ext2fs_read_bitmaps’ throws an exception...
e2fsprogs-1.47.3/lib/support/mkquota.c:185:18: danger: ‘malloc(112)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def492]
e2fsprogs-1.47.3/lib/support/mkquota.c:192:22: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(112)’
e2fsprogs-1.47.3/lib/support/mkquota.c:165:11: enter_function: entry to ‘quota_write_inode’
e2fsprogs-1.47.3/lib/support/mkquota.c:174:12: branch_false: following ‘false’ branch (when ‘qctx’ is non-NULL)...
e2fsprogs-1.47.3/lib/support/mkquota.c:177:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/mkquota.c:178:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘quota_write_inode’
e2fsprogs-1.47.3/lib/support/mkquota.c:185:18: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/mkquota.c:186:12: branch_false: following ‘false’ branch (when ‘retval == 0’)...
e2fsprogs-1.47.3/lib/support/mkquota.c:186:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/mkquota.c:191:25: branch_true: following ‘true’ branch (when ‘qtype != 3’)...
e2fsprogs-1.47.3/lib/support/mkquota.c:192:22: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/mkquota.c:196:20: branch_false: following ‘false’ branch (when ‘dict’ is non-NULL)...
e2fsprogs-1.47.3/lib/support/mkquota.c:199:26: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/mkquota.c:199:26: throw: if ‘quota_file_create’ throws an exception...
e2fsprogs-1.47.3/lib/support/mkquota.c:192:22: danger: ‘malloc(112)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def493]
e2fsprogs-1.47.3/lib/support/mkquota.c:325:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
e2fsprogs-1.47.3/lib/support/mkquota.c:294:11: enter_function: entry to ‘quota_init_context’
e2fsprogs-1.47.3/lib/support/mkquota.c:302:15: call_function: inlined call to ‘ext2fs_get_mem’ from ‘quota_init_context’
e2fsprogs-1.47.3/lib/support/mkquota.c:309:25: branch_true: following ‘true’ branch (when ‘qtype != 3’)...
e2fsprogs-1.47.3/lib/support/mkquota.c:310:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/mkquota.c:312:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/mkquota.c:318:23: call_function: inlined call to ‘ext2fs_get_mem’ from ‘quota_init_context’
e2fsprogs-1.47.3/lib/support/mkquota.c:324:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/mkquota.c:325:17: throw: if ‘dict_init’ throws an exception...
e2fsprogs-1.47.3/lib/support/mkquota.c:325:17: danger: ‘ctx’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def494]
e2fsprogs-1.47.3/lib/support/mkquota.c:325:17: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(112)’
e2fsprogs-1.47.3/lib/support/mkquota.c:294:11: enter_function: entry to ‘quota_init_context’
e2fsprogs-1.47.3/lib/support/mkquota.c:302:15: call_function: inlined call to ‘ext2fs_get_mem’ from ‘quota_init_context’
e2fsprogs-1.47.3/lib/support/mkquota.c:309:25: branch_true: following ‘true’ branch (when ‘qtype != 3’)...
e2fsprogs-1.47.3/lib/support/mkquota.c:310:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/mkquota.c:312:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/mkquota.c:318:23: call_function: inlined call to ‘ext2fs_get_mem’ from ‘quota_init_context’
e2fsprogs-1.47.3/lib/support/mkquota.c:324:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/mkquota.c:325:17: throw: if ‘dict_init’ throws an exception...
e2fsprogs-1.47.3/lib/support/mkquota.c:325:17: danger: ‘malloc(112)’ leaks here; was allocated at [(10)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def495]
e2fsprogs-1.47.3/lib/support/mkquota.c:326:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
e2fsprogs-1.47.3/lib/support/mkquota.c:294:11: enter_function: entry to ‘quota_init_context’
e2fsprogs-1.47.3/lib/support/mkquota.c:302:15: call_function: inlined call to ‘ext2fs_get_mem’ from ‘quota_init_context’
e2fsprogs-1.47.3/lib/support/mkquota.c:309:25: branch_true: following ‘true’ branch (when ‘qtype != 3’)...
e2fsprogs-1.47.3/lib/support/mkquota.c:310:17: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/mkquota.c:312:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/mkquota.c:318:23: call_function: inlined call to ‘ext2fs_get_mem’ from ‘quota_init_context’
e2fsprogs-1.47.3/lib/support/mkquota.c:324:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/mkquota.c:326:17: throw: if ‘dict_set_allocator’ throws an exception...
e2fsprogs-1.47.3/lib/support/mkquota.c:326:17: danger: ‘ctx’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def496]
e2fsprogs-1.47.3/lib/support/mkquota.c:379:17: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(96)’
e2fsprogs-1.47.3/lib/support/mkquota.c:365:22: enter_function: entry to ‘get_dq’
e2fsprogs-1.47.3/lib/support/mkquota.c:371:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/mkquota.c:374:21: call_function: inlined call to ‘ext2fs_get_mem’ from ‘get_dq’
e2fsprogs-1.47.3/lib/support/mkquota.c:378:17: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/mkquota.c:379:17: throw: if ‘dict_alloc_insert’ throws an exception...
e2fsprogs-1.47.3/lib/support/mkquota.c:379:17: danger: ‘malloc(96)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def497]
e2fsprogs-1.47.3/lib/support/mkquota.c:498:23: warning[-Wanalyzer-malloc-leak]: leak of ‘inode’
e2fsprogs-1.47.3/lib/support/mkquota.c:482:12: branch_false: following ‘false’ branch (when ‘qctx’ is non-NULL)...
e2fsprogs-1.47.3/lib/support/mkquota.c:485:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/mkquota.c:487:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/mkquota.c:491:22: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/mkquota.c:492:17: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/support/mkquota.c:493:12: branch_false: following ‘false’ branch (when ‘inode’ is non-NULL)...
e2fsprogs-1.47.3/lib/support/mkquota.c:493:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/mkquota.c:498:23: throw: if ‘ext2fs_get_next_inode_full’ throws an exception...
e2fsprogs-1.47.3/lib/support/mkquota.c:498:23: danger: ‘inode’ leaks here; was allocated at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def498]
e2fsprogs-1.47.3/lib/support/mkquota.c:597:15: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(112)’
e2fsprogs-1.47.3/lib/support/mkquota.c:581:11: enter_function: entry to ‘quota_read_all_dquots’
e2fsprogs-1.47.3/lib/support/mkquota.c:588:12: branch_false: following ‘false’ branch (when ‘qctx’ is non-NULL)...
e2fsprogs-1.47.3/lib/support/mkquota.c:591:15: call_function: inlined call to ‘ext2fs_get_mem’ from ‘quota_read_all_dquots’
e2fsprogs-1.47.3/lib/support/mkquota.c:597:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/mkquota.c:597:15: throw: if ‘quota_file_open’ throws an exception...
e2fsprogs-1.47.3/lib/support/mkquota.c:597:15: danger: ‘malloc(112)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def499]
e2fsprogs-1.47.3/lib/support/mkquota.c:701:23: warning[-Wanalyzer-malloc-leak]: leak of ‘token’
e2fsprogs-1.47.3/lib/support/mkquota.c:687:15: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/support/mkquota.c:688:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/lib/support/mkquota.c:693:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/mkquota.c:694:27: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/support/mkquota.c:697:20: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
e2fsprogs-1.47.3/lib/support/mkquota.c:698:25: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/mkquota.c:701:23: throw: if the called function throws an exception...
e2fsprogs-1.47.3/lib/support/mkquota.c:701:23: danger: ‘token’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-704): [#def500]
e2fsprogs-1.47.3/lib/support/profile.c: scope_hint: In function ‘profile_set_default’
e2fsprogs-1.47.3/lib/support/profile.c:425:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def501]
e2fsprogs-1.47.3/lib/support/profile.c:425:21: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-401): [#def502]
e2fsprogs-1.47.3/lib/support/profile.c:542:24: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/lib/support/profile.c:528:11: enter_function: entry to ‘profile_update_file’
e2fsprogs-1.47.3/lib/support/profile.c:576:18: call_function: calling ‘profile_create_node’ from ‘profile_update_file’
e2fsprogs-1.47.3/lib/support/profile.c:576:18: return_function: returning to ‘profile_update_file’ from ‘profile_create_node’
e2fsprogs-1.47.3/lib/support/profile.c:577:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:579:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:581:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:582:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:583:20: branch_true: following ‘true’ branch (when ‘retval == 0’)...
e2fsprogs-1.47.3/lib/support/profile.c:583:20: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:542:24: danger: ‘<unknown>’ leaks here; was allocated at [(6)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def503]
e2fsprogs-1.47.3/lib/support/profile.c:542:24: warning[-Wanalyzer-malloc-leak]: leak of ‘state.root_section’
e2fsprogs-1.47.3/lib/support/profile.c:528:11: enter_function: entry to ‘profile_update_file’
e2fsprogs-1.47.3/lib/support/profile.c:576:18: call_function: calling ‘profile_create_node’ from ‘profile_update_file’
e2fsprogs-1.47.3/lib/support/profile.c:576:18: return_function: returning to ‘profile_update_file’ from ‘profile_create_node’
e2fsprogs-1.47.3/lib/support/profile.c:577:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:579:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:581:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:582:26: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:583:20: branch_true: following ‘true’ branch (when ‘retval == 0’)...
e2fsprogs-1.47.3/lib/support/profile.c:583:20: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:542:24: danger: ‘state.root_section’ leaks here; was allocated at [(4)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def504]
e2fsprogs-1.47.3/lib/support/profile.c:587:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*prf.filespec, "r")’
e2fsprogs-1.47.3/lib/support/profile.c:528:11: enter_function: entry to ‘profile_update_file’
e2fsprogs-1.47.3/lib/support/profile.c:576:18: call_function: calling ‘profile_create_node’ from ‘profile_update_file’
e2fsprogs-1.47.3/lib/support/profile.c:576:18: return_function: returning to ‘profile_update_file’ from ‘profile_create_node’
e2fsprogs-1.47.3/lib/support/profile.c:577:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:579:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:580:13: acquire_resource: opened here
e2fsprogs-1.47.3/lib/support/profile.c:581:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:587:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:588:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:589:21: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:589:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:591:26: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:591:26: call_function: calling ‘parse_line’ from ‘profile_update_file’
e2fsprogs-1.47.3/lib/support/profile.c:591:26: return_function: returning to ‘profile_update_file’ from ‘parse_line’
e2fsprogs-1.47.3/lib/support/profile.c:592:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:593:29: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:593:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:594:33: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:594:33: throw: if the called function throws an exception...
e2fsprogs-1.47.3/lib/support/profile.c:587:9: danger: ‘fopen(*prf.filespec, "r")’ leaks here; was opened at [(13)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def505]
e2fsprogs-1.47.3/lib/support/profile.c:587:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*prf.filespec, "r")’
e2fsprogs-1.47.3/lib/support/profile.c:528:11: enter_function: entry to ‘profile_update_file’
e2fsprogs-1.47.3/lib/support/profile.c:576:18: call_function: calling ‘profile_create_node’ from ‘profile_update_file’
e2fsprogs-1.47.3/lib/support/profile.c:576:18: return_function: returning to ‘profile_update_file’ from ‘profile_create_node’
e2fsprogs-1.47.3/lib/support/profile.c:577:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:579:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:580:13: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/support/profile.c:581:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:587:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:588:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:589:21: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:589:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:591:26: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:591:26: call_function: calling ‘parse_line’ from ‘profile_update_file’
e2fsprogs-1.47.3/lib/support/profile.c:591:26: return_function: returning to ‘profile_update_file’ from ‘parse_line’
e2fsprogs-1.47.3/lib/support/profile.c:592:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:593:29: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:593:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:594:33: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:594:33: throw: if the called function throws an exception...
e2fsprogs-1.47.3/lib/support/profile.c:587:9: danger: ‘fopen(*prf.filespec, "r")’ leaks here; was allocated at [(13)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def506]
e2fsprogs-1.47.3/lib/support/profile.c:594:33: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/lib/support/profile.c:528:11: enter_function: entry to ‘profile_update_file’
e2fsprogs-1.47.3/lib/support/profile.c:576:18: call_function: calling ‘profile_create_node’ from ‘profile_update_file’
e2fsprogs-1.47.3/lib/support/profile.c:576:18: return_function: returning to ‘profile_update_file’ from ‘profile_create_node’
e2fsprogs-1.47.3/lib/support/profile.c:577:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:579:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:581:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:587:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:588:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:589:21: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:589:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:591:26: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:591:26: call_function: calling ‘parse_line’ from ‘profile_update_file’
e2fsprogs-1.47.3/lib/support/profile.c:591:26: return_function: returning to ‘profile_update_file’ from ‘parse_line’
e2fsprogs-1.47.3/lib/support/profile.c:592:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:593:29: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:593:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:594:33: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:594:33: throw: if the called function throws an exception...
e2fsprogs-1.47.3/lib/support/profile.c:594:33: danger: ‘<unknown>’ leaks here; was allocated at [(6)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def507]
e2fsprogs-1.47.3/lib/support/profile.c:594:33: warning[-Wanalyzer-malloc-leak]: leak of ‘state.root_section’
e2fsprogs-1.47.3/lib/support/profile.c:528:11: enter_function: entry to ‘profile_update_file’
e2fsprogs-1.47.3/lib/support/profile.c:576:18: call_function: calling ‘profile_create_node’ from ‘profile_update_file’
e2fsprogs-1.47.3/lib/support/profile.c:576:18: return_function: returning to ‘profile_update_file’ from ‘profile_create_node’
e2fsprogs-1.47.3/lib/support/profile.c:577:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:579:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:581:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:587:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:588:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:589:21: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:589:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:591:26: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:591:26: call_function: calling ‘parse_line’ from ‘profile_update_file’
e2fsprogs-1.47.3/lib/support/profile.c:591:26: return_function: returning to ‘profile_update_file’ from ‘parse_line’
e2fsprogs-1.47.3/lib/support/profile.c:592:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:593:29: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:593:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:594:33: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:594:33: throw: if the called function throws an exception...
e2fsprogs-1.47.3/lib/support/profile.c:594:33: danger: ‘state.root_section’ leaks here; was allocated at [(4)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def508]
e2fsprogs-1.47.3/lib/support/profile.c:838:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘node’
e2fsprogs-1.47.3/lib/support/profile.c:528:11: enter_function: entry to ‘profile_update_file’
e2fsprogs-1.47.3/lib/support/profile.c:576:18: call_function: calling ‘profile_create_node’ from ‘profile_update_file’
e2fsprogs-1.47.3/lib/support/profile.c:576:18: return_function: returning to ‘profile_update_file’ from ‘profile_create_node’
e2fsprogs-1.47.3/lib/support/profile.c:577:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:579:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:581:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:587:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:588:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:589:21: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:589:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile.c:591:26: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile.c:591:26: call_function: calling ‘parse_line’ from ‘profile_update_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def509]
e2fsprogs-1.47.3/lib/support/profile_helpers.c:160:31: warning[-Wanalyzer-malloc-leak]: leak of ‘values.list’
e2fsprogs-1.47.3/lib/support/profile_helpers.c:143:1: enter_function: entry to ‘profile_get_values’
e2fsprogs-1.47.3/lib/support/profile_helpers.c:151:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile_helpers.c:156:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile_helpers.c:156:23: call_function: calling ‘init_list’ from ‘profile_get_values’
e2fsprogs-1.47.3/lib/support/profile_helpers.c:156:23: return_function: returning to ‘profile_get_values’ from ‘init_list’
e2fsprogs-1.47.3/lib/support/profile_helpers.c:156:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile_helpers.c:156:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile_helpers.c:160:31: throw: if ‘profile_iterator’ throws an exception...
e2fsprogs-1.47.3/lib/support/profile_helpers.c:160:31: danger: ‘values.list’ leaks here; was allocated at [(6)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def510]
e2fsprogs-1.47.3/lib/support/profile_helpers.c:203:31: warning[-Wanalyzer-malloc-leak]: leak of ‘values.list’
e2fsprogs-1.47.3/lib/support/profile_helpers.c:186:1: enter_function: entry to ‘profile_get_subsection_names’
e2fsprogs-1.47.3/lib/support/profile_helpers.c:194:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile_helpers.c:199:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile_helpers.c:199:23: call_function: calling ‘init_list’ from ‘profile_get_subsection_names’
e2fsprogs-1.47.3/lib/support/profile_helpers.c:199:23: return_function: returning to ‘profile_get_subsection_names’ from ‘init_list’
e2fsprogs-1.47.3/lib/support/profile_helpers.c:199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile_helpers.c:199:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile_helpers.c:203:31: throw: if ‘profile_iterator’ throws an exception...
e2fsprogs-1.47.3/lib/support/profile_helpers.c:203:31: danger: ‘values.list’ leaks here; was allocated at [(6)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def511]
e2fsprogs-1.47.3/lib/support/profile_helpers.c:241:31: warning[-Wanalyzer-malloc-leak]: leak of ‘values.list’
e2fsprogs-1.47.3/lib/support/profile_helpers.c:224:1: enter_function: entry to ‘profile_get_relation_names’
e2fsprogs-1.47.3/lib/support/profile_helpers.c:232:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile_helpers.c:237:23: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile_helpers.c:237:23: call_function: calling ‘init_list’ from ‘profile_get_relation_names’
e2fsprogs-1.47.3/lib/support/profile_helpers.c:237:23: return_function: returning to ‘profile_get_relation_names’ from ‘init_list’
e2fsprogs-1.47.3/lib/support/profile_helpers.c:237:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile_helpers.c:237:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile_helpers.c:241:31: throw: if ‘profile_iterator’ throws an exception...
e2fsprogs-1.47.3/lib/support/profile_helpers.c:241:31: danger: ‘values.list’ leaks here; was allocated at [(6)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def512]
e2fsprogs-1.47.3/lib/support/profile_helpers.c:309:18: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/lib/support/profile_helpers.c:286:12: branch_false: following ‘false’ branch (when ‘filenames’ is non-NULL)...
e2fsprogs-1.47.3/lib/support/profile_helpers.c:286:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile_helpers.c:290:32: branch_true: following ‘true’ branch (when ‘t’ is non-NULL)...
e2fsprogs-1.47.3/lib/support/profile_helpers.c:291:27: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/profile_helpers.c:292:40: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/support/profile_helpers.c:293:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile_helpers.c:293:20: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile_helpers.c:301:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/support/profile_helpers.c:302:25: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/profile_helpers.c:309:18: throw: if ‘profile_init’ throws an exception...
e2fsprogs-1.47.3/lib/support/profile_helpers.c:309:18: danger: ‘<unknown>’ leaks here; was allocated at [(6)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def513]
e2fsprogs-1.47.3/lib/support/profile_helpers.c:309:18: warning[-Wanalyzer-malloc-leak]: leak of ‘filenames’
e2fsprogs-1.47.3/lib/support/profile_helpers.c:285:31: acquire_memory: allocated here
e2fsprogs-1.47.3/lib/support/profile_helpers.c:286:12: branch_false: following ‘false’ branch (when ‘filenames’ is non-NULL)...
e2fsprogs-1.47.3/lib/support/profile_helpers.c:286:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile_helpers.c:290:32: branch_true: following ‘true’ branch (when ‘t’ is non-NULL)...
e2fsprogs-1.47.3/lib/support/profile_helpers.c:291:27: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/profile_helpers.c:293:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/profile_helpers.c:293:20: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/profile_helpers.c:301:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/support/profile_helpers.c:302:25: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/profile_helpers.c:309:18: throw: if ‘profile_init’ throws an exception...
e2fsprogs-1.47.3/lib/support/profile_helpers.c:309:18: danger: ‘filenames’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def514]
e2fsprogs-1.47.3/lib/support/quotaio.c:249:14: warning[-Wanalyzer-malloc-leak]: leak of ‘h’
e2fsprogs-1.47.3/lib/support/quotaio.c:188:11: enter_function: entry to ‘quota_file_open’
e2fsprogs-1.47.3/lib/support/quotaio.c:197:12: branch_false: following ‘false’ branch (when ‘qtype <= 2’)...
e2fsprogs-1.47.3/lib/support/quotaio.c:200:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/quotaio.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/quotaio.c:207:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/quotaio.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/quotaio.c:217:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/quotaio.c:217:12: branch_true: following ‘true’ branch (when ‘h’ is NULL)...
e2fsprogs-1.47.3/lib/support/quotaio.c:218:21: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/quotaio.c:227:23: call_function: inlined call to ‘ext2fs_get_mem’ from ‘quota_file_open’
e2fsprogs-1.47.3/lib/support/quotaio.c:236:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/quotaio.c:248:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/support/quotaio.c:249:14: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/quotaio.c:249:14: throw: if the called function throws an exception...
e2fsprogs-1.47.3/lib/support/quotaio.c:249:14: danger: ‘h’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def515]
e2fsprogs-1.47.3/lib/support/quotaio.c:255:36: warning[-Wanalyzer-malloc-leak]: leak of ‘h’
e2fsprogs-1.47.3/lib/support/quotaio.c:188:11: enter_function: entry to ‘quota_file_open’
e2fsprogs-1.47.3/lib/support/quotaio.c:197:12: branch_false: following ‘false’ branch (when ‘qtype <= 2’)...
e2fsprogs-1.47.3/lib/support/quotaio.c:200:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/quotaio.c:204:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/quotaio.c:207:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/quotaio.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/quotaio.c:217:12: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/quotaio.c:217:12: branch_true: following ‘true’ branch (when ‘h’ is NULL)...
e2fsprogs-1.47.3/lib/support/quotaio.c:218:21: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/quotaio.c:227:23: call_function: inlined call to ‘ext2fs_get_mem’ from ‘quota_file_open’
e2fsprogs-1.47.3/lib/support/quotaio.c:236:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/quotaio.c:248:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/quotaio.c:255:13: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/quotaio.c:255:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/lib/support/quotaio.c:255:36: branch_true: ...to here
e2fsprogs-1.47.3/lib/support/quotaio.c:255:36: throw: if the called function throws an exception...
e2fsprogs-1.47.3/lib/support/quotaio.c:255:36: danger: ‘h’ leaks here; was allocated at [(11)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def516]
e2fsprogs-1.47.3/lib/support/quotaio_tree.c:66:15: warning[-Wanalyzer-malloc-leak]: leak of ‘bitmap’
e2fsprogs-1.47.3/lib/support/quotaio_tree.c:659:5: enter_function: entry to ‘qtree_scan_dquots’
e2fsprogs-1.47.3/lib/support/quotaio_tree.c:669:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/quotaio_tree.c:672:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/quotaio_tree.c:673:13: call_function: calling ‘ext2fs_get_memzero’ from ‘qtree_scan_dquots’
e2fsprogs-1.47.3/lib/support/quotaio_tree.c:673:13: return_function: returning to ‘qtree_scan_dquots’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/support/quotaio_tree.c:673:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/quotaio_tree.c:677:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/quotaio_tree.c:677:15: call_function: calling ‘report_tree’ from ‘qtree_scan_dquots’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def517]
e2fsprogs-1.47.3/lib/support/quotaio_tree.c:546:17: warning[-Wanalyzer-malloc-leak]: leak of ‘bitmap’
e2fsprogs-1.47.3/lib/support/quotaio_tree.c:659:5: enter_function: entry to ‘qtree_scan_dquots’
e2fsprogs-1.47.3/lib/support/quotaio_tree.c:669:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/quotaio_tree.c:672:9: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/quotaio_tree.c:673:13: call_function: calling ‘ext2fs_get_memzero’ from ‘qtree_scan_dquots’
e2fsprogs-1.47.3/lib/support/quotaio_tree.c:673:13: return_function: returning to ‘qtree_scan_dquots’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/lib/support/quotaio_tree.c:673:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/lib/support/quotaio_tree.c:677:15: branch_false: ...to here
e2fsprogs-1.47.3/lib/support/quotaio_tree.c:677:15: call_function: calling ‘report_tree’ from ‘qtree_scan_dquots’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def518]
e2fsprogs-1.47.3/misc/badblocks.c:482:18: warning[-Wanalyzer-malloc-leak]: leak of ‘blkbuf’
e2fsprogs-1.47.3/misc/badblocks.c:741:21: enter_function: entry to ‘test_nd’
e2fsprogs-1.47.3/misc/badblocks.c:765:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:765:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:774:18: call_function: calling ‘allocate_buffer’ from ‘test_nd’
e2fsprogs-1.47.3/misc/badblocks.c:774:18: return_function: returning to ‘test_nd’ from ‘allocate_buffer’
e2fsprogs-1.47.3/misc/badblocks.c:776:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:782:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:788:9: call_function: inlined call to ‘flush_bufs’ from ‘test_nd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def519]
e2fsprogs-1.47.3/misc/badblocks.c:482:18: warning[-Wanalyzer-malloc-leak]: leak of ‘test_record’
e2fsprogs-1.47.3/misc/badblocks.c:741:21: enter_function: entry to ‘test_nd’
e2fsprogs-1.47.3/misc/badblocks.c:765:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:765:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:775:23: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/badblocks.c:776:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:782:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:788:9: call_function: inlined call to ‘flush_bufs’ from ‘test_nd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def520]
e2fsprogs-1.47.3/misc/badblocks.c:484:17: warning[-Wanalyzer-malloc-leak]: leak of ‘blkbuf’
e2fsprogs-1.47.3/misc/badblocks.c:741:21: enter_function: entry to ‘test_nd’
e2fsprogs-1.47.3/misc/badblocks.c:765:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:765:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:774:18: call_function: calling ‘allocate_buffer’ from ‘test_nd’
e2fsprogs-1.47.3/misc/badblocks.c:774:18: return_function: returning to ‘test_nd’ from ‘allocate_buffer’
e2fsprogs-1.47.3/misc/badblocks.c:776:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:782:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:788:9: call_function: inlined call to ‘flush_bufs’ from ‘test_nd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def521]
e2fsprogs-1.47.3/misc/badblocks.c:484:17: warning[-Wanalyzer-malloc-leak]: leak of ‘test_record’
e2fsprogs-1.47.3/misc/badblocks.c:741:21: enter_function: entry to ‘test_nd’
e2fsprogs-1.47.3/misc/badblocks.c:765:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:765:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:775:23: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/badblocks.c:776:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:782:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:788:9: call_function: inlined call to ‘flush_bufs’ from ‘test_nd’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def522]
e2fsprogs-1.47.3/misc/badblocks.c:591:9: warning[-Wanalyzer-malloc-leak]: leak of ‘blkbuf’
e2fsprogs-1.47.3/misc/badblocks.c:1050:5: enter_function: entry to ‘main’
e2fsprogs-1.47.3/misc/badblocks.c:1097:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:1194:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:1195:21: branch_true: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:1195:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:1201:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:1201:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:1208:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:1208:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:1209:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:1208:13: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:1214:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:1214:12: branch_false: following ‘false’ branch (when ‘blocks_at_once != 0’)...
e2fsprogs-1.47.3/misc/badblocks.c:1225:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:1225:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:1227:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:1232:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:1238:20: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:1238:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:1249:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:1249:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:1253:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:1253:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:1260:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:1260:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:1266:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:1266:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:1269:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:1270:21: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:1270:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:1272:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:1277:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:1277:12: branch_false: following ‘false’ branch (when ‘host_device_name’ is NULL)...
e2fsprogs-1.47.3/misc/badblocks.c:1286:17: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:1287:12: branch_false: following ‘false’ branch (when ‘input_file’ is NULL)...
e2fsprogs-1.47.3/misc/badblocks.c:1301:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:1301:12: branch_false: following ‘false’ branch (when ‘output_file’ is NULL)...
e2fsprogs-1.47.3/misc/badblocks.c:1313:17: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:1316:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:1322:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:1322:12: branch_false: following ‘false’ branch (when ‘in’ is NULL)...
e2fsprogs-1.47.3/misc/badblocks.c:1322:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:1360:28: call_function: calling ‘test_ro’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def523]
e2fsprogs-1.47.3/misc/badblocks.c:777:17: warning[-Wanalyzer-malloc-leak]: leak of ‘blkbuf’
e2fsprogs-1.47.3/misc/badblocks.c:741:21: enter_function: entry to ‘test_nd’
e2fsprogs-1.47.3/misc/badblocks.c:765:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:765:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:774:18: call_function: calling ‘allocate_buffer’ from ‘test_nd’
e2fsprogs-1.47.3/misc/badblocks.c:774:18: return_function: returning to ‘test_nd’ from ‘allocate_buffer’
e2fsprogs-1.47.3/misc/badblocks.c:776:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:777:17: branch_true: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:777:17: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/misc/badblocks.c:777:17: danger: ‘blkbuf’ leaks here; was allocated at [(6)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def524]
e2fsprogs-1.47.3/misc/badblocks.c:777:17: warning[-Wanalyzer-malloc-leak]: leak of ‘test_record’
e2fsprogs-1.47.3/misc/badblocks.c:765:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:765:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:775:23: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/badblocks.c:776:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:777:17: branch_true: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:777:17: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/misc/badblocks.c:777:17: danger: ‘test_record’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def525]
e2fsprogs-1.47.3/misc/badblocks.c:849:41: warning[-Wanalyzer-malloc-leak]: leak of ‘test_record’
e2fsprogs-1.47.3/misc/badblocks.c:741:21: enter_function: entry to ‘test_nd’
e2fsprogs-1.47.3/misc/badblocks.c:765:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:765:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:774:18: call_function: calling ‘allocate_buffer’ from ‘test_nd’
e2fsprogs-1.47.3/misc/badblocks.c:774:18: return_function: returning to ‘test_nd’ from ‘allocate_buffer’
e2fsprogs-1.47.3/misc/badblocks.c:775:23: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/badblocks.c:776:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:782:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:798:13: setjmp: ‘setjmp’ called here
e2fsprogs-1.47.3/misc/badblocks.c:798:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:816:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:825:27: branch_true: following ‘true’ branch (when ‘nr_pattern > pat_idx’)...
e2fsprogs-1.47.3/misc/badblocks.c:827:30: branch_true: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:826:17: call_function: calling ‘pattern_fill’ from ‘test_nd’
e2fsprogs-1.47.3/misc/badblocks.c:826:17: return_function: returning to ‘test_nd’ from ‘pattern_fill’
e2fsprogs-1.47.3/misc/badblocks.c:838:24: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:839:29: branch_true: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:839:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:845:37: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:846:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:847:36: branch_true: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:847:36: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:849:41: branch_true: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:849:41: throw: if ‘ext2fs_badblocks_list_iterate’ throws an exception...
e2fsprogs-1.47.3/misc/badblocks.c:849:41: danger: ‘test_record’ leaks here; was allocated at [(11)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def526]
e2fsprogs-1.47.3/misc/badblocks.c:984:9: warning[-Wanalyzer-malloc-leak]: leak of ‘test_record’
e2fsprogs-1.47.3/misc/badblocks.c:765:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:765:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:775:23: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/badblocks.c:776:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:782:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:798:13: setjmp: ‘setjmp’ called here
e2fsprogs-1.47.3/misc/badblocks.c:798:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/badblocks.c:816:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/badblocks.c:984:9: throw: if ‘fflush’ throws an exception...
e2fsprogs-1.47.3/misc/badblocks.c:984:9: danger: ‘test_record’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def527]
e2fsprogs-1.47.3/misc/chattr.c:220:25: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
e2fsprogs-1.47.3/misc/chattr.c:288:12: enter_function: entry to ‘chattr_dir_proc’
e2fsprogs-1.47.3/misc/chattr.c:293:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/chattr.c:296:24: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/chattr.c:297:20: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
e2fsprogs-1.47.3/misc/chattr.c:303:17: branch_false: ...to here
e2fsprogs-1.47.3/misc/chattr.c:304:23: call_function: calling ‘change_attributes’ from ‘chattr_dir_proc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def528]
e2fsprogs-1.47.3/misc/chattr.c:225:13: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
e2fsprogs-1.47.3/misc/chattr.c:288:12: enter_function: entry to ‘chattr_dir_proc’
e2fsprogs-1.47.3/misc/chattr.c:293:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/chattr.c:296:24: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/chattr.c:297:20: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
e2fsprogs-1.47.3/misc/chattr.c:303:17: branch_false: ...to here
e2fsprogs-1.47.3/misc/chattr.c:304:23: call_function: calling ‘change_attributes’ from ‘chattr_dir_proc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def529]
e2fsprogs-1.47.3/misc/chattr.c:227:25: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
e2fsprogs-1.47.3/misc/chattr.c:288:12: enter_function: entry to ‘chattr_dir_proc’
e2fsprogs-1.47.3/misc/chattr.c:293:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/chattr.c:296:24: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/chattr.c:297:20: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
e2fsprogs-1.47.3/misc/chattr.c:303:17: branch_false: ...to here
e2fsprogs-1.47.3/misc/chattr.c:304:23: call_function: calling ‘change_attributes’ from ‘chattr_dir_proc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def530]
e2fsprogs-1.47.3/misc/chattr.c:234:25: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
e2fsprogs-1.47.3/misc/chattr.c:288:12: enter_function: entry to ‘chattr_dir_proc’
e2fsprogs-1.47.3/misc/chattr.c:293:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/chattr.c:296:24: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/chattr.c:297:20: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
e2fsprogs-1.47.3/misc/chattr.c:303:17: branch_false: ...to here
e2fsprogs-1.47.3/misc/chattr.c:304:23: call_function: calling ‘change_attributes’ from ‘chattr_dir_proc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def531]
e2fsprogs-1.47.3/misc/chattr.c:237:21: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
e2fsprogs-1.47.3/misc/chattr.c:288:12: enter_function: entry to ‘chattr_dir_proc’
e2fsprogs-1.47.3/misc/chattr.c:293:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/chattr.c:296:24: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/chattr.c:297:20: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
e2fsprogs-1.47.3/misc/chattr.c:303:17: branch_false: ...to here
e2fsprogs-1.47.3/misc/chattr.c:304:23: call_function: calling ‘change_attributes’ from ‘chattr_dir_proc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def532]
e2fsprogs-1.47.3/misc/chattr.c:238:25: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
e2fsprogs-1.47.3/misc/chattr.c:288:12: enter_function: entry to ‘chattr_dir_proc’
e2fsprogs-1.47.3/misc/chattr.c:293:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/chattr.c:296:24: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/chattr.c:297:20: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
e2fsprogs-1.47.3/misc/chattr.c:303:17: branch_false: ...to here
e2fsprogs-1.47.3/misc/chattr.c:304:23: call_function: calling ‘change_attributes’ from ‘chattr_dir_proc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def533]
e2fsprogs-1.47.3/misc/chattr.c:246:25: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
e2fsprogs-1.47.3/misc/chattr.c:288:12: enter_function: entry to ‘chattr_dir_proc’
e2fsprogs-1.47.3/misc/chattr.c:293:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/chattr.c:296:24: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/chattr.c:297:20: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
e2fsprogs-1.47.3/misc/chattr.c:303:17: branch_false: ...to here
e2fsprogs-1.47.3/misc/chattr.c:304:23: call_function: calling ‘change_attributes’ from ‘chattr_dir_proc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def534]
e2fsprogs-1.47.3/misc/chattr.c:251:21: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
e2fsprogs-1.47.3/misc/chattr.c:288:12: enter_function: entry to ‘chattr_dir_proc’
e2fsprogs-1.47.3/misc/chattr.c:293:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/chattr.c:296:24: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/chattr.c:297:20: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
e2fsprogs-1.47.3/misc/chattr.c:303:17: branch_false: ...to here
e2fsprogs-1.47.3/misc/chattr.c:304:23: call_function: calling ‘change_attributes’ from ‘chattr_dir_proc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def535]
e2fsprogs-1.47.3/misc/create_inode.c:165:17: warning[-Wanalyzer-malloc-leak]: leak of ‘file_info.path’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1213:26: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: call_function: calling ‘set_inode_xattr’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def536]
e2fsprogs-1.47.3/misc/create_inode.c:165:17: warning[-Wanalyzer-malloc-leak]: leak of ‘hdlinks.hdl’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1204:23: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: call_function: calling ‘set_inode_xattr’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def537]
e2fsprogs-1.47.3/misc/create_inode.c:172:18: warning[-Wanalyzer-malloc-leak]: leak of ‘file_info.path’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1213:26: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: call_function: calling ‘set_inode_xattr’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def538]
e2fsprogs-1.47.3/misc/create_inode.c:172:18: warning[-Wanalyzer-malloc-leak]: leak of ‘hdlinks.hdl’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1204:23: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: call_function: calling ‘set_inode_xattr’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def539]
e2fsprogs-1.47.3/misc/create_inode.c:176:17: warning[-Wanalyzer-malloc-leak]: leak of ‘file_info.path’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1213:26: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: call_function: calling ‘set_inode_xattr’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def540]
e2fsprogs-1.47.3/misc/create_inode.c:176:17: warning[-Wanalyzer-malloc-leak]: leak of ‘hdlinks.hdl’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1204:23: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: call_function: calling ‘set_inode_xattr’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def541]
e2fsprogs-1.47.3/misc/create_inode.c:180:18: warning[-Wanalyzer-malloc-leak]: leak of ‘file_info.path’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1213:26: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: call_function: calling ‘set_inode_xattr’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def542]
e2fsprogs-1.47.3/misc/create_inode.c:180:18: warning[-Wanalyzer-malloc-leak]: leak of ‘hdlinks.hdl’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1204:23: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: call_function: calling ‘set_inode_xattr’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def543]
e2fsprogs-1.47.3/misc/create_inode.c:182:17: warning[-Wanalyzer-malloc-leak]: leak of ‘file_info.path’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1213:26: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: call_function: calling ‘set_inode_xattr’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def544]
e2fsprogs-1.47.3/misc/create_inode.c:182:17: warning[-Wanalyzer-malloc-leak]: leak of ‘hdlinks.hdl’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1204:23: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: call_function: calling ‘set_inode_xattr’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def545]
e2fsprogs-1.47.3/misc/create_inode.c:189:17: warning[-Wanalyzer-malloc-leak]: leak of ‘file_info.path’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1213:26: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: call_function: calling ‘set_inode_xattr’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def546]
e2fsprogs-1.47.3/misc/create_inode.c:189:17: warning[-Wanalyzer-malloc-leak]: leak of ‘hdlinks.hdl’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1204:23: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: call_function: calling ‘set_inode_xattr’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def547]
e2fsprogs-1.47.3/misc/create_inode.c:196:17: warning[-Wanalyzer-malloc-leak]: leak of ‘file_info.path’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1213:26: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: call_function: calling ‘set_inode_xattr’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def548]
e2fsprogs-1.47.3/misc/create_inode.c:196:17: warning[-Wanalyzer-malloc-leak]: leak of ‘hdlinks.hdl’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1204:23: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: call_function: calling ‘set_inode_xattr’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def549]
e2fsprogs-1.47.3/misc/create_inode.c:230:26: warning[-Wanalyzer-malloc-leak]: leak of ‘file_info.path’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1213:26: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: call_function: calling ‘set_inode_xattr’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def550]
e2fsprogs-1.47.3/misc/create_inode.c:230:26: warning[-Wanalyzer-malloc-leak]: leak of ‘hdlinks.hdl’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1204:23: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1243:26: call_function: calling ‘set_inode_xattr’ from ‘populate_fs3’
Error: COMPILER_WARNING (CWE-704): [#def551]
e2fsprogs-1.47.3/misc/create_inode.c: scope_hint: In function ‘do_symlink_internal’
e2fsprogs-1.47.3/misc/create_inode.c:349:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def552]
e2fsprogs-1.47.3/misc/create_inode.c:349:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def553]
e2fsprogs-1.47.3/misc/create_inode.c: scope_hint: In function ‘do_mkdir_internal’
e2fsprogs-1.47.3/misc/create_inode.c:386:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def554]
e2fsprogs-1.47.3/misc/create_inode.c:386:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def555]
e2fsprogs-1.47.3/misc/create_inode.c: scope_hint: In function ‘do_write_internal’
e2fsprogs-1.47.3/misc/create_inode.c:792:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def556]
e2fsprogs-1.47.3/misc/create_inode.c:792:12: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-688): [#def557]
e2fsprogs-1.47.3/misc/create_inode.c:875:29: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘file_info.path’ where non-null expected
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1213:26: acquire_memory: this call could return NULL
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1251:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1251:18: call_function: calling ‘__populate_fs’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def558]
e2fsprogs-1.47.3/misc/create_inode.c:959:17: warning[-Wanalyzer-malloc-leak]: leak of ‘file_info.path’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1213:26: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1251:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1251:18: call_function: calling ‘__populate_fs’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def559]
e2fsprogs-1.47.3/misc/create_inode.c:959:17: warning[-Wanalyzer-malloc-leak]: leak of ‘hdlinks.hdl’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1204:23: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1251:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1251:18: call_function: calling ‘__populate_fs’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def560]
e2fsprogs-1.47.3/misc/create_inode.c:965:21: warning[-Wanalyzer-malloc-leak]: leak of ‘file_info.path’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1213:26: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1251:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1251:18: call_function: calling ‘__populate_fs’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def561]
e2fsprogs-1.47.3/misc/create_inode.c:965:21: warning[-Wanalyzer-malloc-leak]: leak of ‘hdlinks.hdl’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1204:23: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1251:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1251:18: call_function: calling ‘__populate_fs’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def562]
e2fsprogs-1.47.3/misc/create_inode.c:969:17: warning[-Wanalyzer-malloc-leak]: leak of ‘file_info.path’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1213:26: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1251:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1251:18: call_function: calling ‘__populate_fs’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def563]
e2fsprogs-1.47.3/misc/create_inode.c:969:17: warning[-Wanalyzer-malloc-leak]: leak of ‘hdlinks.hdl’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1204:23: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1251:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1251:18: call_function: calling ‘__populate_fs’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def564]
e2fsprogs-1.47.3/misc/create_inode.c:980:25: warning[-Wanalyzer-malloc-leak]: leak of ‘file_info.path’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1213:26: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1251:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1251:18: call_function: calling ‘__populate_fs’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def565]
e2fsprogs-1.47.3/misc/create_inode.c:980:25: warning[-Wanalyzer-malloc-leak]: leak of ‘hdlinks.hdl’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1204:23: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1251:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1251:18: call_function: calling ‘__populate_fs’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def566]
e2fsprogs-1.47.3/misc/create_inode.c:984:21: warning[-Wanalyzer-malloc-leak]: leak of ‘file_info.path’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1213:26: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1251:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1251:18: call_function: calling ‘__populate_fs’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def567]
e2fsprogs-1.47.3/misc/create_inode.c:984:21: warning[-Wanalyzer-malloc-leak]: leak of ‘hdlinks.hdl’
e2fsprogs-1.47.3/misc/create_inode.c:1189:11: enter_function: entry to ‘populate_fs3’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1204:23: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1242:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1242:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1251:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1251:18: call_function: calling ‘__populate_fs’ from ‘populate_fs3’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def568]
e2fsprogs-1.47.3/misc/create_inode.c:1223:26: warning[-Wanalyzer-malloc-leak]: leak of ‘file_info.path’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1213:26: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_true: following ‘true’ branch (when the strings are equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1223:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1223:26: throw: if ‘__populate_fs_from_tar’ throws an exception...
e2fsprogs-1.47.3/misc/create_inode.c:1223:26: danger: ‘file_info.path’ leaks here; was allocated at [(5)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def569]
e2fsprogs-1.47.3/misc/create_inode.c:1223:26: warning[-Wanalyzer-malloc-leak]: leak of ‘hdlinks.hdl’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1204:23: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_true: following ‘true’ branch (when the strings are equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1223:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1223:26: throw: if ‘__populate_fs_from_tar’ throws an exception...
e2fsprogs-1.47.3/misc/create_inode.c:1223:26: danger: ‘hdlinks.hdl’ leaks here; was allocated at [(3)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def570]
e2fsprogs-1.47.3/misc/create_inode.c:1232:17: warning[-Wanalyzer-malloc-leak]: leak of ‘file_info.path’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1213:26: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1231:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1232:17: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/misc/create_inode.c:1232:17: danger: ‘file_info.path’ leaks here; was allocated at [(5)](sarif:/runs/0/results/33/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def571]
e2fsprogs-1.47.3/misc/create_inode.c:1232:17: warning[-Wanalyzer-malloc-leak]: leak of ‘hdlinks.hdl’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1204:23: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1231:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1232:17: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/misc/create_inode.c:1232:17: danger: ‘hdlinks.hdl’ leaks here; was allocated at [(3)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def572]
e2fsprogs-1.47.3/misc/create_inode.c:1236:26: warning[-Wanalyzer-malloc-leak]: leak of ‘file_info.path’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1213:26: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1236:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1236:26: throw: if ‘__populate_fs_from_tar’ throws an exception...
e2fsprogs-1.47.3/misc/create_inode.c:1236:26: danger: ‘file_info.path’ leaks here; was allocated at [(5)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def573]
e2fsprogs-1.47.3/misc/create_inode.c:1236:26: warning[-Wanalyzer-malloc-leak]: leak of ‘hdlinks.hdl’
e2fsprogs-1.47.3/misc/create_inode.c:1197:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1202:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1204:23: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/create_inode.c:1205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1211:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1222:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/create_inode.c:1230:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1230:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1235:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1235:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/create_inode.c:1236:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/create_inode.c:1236:26: throw: if ‘__populate_fs_from_tar’ throws an exception...
e2fsprogs-1.47.3/misc/create_inode.c:1236:26: danger: ‘hdlinks.hdl’ leaks here; was allocated at [(3)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def574]
e2fsprogs-1.47.3/misc/dumpe2fs.c:193:31: warning[-Wanalyzer-malloc-leak]: leak of ‘block_bitmap’
e2fsprogs-1.47.3/misc/dumpe2fs.c:174:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:175:32: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:175:32: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/dumpe2fs.c:176:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:180:36: branch_false: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:192:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:193:31: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:193:31: throw: if ‘ext2fs_group_first_block2’ throws an exception...
e2fsprogs-1.47.3/misc/dumpe2fs.c:193:31: danger: ‘block_bitmap’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def575]
e2fsprogs-1.47.3/misc/dumpe2fs.c:193:31: warning[-Wanalyzer-malloc-leak]: leak of ‘inode_bitmap’
e2fsprogs-1.47.3/misc/dumpe2fs.c:174:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:176:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:176:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:177:32: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:177:32: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/dumpe2fs.c:192:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:193:31: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:193:31: throw: if ‘ext2fs_group_first_block2’ throws an exception...
e2fsprogs-1.47.3/misc/dumpe2fs.c:193:31: danger: ‘inode_bitmap’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def576]
e2fsprogs-1.47.3/misc/dumpe2fs.c:194:30: warning[-Wanalyzer-malloc-leak]: leak of ‘block_bitmap’
e2fsprogs-1.47.3/misc/dumpe2fs.c:174:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:175:32: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:175:32: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/dumpe2fs.c:176:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:180:36: branch_false: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:192:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:193:31: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:194:30: throw: if ‘ext2fs_group_last_block2’ throws an exception...
e2fsprogs-1.47.3/misc/dumpe2fs.c:194:30: danger: ‘block_bitmap’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def577]
e2fsprogs-1.47.3/misc/dumpe2fs.c:194:30: warning[-Wanalyzer-malloc-leak]: leak of ‘inode_bitmap’
e2fsprogs-1.47.3/misc/dumpe2fs.c:174:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:176:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:176:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:177:32: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:177:32: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/dumpe2fs.c:192:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:193:31: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:194:30: throw: if ‘ext2fs_group_last_block2’ throws an exception...
e2fsprogs-1.47.3/misc/dumpe2fs.c:194:30: danger: ‘inode_bitmap’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def578]
e2fsprogs-1.47.3/misc/dumpe2fs.c:196:17: warning[-Wanalyzer-malloc-leak]: leak of ‘block_bitmap’
e2fsprogs-1.47.3/misc/dumpe2fs.c:174:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:175:32: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:175:32: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/dumpe2fs.c:176:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:180:36: branch_false: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:192:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:193:31: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:196:17: throw: if ‘ext2fs_super_and_bgd_loc2’ throws an exception...
e2fsprogs-1.47.3/misc/dumpe2fs.c:196:17: danger: ‘block_bitmap’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def579]
e2fsprogs-1.47.3/misc/dumpe2fs.c:196:17: warning[-Wanalyzer-malloc-leak]: leak of ‘inode_bitmap’
e2fsprogs-1.47.3/misc/dumpe2fs.c:174:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:176:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:176:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:177:32: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:177:32: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/dumpe2fs.c:192:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:193:31: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:196:17: throw: if ‘ext2fs_super_and_bgd_loc2’ throws an exception...
e2fsprogs-1.47.3/misc/dumpe2fs.c:196:17: danger: ‘inode_bitmap’ leaks here; was allocated at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def580]
e2fsprogs-1.47.3/misc/dumpe2fs.c:214:53: warning[-Wanalyzer-malloc-leak]: leak of ‘block_bitmap’
e2fsprogs-1.47.3/misc/dumpe2fs.c:174:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:175:32: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:175:32: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/dumpe2fs.c:176:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:180:36: branch_false: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:192:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:193:31: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:199:20: branch_true: following ‘true’ branch (when ‘grp_only != 0’)...
e2fsprogs-1.47.3/misc/dumpe2fs.c:200:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:201:28: branch_true: following ‘true’ branch (when ‘i == 0’)...
e2fsprogs-1.47.3/misc/dumpe2fs.c:202:33: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:214:53: throw: if ‘ext2fs_block_bitmap_loc’ throws an exception...
e2fsprogs-1.47.3/misc/dumpe2fs.c:214:53: danger: ‘block_bitmap’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def581]
e2fsprogs-1.47.3/misc/dumpe2fs.c:214:53: warning[-Wanalyzer-malloc-leak]: leak of ‘inode_bitmap’
e2fsprogs-1.47.3/misc/dumpe2fs.c:174:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:176:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:176:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:177:32: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:177:32: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/dumpe2fs.c:192:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:193:31: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:199:20: branch_true: following ‘true’ branch (when ‘grp_only != 0’)...
e2fsprogs-1.47.3/misc/dumpe2fs.c:200:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:201:28: branch_true: following ‘true’ branch (when ‘i == 0’)...
e2fsprogs-1.47.3/misc/dumpe2fs.c:202:33: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:214:53: throw: if ‘ext2fs_block_bitmap_loc’ throws an exception...
e2fsprogs-1.47.3/misc/dumpe2fs.c:214:53: danger: ‘inode_bitmap’ leaks here; was allocated at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def582]
e2fsprogs-1.47.3/misc/dumpe2fs.c:215:53: warning[-Wanalyzer-malloc-leak]: leak of ‘block_bitmap’
e2fsprogs-1.47.3/misc/dumpe2fs.c:174:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:175:32: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:175:32: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/dumpe2fs.c:176:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:180:36: branch_false: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:192:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:193:31: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:199:20: branch_true: following ‘true’ branch (when ‘grp_only != 0’)...
e2fsprogs-1.47.3/misc/dumpe2fs.c:200:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:201:28: branch_true: following ‘true’ branch (when ‘i == 0’)...
e2fsprogs-1.47.3/misc/dumpe2fs.c:202:33: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:215:53: throw: if ‘ext2fs_inode_bitmap_loc’ throws an exception...
e2fsprogs-1.47.3/misc/dumpe2fs.c:215:53: danger: ‘block_bitmap’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def583]
e2fsprogs-1.47.3/misc/dumpe2fs.c:215:53: warning[-Wanalyzer-malloc-leak]: leak of ‘inode_bitmap’
e2fsprogs-1.47.3/misc/dumpe2fs.c:174:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:176:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:176:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:177:32: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:177:32: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/dumpe2fs.c:192:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:193:31: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:199:20: branch_true: following ‘true’ branch (when ‘grp_only != 0’)...
e2fsprogs-1.47.3/misc/dumpe2fs.c:200:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:201:28: branch_true: following ‘true’ branch (when ‘i == 0’)...
e2fsprogs-1.47.3/misc/dumpe2fs.c:202:33: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:215:53: throw: if ‘ext2fs_inode_bitmap_loc’ throws an exception...
e2fsprogs-1.47.3/misc/dumpe2fs.c:215:53: danger: ‘inode_bitmap’ leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def584]
e2fsprogs-1.47.3/misc/dumpe2fs.c:216:53: warning[-Wanalyzer-malloc-leak]: leak of ‘block_bitmap’
e2fsprogs-1.47.3/misc/dumpe2fs.c:174:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:175:32: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:175:32: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/dumpe2fs.c:176:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:180:36: branch_false: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:192:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:193:31: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:199:20: branch_true: following ‘true’ branch (when ‘grp_only != 0’)...
e2fsprogs-1.47.3/misc/dumpe2fs.c:200:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:201:28: branch_true: following ‘true’ branch (when ‘i == 0’)...
e2fsprogs-1.47.3/misc/dumpe2fs.c:202:33: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:205:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:207:45: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:216:53: throw: if ‘ext2fs_inode_table_loc’ throws an exception...
e2fsprogs-1.47.3/misc/dumpe2fs.c:216:53: danger: ‘block_bitmap’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def585]
e2fsprogs-1.47.3/misc/dumpe2fs.c:216:53: warning[-Wanalyzer-malloc-leak]: leak of ‘inode_bitmap’
e2fsprogs-1.47.3/misc/dumpe2fs.c:174:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:176:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:176:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:177:32: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:177:32: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/dumpe2fs.c:192:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:193:31: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:199:20: branch_true: following ‘true’ branch (when ‘grp_only != 0’)...
e2fsprogs-1.47.3/misc/dumpe2fs.c:200:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:201:28: branch_true: following ‘true’ branch (when ‘i == 0’)...
e2fsprogs-1.47.3/misc/dumpe2fs.c:202:33: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:205:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:207:45: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:216:53: throw: if ‘ext2fs_inode_table_loc’ throws an exception...
e2fsprogs-1.47.3/misc/dumpe2fs.c:216:53: danger: ‘inode_bitmap’ leaks here; was allocated at [(5)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def586]
e2fsprogs-1.47.3/misc/dumpe2fs.c:224:41: warning[-Wanalyzer-malloc-leak]: leak of ‘block_bitmap’
e2fsprogs-1.47.3/misc/dumpe2fs.c:174:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:175:32: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:175:32: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/dumpe2fs.c:176:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:180:36: branch_false: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:192:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:193:31: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:199:20: branch_false: following ‘false’ branch (when ‘grp_only == 0’)...
e2fsprogs-1.47.3/misc/dumpe2fs.c:220:24: branch_false: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:224:41: throw: if ‘ext2fs_bg_checksum’ throws an exception...
e2fsprogs-1.47.3/misc/dumpe2fs.c:224:41: danger: ‘block_bitmap’ leaks here; was allocated at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def587]
e2fsprogs-1.47.3/misc/dumpe2fs.c:224:41: warning[-Wanalyzer-malloc-leak]: leak of ‘inode_bitmap’
e2fsprogs-1.47.3/misc/dumpe2fs.c:174:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:176:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:176:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:177:32: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:177:32: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/dumpe2fs.c:192:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:193:31: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:199:20: branch_false: following ‘false’ branch (when ‘grp_only == 0’)...
e2fsprogs-1.47.3/misc/dumpe2fs.c:220:24: branch_false: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:224:41: throw: if ‘ext2fs_bg_checksum’ throws an exception...
e2fsprogs-1.47.3/misc/dumpe2fs.c:224:41: danger: ‘inode_bitmap’ leaks here; was allocated at [(5)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def588]
e2fsprogs-1.47.3/misc/dumpe2fs.c:225:45: warning[-Wanalyzer-malloc-leak]: leak of ‘block_bitmap’
e2fsprogs-1.47.3/misc/dumpe2fs.c:174:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:175:32: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:175:32: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/dumpe2fs.c:176:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:180:36: branch_false: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:192:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:193:31: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:199:20: branch_false: following ‘false’ branch (when ‘grp_only == 0’)...
e2fsprogs-1.47.3/misc/dumpe2fs.c:220:24: branch_false: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:225:45: throw: if ‘ext2fs_group_desc_csum’ throws an exception...
e2fsprogs-1.47.3/misc/dumpe2fs.c:225:45: danger: ‘block_bitmap’ leaks here; was allocated at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def589]
e2fsprogs-1.47.3/misc/dumpe2fs.c:225:45: warning[-Wanalyzer-malloc-leak]: leak of ‘inode_bitmap’
e2fsprogs-1.47.3/misc/dumpe2fs.c:174:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:176:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:176:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:177:32: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:177:32: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/dumpe2fs.c:192:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/dumpe2fs.c:193:31: branch_true: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:199:20: branch_false: following ‘false’ branch (when ‘grp_only == 0’)...
e2fsprogs-1.47.3/misc/dumpe2fs.c:220:24: branch_false: ...to here
e2fsprogs-1.47.3/misc/dumpe2fs.c:225:45: throw: if ‘ext2fs_group_desc_csum’ throws an exception...
e2fsprogs-1.47.3/misc/dumpe2fs.c:225:45: danger: ‘inode_bitmap’ leaks here; was allocated at [(5)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def590]
e2fsprogs-1.47.3/misc/e2freefrag.c:183:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(&mntpoint, 0)’
e2fsprogs-1.47.3/misc/e2freefrag.c:170:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2freefrag.c:174:14: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2freefrag.c:174:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2freefrag.c:176:14: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2freefrag.c:176:14: acquire_resource: opened here
e2fsprogs-1.47.3/misc/e2freefrag.c:177:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2freefrag.c:182:17: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2freefrag.c:183:12: danger: ‘open(&mntpoint, 0)’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def591]
e2fsprogs-1.47.3/misc/e2fuzz.c:50:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fsname, 2)’
e2fsprogs-1.47.3/misc/e2fuzz.c:179:12: enter_function: entry to ‘process_fs’
e2fsprogs-1.47.3/misc/e2fuzz.c:190:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:196:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:206:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:212:16: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:218:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:225:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:227:23: branch_true: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:228:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:233:33: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:256:14: acquire_resource: opened here
e2fsprogs-1.47.3/misc/e2fuzz.c:257:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:261:17: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:261:17: call_function: calling ‘getseed’ from ‘process_fs’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def592]
e2fsprogs-1.47.3/misc/e2fuzz.c:52:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fsname, 2)’
e2fsprogs-1.47.3/misc/e2fuzz.c:179:12: enter_function: entry to ‘process_fs’
e2fsprogs-1.47.3/misc/e2fuzz.c:190:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:196:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:206:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:212:16: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:218:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:225:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:227:23: branch_true: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:228:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:233:33: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:256:14: acquire_resource: opened here
e2fsprogs-1.47.3/misc/e2fuzz.c:257:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:261:17: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:261:17: call_function: calling ‘getseed’ from ‘process_fs’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def593]
e2fsprogs-1.47.3/misc/e2fuzz.c:57:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/urandom", 0)’
e2fsprogs-1.47.3/misc/e2fuzz.c:179:12: enter_function: entry to ‘process_fs’
e2fsprogs-1.47.3/misc/e2fuzz.c:190:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:196:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:206:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:212:16: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:218:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:225:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:227:23: branch_true: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:228:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:233:33: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:257:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:261:17: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:261:17: call_function: calling ‘getseed’ from ‘process_fs’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def594]
e2fsprogs-1.47.3/misc/e2fuzz.c:57:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fsname, 2)’
e2fsprogs-1.47.3/misc/e2fuzz.c:179:12: enter_function: entry to ‘process_fs’
e2fsprogs-1.47.3/misc/e2fuzz.c:190:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:196:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:206:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:212:16: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:218:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:225:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:227:23: branch_true: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:228:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:233:33: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:256:14: acquire_resource: opened here
e2fsprogs-1.47.3/misc/e2fuzz.c:257:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:261:17: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:261:17: call_function: calling ‘getseed’ from ‘process_fs’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def595]
e2fsprogs-1.47.3/misc/e2fuzz.c:58:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(fsname, 2)’
e2fsprogs-1.47.3/misc/e2fuzz.c:179:12: enter_function: entry to ‘process_fs’
e2fsprogs-1.47.3/misc/e2fuzz.c:190:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:196:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:206:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:212:16: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:212:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:218:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:225:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:227:23: branch_true: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:228:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:233:33: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:256:14: acquire_resource: opened here
e2fsprogs-1.47.3/misc/e2fuzz.c:257:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2fuzz.c:261:17: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2fuzz.c:261:17: call_function: calling ‘getseed’ from ‘process_fs’
e2fsprogs-1.47.3/misc/e2fuzz.c:261:17: return_function: returning to ‘process_fs’ from ‘getseed’
e2fsprogs-1.47.3/misc/e2fuzz.c:262:33: throw: if ‘ext2fs_blocks_count’ throws an exception...
e2fsprogs-1.47.3/misc/e2fuzz.c:58:16: danger: ‘open(fsname, 2)’ leaks here; was opened at [(12)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def596]
e2fsprogs-1.47.3/misc/e2undo.c:191:56: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)*ctx.blocksize)’
e2fsprogs-1.47.3/misc/e2undo.c:167:12: enter_function: entry to ‘check_filesystem’
e2fsprogs-1.47.3/misc/e2undo.c:176:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2undo.c:186:33: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2undo.c:186:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘check_filesystem’
e2fsprogs-1.47.3/misc/e2undo.c:191:56: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2undo.c:191:18: throw: if ‘io_channel_read_blk64’ throws an exception...
e2fsprogs-1.47.3/misc/e2undo.c:191:56: danger: ‘malloc((long unsigned int)*ctx.blocksize)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def597]
e2fsprogs-1.47.3/misc/e2undo.c:275:17: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb_file’
e2fsprogs-1.47.3/misc/e2undo.c:257:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2undo.c:262:12: branch_false: following ‘false’ branch (when ‘tmp_name’ is non-NULL)...
e2fsprogs-1.47.3/misc/e2undo.c:264:20: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2undo.c:265:20: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/e2undo.c:266:12: branch_false: following ‘false’ branch (when ‘tdb_file’ is non-NULL)...
e2fsprogs-1.47.3/misc/e2undo.c:270:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2undo.c:273:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/e2undo.c:275:17: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/misc/e2undo.c:275:17: danger: ‘tdb_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def598]
e2fsprogs-1.47.3/misc/e2undo.c:280:18: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb_file’
e2fsprogs-1.47.3/misc/e2undo.c:257:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2undo.c:262:12: branch_false: following ‘false’ branch (when ‘tmp_name’ is non-NULL)...
e2fsprogs-1.47.3/misc/e2undo.c:264:20: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2undo.c:265:20: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/e2undo.c:266:12: branch_false: following ‘false’ branch (when ‘tdb_file’ is non-NULL)...
e2fsprogs-1.47.3/misc/e2undo.c:270:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2undo.c:280:18: throw: if ‘set_undo_io_backing_manager’ throws an exception...
e2fsprogs-1.47.3/misc/e2undo.c:280:18: danger: ‘tdb_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def599]
e2fsprogs-1.47.3/misc/e2undo.c:284:18: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb_file’
e2fsprogs-1.47.3/misc/e2undo.c:257:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2undo.c:262:12: branch_false: following ‘false’ branch (when ‘tmp_name’ is non-NULL)...
e2fsprogs-1.47.3/misc/e2undo.c:264:20: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2undo.c:265:20: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/e2undo.c:266:12: branch_false: following ‘false’ branch (when ‘tdb_file’ is non-NULL)...
e2fsprogs-1.47.3/misc/e2undo.c:270:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2undo.c:281:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e2undo.c:283:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/e2undo.c:284:18: throw: if ‘set_undo_io_backup_file’ throws an exception...
e2fsprogs-1.47.3/misc/e2undo.c:284:18: danger: ‘tdb_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-686): [#def600]
e2fsprogs-1.47.3/misc/e4crypt.c:87:9: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘long unsigned int’ but received ‘void *’ for variadic argument 1 of ‘va’
e2fsprogs-1.47.3/misc/e4crypt.c:798:13: enter_function: entry to ‘do_new_session’
e2fsprogs-1.47.3/misc/e4crypt.c:803:12: branch_false: following ‘false’ branch (when ‘argc <= 1’)...
e2fsprogs-1.47.3/misc/e4crypt.c:808:17: branch_false: ...to here
e2fsprogs-1.47.3/misc/e4crypt.c:808:17: call_function: calling ‘keyctl’ from ‘do_new_session’ with 1 variadic argument
Error: COMPILER_WARNING (CWE-704): [#def601]
e2fsprogs-1.47.3/misc/e4crypt.c: scope_hint: In function ‘hex2byte’
e2fsprogs-1.47.3/misc/e4crypt.c:152:19: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def602]
e2fsprogs-1.47.3/misc/e4crypt.c:152:19: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def603]
e2fsprogs-1.47.3/misc/e4crypt.c:155:19: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def604]
e2fsprogs-1.47.3/misc/e4crypt.c:155:19: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-401): [#def605]
e2fsprogs-1.47.3/misc/e4crypt.c:270:17: warning[-Wanalyzer-malloc-leak]: leak of ‘salt_buf’
e2fsprogs-1.47.3/misc/e4crypt.c:641:13: enter_function: entry to ‘do_add_key’
e2fsprogs-1.47.3/misc/e4crypt.c:649:16: branch_true: following ‘true’ branch (when ‘opt != -1’)...
e2fsprogs-1.47.3/misc/e4crypt.c:650:17: branch_true: ...to here
e2fsprogs-1.47.3/misc/e4crypt.c:649:16: branch_false: following ‘false’ branch (when ‘opt == -1’)...
e2fsprogs-1.47.3/misc/e4crypt.c:683:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/e4crypt.c:683:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e4crypt.c:685:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/e4crypt.c:685:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/e4crypt.c:689:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/e4crypt.c:689:9: call_function: calling ‘validate_paths’ from ‘do_add_key’
e2fsprogs-1.47.3/misc/e4crypt.c:689:9: return_function: returning to ‘do_add_key’ from ‘validate_paths’
e2fsprogs-1.47.3/misc/e4crypt.c:690:12: branch_false: following ‘false’ branch (when ‘explicit_salt == 0’)...
e2fsprogs-1.47.3/misc/e4crypt.c:691:22: branch_false: ...to here
e2fsprogs-1.47.3/misc/e4crypt.c:691:34: branch_true: following ‘true’ branch (when ‘i < argc’)...
e2fsprogs-1.47.3/misc/e4crypt.c:692:40: branch_true: ...to here
e2fsprogs-1.47.3/misc/e4crypt.c:692:25: call_function: calling ‘parse_salt’ from ‘do_add_key’
Error: COMPILER_WARNING (CWE-704): [#def606]
e2fsprogs-1.47.3/misc/e4crypt.c: scope_hint: In function ‘parse_salt’
e2fsprogs-1.47.3/misc/e4crypt.c:312:27: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def607]
e2fsprogs-1.47.3/misc/e4crypt.c:312:27: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def608]
e2fsprogs-1.47.3/misc/e4crypt.c:313:27: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def609]
e2fsprogs-1.47.3/misc/e4crypt.c:313:27: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-401): [#def610]
e2fsprogs-1.47.3/misc/e4crypt.c:334:1: warning[-Wanalyzer-malloc-leak]: leak of ‘salt_buf’
e2fsprogs-1.47.3/misc/e4crypt.c:641:13: enter_function: entry to ‘do_add_key’
e2fsprogs-1.47.3/misc/e4crypt.c:649:16: branch_true: following ‘true’ branch (when ‘opt != -1’)...
e2fsprogs-1.47.3/misc/e4crypt.c:650:17: branch_true: ...to here
e2fsprogs-1.47.3/misc/e4crypt.c:659:28: branch_false: following ‘false’ branch (when ‘explicit_salt == 0’)...
e2fsprogs-1.47.3/misc/e4crypt.c:664:25: branch_false: ...to here
e2fsprogs-1.47.3/misc/e4crypt.c:664:25: call_function: calling ‘parse_salt’ from ‘do_add_key’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def611]
e2fsprogs-1.47.3/misc/filefrag.c:291:37: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
e2fsprogs-1.47.3/misc/filefrag.c:392:12: enter_function: entry to ‘frag_report’
e2fsprogs-1.47.3/misc/filefrag.c:412:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/filefrag.c:419:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/filefrag.c:419:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/filefrag.c:428:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/filefrag.c:441:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/filefrag.c:460:23: branch_false: ...to here
e2fsprogs-1.47.3/misc/filefrag.c:492:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/filefrag.c:493:22: branch_true: ...to here
e2fsprogs-1.47.3/misc/filefrag.c:493:22: call_function: calling ‘filefrag_fiemap’ from ‘frag_report’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def612]
e2fsprogs-1.47.3/misc/filefrag.c:292:37: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
e2fsprogs-1.47.3/misc/filefrag.c:392:12: enter_function: entry to ‘frag_report’
e2fsprogs-1.47.3/misc/filefrag.c:412:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/filefrag.c:419:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/filefrag.c:419:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/filefrag.c:428:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/filefrag.c:441:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/filefrag.c:460:23: branch_false: ...to here
e2fsprogs-1.47.3/misc/filefrag.c:492:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/filefrag.c:493:22: branch_true: ...to here
e2fsprogs-1.47.3/misc/filefrag.c:493:22: call_function: calling ‘filefrag_fiemap’ from ‘frag_report’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def613]
e2fsprogs-1.47.3/misc/fuse2fs.c:552:9: warning[-Wanalyzer-malloc-leak]: leak of ‘temp_path’
e2fsprogs-1.47.3/misc/fuse2fs.c:3228:12: enter_function: entry to ‘op_create’
e2fsprogs-1.47.3/misc/fuse2fs.c:3241:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/fuse2fs.c:3242:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/fuse2fs.c:3244:21: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/fuse2fs.c:3245:12: branch_false: following ‘false’ branch (when ‘temp_path’ is non-NULL)...
e2fsprogs-1.47.3/misc/fuse2fs.c:3249:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/fuse2fs.c:3250:12: branch_false: following ‘false’ branch (when ‘node_name’ is non-NULL)...
e2fsprogs-1.47.3/misc/fuse2fs.c:3254:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/fuse2fs.c:3259:14: call_function: calling ‘fs_can_allocate’ from ‘op_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def614]
e2fsprogs-1.47.3/misc/fuse2fs.c:557:19: warning[-Wanalyzer-malloc-leak]: leak of ‘temp_path’
e2fsprogs-1.47.3/misc/fuse2fs.c:3228:12: enter_function: entry to ‘op_create’
e2fsprogs-1.47.3/misc/fuse2fs.c:3241:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/fuse2fs.c:3242:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/fuse2fs.c:3244:21: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/fuse2fs.c:3245:12: branch_false: following ‘false’ branch (when ‘temp_path’ is non-NULL)...
e2fsprogs-1.47.3/misc/fuse2fs.c:3249:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/fuse2fs.c:3250:12: branch_false: following ‘false’ branch (when ‘node_name’ is non-NULL)...
e2fsprogs-1.47.3/misc/fuse2fs.c:3254:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/fuse2fs.c:3259:14: call_function: calling ‘fs_can_allocate’ from ‘op_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def615]
e2fsprogs-1.47.3/misc/fuse2fs.c:568:20: warning[-Wanalyzer-malloc-leak]: leak of ‘temp_path’
e2fsprogs-1.47.3/misc/fuse2fs.c:3228:12: enter_function: entry to ‘op_create’
e2fsprogs-1.47.3/misc/fuse2fs.c:3241:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/fuse2fs.c:3242:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/fuse2fs.c:3244:21: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/fuse2fs.c:3245:12: branch_false: following ‘false’ branch (when ‘temp_path’ is non-NULL)...
e2fsprogs-1.47.3/misc/fuse2fs.c:3249:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/fuse2fs.c:3250:12: branch_false: following ‘false’ branch (when ‘node_name’ is non-NULL)...
e2fsprogs-1.47.3/misc/fuse2fs.c:3254:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/fuse2fs.c:3259:14: call_function: calling ‘fs_can_allocate’ from ‘op_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def616]
e2fsprogs-1.47.3/misc/fuse2fs.c:570:28: warning[-Wanalyzer-malloc-leak]: leak of ‘temp_path’
e2fsprogs-1.47.3/misc/fuse2fs.c:3228:12: enter_function: entry to ‘op_create’
e2fsprogs-1.47.3/misc/fuse2fs.c:3241:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/fuse2fs.c:3242:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/fuse2fs.c:3244:21: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/fuse2fs.c:3245:12: branch_false: following ‘false’ branch (when ‘temp_path’ is non-NULL)...
e2fsprogs-1.47.3/misc/fuse2fs.c:3249:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/fuse2fs.c:3250:12: branch_false: following ‘false’ branch (when ‘node_name’ is non-NULL)...
e2fsprogs-1.47.3/misc/fuse2fs.c:3254:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/fuse2fs.c:3259:14: call_function: calling ‘fs_can_allocate’ from ‘op_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def617]
e2fsprogs-1.47.3/misc/fuse2fs.c:571:16: warning[-Wanalyzer-malloc-leak]: leak of ‘temp_path’
e2fsprogs-1.47.3/misc/fuse2fs.c:3228:12: enter_function: entry to ‘op_create’
e2fsprogs-1.47.3/misc/fuse2fs.c:3241:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/fuse2fs.c:3242:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/fuse2fs.c:3244:21: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/fuse2fs.c:3245:12: branch_false: following ‘false’ branch (when ‘temp_path’ is non-NULL)...
e2fsprogs-1.47.3/misc/fuse2fs.c:3249:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/fuse2fs.c:3250:12: branch_false: following ‘false’ branch (when ‘node_name’ is non-NULL)...
e2fsprogs-1.47.3/misc/fuse2fs.c:3254:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/fuse2fs.c:3259:14: call_function: calling ‘fs_can_allocate’ from ‘op_create’
Error: CPPCHECK_WARNING (CWE-476): [#def618]
e2fsprogs-1.47.3/misc/fuse2fs.c:1323: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: filename
Error: GCC_ANALYZER_WARNING (CWE-401): [#def619]
e2fsprogs-1.47.3/misc/fuse2fs.c:3967:15: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/misc/fuse2fs.c:4022:12: enter_function: entry to ‘punch_helper’
e2fsprogs-1.47.3/misc/fuse2fs.c:4035:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/fuse2fs.c:4036:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/fuse2fs.c:4037:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/fuse2fs.c:4038:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/fuse2fs.c:4042:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/fuse2fs.c:4046:17: call_function: inlined call to ‘FUSE2FS_B_TO_FSB’ from ‘punch_helper’
e2fsprogs-1.47.3/misc/fuse2fs.c:4052:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/fuse2fs.c:4056:13: call_function: inlined call to ‘FUSE2FS_B_TO_FSBT’ from ‘punch_helper’
e2fsprogs-1.47.3/misc/fuse2fs.c:4056:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/fuse2fs.c:4057:23: branch_true: ...to here
e2fsprogs-1.47.3/misc/fuse2fs.c:4057:23: call_function: calling ‘clean_block_middle’ from ‘punch_helper’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def620]
e2fsprogs-1.47.3/misc/fuse2fs.c:4003:15: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/misc/fuse2fs.c:4022:12: enter_function: entry to ‘punch_helper’
e2fsprogs-1.47.3/misc/fuse2fs.c:4035:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/fuse2fs.c:4036:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/fuse2fs.c:4037:9: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/fuse2fs.c:4038:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/fuse2fs.c:4042:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/fuse2fs.c:4046:17: call_function: inlined call to ‘FUSE2FS_B_TO_FSB’ from ‘punch_helper’
e2fsprogs-1.47.3/misc/fuse2fs.c:4052:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/fuse2fs.c:4056:13: call_function: inlined call to ‘FUSE2FS_B_TO_FSBT’ from ‘punch_helper’
e2fsprogs-1.47.3/misc/fuse2fs.c:4056:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/fuse2fs.c:4060:23: branch_false: ...to here
e2fsprogs-1.47.3/misc/fuse2fs.c:4060:23: call_function: calling ‘clean_block_edge’ from ‘punch_helper’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def621]
e2fsprogs-1.47.3/misc/fuse2fs.c:4206:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/urandom", 0)’
e2fsprogs-1.47.3/misc/fuse2fs.c:4198:14: acquire_resource: opened here
e2fsprogs-1.47.3/misc/fuse2fs.c:4199:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/fuse2fs.c:4204:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/fuse2fs.c:4206:9: danger: ‘open("/dev/urandom", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def622]
e2fsprogs-1.47.3/misc/lsattr.c:85:13: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
e2fsprogs-1.47.3/misc/lsattr.c:139:12: enter_function: entry to ‘lsattr_dir_proc’
e2fsprogs-1.47.3/misc/lsattr.c:146:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:150:23: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:150:16: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/lsattr.c:151:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
e2fsprogs-1.47.3/misc/lsattr.c:157:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:157:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:161:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:164:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:165:25: call_function: calling ‘list_attributes’ from ‘lsattr_dir_proc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def623]
e2fsprogs-1.47.3/misc/lsattr.c:86:17: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
e2fsprogs-1.47.3/misc/lsattr.c:139:12: enter_function: entry to ‘lsattr_dir_proc’
e2fsprogs-1.47.3/misc/lsattr.c:146:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:150:23: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:150:16: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/lsattr.c:151:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
e2fsprogs-1.47.3/misc/lsattr.c:157:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:157:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:161:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:164:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:165:25: call_function: calling ‘list_attributes’ from ‘lsattr_dir_proc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def624]
e2fsprogs-1.47.3/misc/lsattr.c:91:21: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
e2fsprogs-1.47.3/misc/lsattr.c:139:12: enter_function: entry to ‘lsattr_dir_proc’
e2fsprogs-1.47.3/misc/lsattr.c:146:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:150:23: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:150:16: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/lsattr.c:151:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
e2fsprogs-1.47.3/misc/lsattr.c:157:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:157:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:161:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:164:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:165:25: call_function: calling ‘list_attributes’ from ‘lsattr_dir_proc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def625]
e2fsprogs-1.47.3/misc/lsattr.c:92:25: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
e2fsprogs-1.47.3/misc/lsattr.c:139:12: enter_function: entry to ‘lsattr_dir_proc’
e2fsprogs-1.47.3/misc/lsattr.c:146:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:150:23: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:150:16: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/lsattr.c:151:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
e2fsprogs-1.47.3/misc/lsattr.c:157:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:157:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:161:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:164:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:165:25: call_function: calling ‘list_attributes’ from ‘lsattr_dir_proc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def626]
e2fsprogs-1.47.3/misc/lsattr.c:100:21: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
e2fsprogs-1.47.3/misc/lsattr.c:139:12: enter_function: entry to ‘lsattr_dir_proc’
e2fsprogs-1.47.3/misc/lsattr.c:146:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:150:23: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:150:16: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/lsattr.c:151:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
e2fsprogs-1.47.3/misc/lsattr.c:157:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:157:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:161:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:164:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:165:25: call_function: calling ‘list_attributes’ from ‘lsattr_dir_proc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def627]
e2fsprogs-1.47.3/misc/lsattr.c:101:25: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
e2fsprogs-1.47.3/misc/lsattr.c:139:12: enter_function: entry to ‘lsattr_dir_proc’
e2fsprogs-1.47.3/misc/lsattr.c:146:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:150:23: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:150:16: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/lsattr.c:151:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
e2fsprogs-1.47.3/misc/lsattr.c:157:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:157:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:161:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:164:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:165:25: call_function: calling ‘list_attributes’ from ‘lsattr_dir_proc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def628]
e2fsprogs-1.47.3/misc/lsattr.c:110:17: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
e2fsprogs-1.47.3/misc/lsattr.c:139:12: enter_function: entry to ‘lsattr_dir_proc’
e2fsprogs-1.47.3/misc/lsattr.c:146:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:150:23: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:150:16: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/lsattr.c:151:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
e2fsprogs-1.47.3/misc/lsattr.c:157:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:157:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:161:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:164:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:165:25: call_function: calling ‘list_attributes’ from ‘lsattr_dir_proc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def629]
e2fsprogs-1.47.3/misc/lsattr.c:113:17: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
e2fsprogs-1.47.3/misc/lsattr.c:139:12: enter_function: entry to ‘lsattr_dir_proc’
e2fsprogs-1.47.3/misc/lsattr.c:146:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:150:23: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:150:16: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/lsattr.c:151:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
e2fsprogs-1.47.3/misc/lsattr.c:157:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:157:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:161:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:164:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:165:25: call_function: calling ‘list_attributes’ from ‘lsattr_dir_proc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def630]
e2fsprogs-1.47.3/misc/lsattr.c:162:17: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
e2fsprogs-1.47.3/misc/lsattr.c:146:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:150:23: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:150:16: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/lsattr.c:151:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
e2fsprogs-1.47.3/misc/lsattr.c:157:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:161:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/lsattr.c:162:17: branch_true: ...to here
e2fsprogs-1.47.3/misc/lsattr.c:162:17: throw: if ‘perror’ throws an exception...
e2fsprogs-1.47.3/misc/lsattr.c:162:17: danger: ‘path’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def631]
e2fsprogs-1.47.3/misc/mk_hugefiles.c:113:34: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
e2fsprogs-1.47.3/misc/mk_hugefiles.c:102:14: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:103:12: branch_false: following ‘false’ branch (when ‘fn’ is non-NULL)...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:106:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:110:20: branch_false: following ‘false’ branch (when ‘next’ is NULL)...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:112:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:112:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:113:34: branch_true: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:113:34: throw: if ‘ext2fs_new_inode’ throws an exception...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:113:34: danger: ‘cp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def632]
e2fsprogs-1.47.3/misc/mk_hugefiles.c:113:34: warning[-Wanalyzer-malloc-leak]: leak of ‘fn’
e2fsprogs-1.47.3/misc/mk_hugefiles.c:102:14: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:103:12: branch_false: following ‘false’ branch (when ‘fn’ is non-NULL)...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:106:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:110:20: branch_true: following ‘true’ branch (when ‘next’ is non-NULL)...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:111:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:112:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:113:34: branch_true: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:115:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:118:34: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:119:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:122:25: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:124:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:127:25: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:132:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:135:20: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:135:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:110:20: branch_true: following ‘true’ branch (when ‘next’ is non-NULL)...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:111:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:112:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:113:34: branch_true: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:113:34: throw: if ‘ext2fs_new_inode’ throws an exception...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:113:34: danger: ‘fn’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def633]
e2fsprogs-1.47.3/misc/mk_hugefiles.c:118:34: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
e2fsprogs-1.47.3/misc/mk_hugefiles.c:102:14: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:103:12: branch_false: following ‘false’ branch (when ‘fn’ is non-NULL)...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:106:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:110:20: branch_false: following ‘false’ branch (when ‘next’ is NULL)...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:112:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:112:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:113:34: branch_true: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:115:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:118:34: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:118:34: throw: if ‘ext2fs_mkdir’ throws an exception...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:118:34: danger: ‘cp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def634]
e2fsprogs-1.47.3/misc/mk_hugefiles.c:118:34: warning[-Wanalyzer-malloc-leak]: leak of ‘fn’
e2fsprogs-1.47.3/misc/mk_hugefiles.c:102:14: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:103:12: branch_false: following ‘false’ branch (when ‘fn’ is non-NULL)...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:106:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:110:20: branch_true: following ‘true’ branch (when ‘next’ is non-NULL)...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:111:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:112:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:113:34: branch_true: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:115:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:118:34: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:119:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:122:25: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:124:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:127:25: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:132:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:135:20: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:135:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:110:20: branch_true: following ‘true’ branch (when ‘next’ is non-NULL)...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:111:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:112:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:113:34: branch_true: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:115:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:118:34: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:118:34: throw: if ‘ext2fs_mkdir’ throws an exception...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:118:34: danger: ‘fn’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def635]
e2fsprogs-1.47.3/misc/mk_hugefiles.c:123:34: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
e2fsprogs-1.47.3/misc/mk_hugefiles.c:102:14: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:103:12: branch_false: following ‘false’ branch (when ‘fn’ is non-NULL)...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:106:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:110:20: branch_false: following ‘false’ branch (when ‘next’ is NULL)...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:112:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:112:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:113:34: branch_true: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:115:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:118:34: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:119:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:122:25: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:123:34: throw: if ‘ext2fs_read_inode’ throws an exception...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:123:34: danger: ‘cp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def636]
e2fsprogs-1.47.3/misc/mk_hugefiles.c:123:34: warning[-Wanalyzer-malloc-leak]: leak of ‘fn’
e2fsprogs-1.47.3/misc/mk_hugefiles.c:359:11: enter_function: entry to ‘mk_hugefiles’
e2fsprogs-1.47.3/misc/mk_hugefiles.c:369:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:372:14: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:372:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:375:15: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:405:18: call_function: calling ‘create_directory’ from ‘mk_hugefiles’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def637]
e2fsprogs-1.47.3/misc/mk_hugefiles.c:131:34: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
e2fsprogs-1.47.3/misc/mk_hugefiles.c:102:14: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:103:12: branch_false: following ‘false’ branch (when ‘fn’ is non-NULL)...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:106:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:110:20: branch_false: following ‘false’ branch (when ‘next’ is NULL)...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:112:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:112:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:113:34: branch_true: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:115:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:118:34: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:119:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:122:25: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:124:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:127:25: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:131:34: throw: if ‘ext2fs_write_inode’ throws an exception...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:131:34: danger: ‘cp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def638]
e2fsprogs-1.47.3/misc/mk_hugefiles.c:131:34: warning[-Wanalyzer-malloc-leak]: leak of ‘fn’
e2fsprogs-1.47.3/misc/mk_hugefiles.c:359:11: enter_function: entry to ‘mk_hugefiles’
e2fsprogs-1.47.3/misc/mk_hugefiles.c:369:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:372:14: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:372:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mk_hugefiles.c:375:15: branch_false: ...to here
e2fsprogs-1.47.3/misc/mk_hugefiles.c:405:18: call_function: calling ‘create_directory’ from ‘mk_hugefiles’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def639]
e2fsprogs-1.47.3/misc/mke2fs.c:225:18: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(bad_blocks_file, "r")’
e2fsprogs-1.47.3/misc/mke2fs.c:219:13: acquire_resource: opened here
e2fsprogs-1.47.3/misc/mke2fs.c:220:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:225:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:225:18: throw: if ‘ext2fs_read_bb_FILE’ throws an exception...
e2fsprogs-1.47.3/misc/mke2fs.c:225:18: danger: ‘fopen(bad_blocks_file, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def640]
e2fsprogs-1.47.3/misc/mke2fs.c:225:18: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(bad_blocks_file, "r")’
e2fsprogs-1.47.3/misc/mke2fs.c:219:13: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/mke2fs.c:220:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:225:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:225:18: throw: if ‘ext2fs_read_bb_FILE’ throws an exception...
e2fsprogs-1.47.3/misc/mke2fs.c:225:18: danger: ‘fopen(bad_blocks_file, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def641]
e2fsprogs-1.47.3/misc/mke2fs.c:255:18: warning[-Wanalyzer-malloc-leak]: leak of ‘popen(&buf, "r")’
e2fsprogs-1.47.3/misc/mke2fs.c:249:13: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/mke2fs.c:250:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:255:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:255:18: throw: if ‘ext2fs_read_bb_FILE’ throws an exception...
e2fsprogs-1.47.3/misc/mke2fs.c:255:18: danger: ‘popen(&buf, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def642]
e2fsprogs-1.47.3/misc/mke2fs.c:351:26: warning[-Wanalyzer-malloc-leak]: leak of ‘inode’
e2fsprogs-1.47.3/misc/mke2fs.c:338:13: enter_function: entry to ‘write_reserved_inodes’
e2fsprogs-1.47.3/misc/mke2fs.c:344:18: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:344:37: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:344:18: call_function: calling ‘ext2fs_get_memzero’ from ‘write_reserved_inodes’
e2fsprogs-1.47.3/misc/mke2fs.c:344:18: return_function: returning to ‘write_reserved_inodes’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/misc/mke2fs.c:345:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:345:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:350:29: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:351:26: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:352:50: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:351:26: throw: if ‘ext2fs_write_inode_full’ throws an exception...
e2fsprogs-1.47.3/misc/mke2fs.c:351:26: danger: ‘inode’ leaks here; was allocated at [(6)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def643]
e2fsprogs-1.47.3/misc/mke2fs.c:601:26: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/misc/mke2fs.c:592:15: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/mke2fs.c:593:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:599:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:599:12: branch_true: following ‘true’ branch (when ‘sect == 0’)...
e2fsprogs-1.47.3/misc/mke2fs.c:601:26: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:601:26: throw: if ‘io_channel_read_blk64’ throws an exception...
e2fsprogs-1.47.3/misc/mke2fs.c:601:26: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def644]
e2fsprogs-1.47.3/misc/mke2fs.c:617:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/misc/mke2fs.c:592:15: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/mke2fs.c:593:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:599:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:599:12: branch_false: following ‘false’ branch (when ‘sect != 0’)...
e2fsprogs-1.47.3/misc/mke2fs.c:616:24: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:617:9: throw: if the called function throws an exception...
e2fsprogs-1.47.3/misc/mke2fs.c:617:9: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def645]
e2fsprogs-1.47.3/misc/mke2fs.c:618:18: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/misc/mke2fs.c:592:15: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/mke2fs.c:593:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:599:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:599:12: branch_false: following ‘false’ branch (when ‘sect != 0’)...
e2fsprogs-1.47.3/misc/mke2fs.c:616:24: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:618:18: throw: if ‘io_channel_write_blk64’ throws an exception...
e2fsprogs-1.47.3/misc/mke2fs.c:618:18: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def646]
e2fsprogs-1.47.3/misc/mke2fs.c:619:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/misc/mke2fs.c:592:15: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/mke2fs.c:593:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:599:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:599:12: branch_false: following ‘false’ branch (when ‘sect != 0’)...
e2fsprogs-1.47.3/misc/mke2fs.c:616:24: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:619:9: throw: if the called function throws an exception...
e2fsprogs-1.47.3/misc/mke2fs.c:619:9: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def647]
e2fsprogs-1.47.3/misc/mke2fs.c:1105:31: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/misc/mke2fs.c:828:15: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/mke2fs.c:829:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:834:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:835:27: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:838:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:839:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:843:20: branch_true: following ‘true’ branch (when ‘arg’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:844:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:849:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:851:41: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:835:27: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:838:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:839:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:843:20: branch_true: following ‘true’ branch (when ‘arg’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:844:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:847:20: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:848:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:847:21: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:878:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:878:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:891:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:891:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:904:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:904:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:918:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:918:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:921:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:921:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:936:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:936:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:943:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:943:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:957:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:957:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:958:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:957:28: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:972:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:972:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1029:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1029:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1047:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1047:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1049:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1049:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1054:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1054:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1059:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1059:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1065:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1065:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1088:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1088:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1092:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1092:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1094:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1094:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1096:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1096:27: branch_true: following ‘true’ branch (when the strings are equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1097:31: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1099:28: branch_false: following ‘false’ branch (when ‘arg’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:1104:25: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1105:31: throw: if ‘parse_quota_types’ throws an exception...
e2fsprogs-1.47.3/misc/mke2fs.c:1105:31: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def648]
e2fsprogs-1.47.3/misc/mke2fs.c:1105:31: warning[-Wanalyzer-malloc-leak]: leak of ‘token’
e2fsprogs-1.47.3/misc/mke2fs.c:828:15: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/mke2fs.c:829:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:834:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:835:27: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:838:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:839:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:843:20: branch_true: following ‘true’ branch (when ‘arg’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:844:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:847:20: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:848:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:847:21: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:878:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:878:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:891:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:891:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:904:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:904:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:918:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:918:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:921:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:921:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:936:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:936:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:943:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:943:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:957:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:957:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:958:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:957:28: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:972:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:972:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1029:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1029:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1047:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1047:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1049:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1049:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1054:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1054:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1059:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1059:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1065:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1065:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1088:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1088:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1092:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1092:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1094:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1094:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1096:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1096:27: branch_true: following ‘true’ branch (when the strings are equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1097:31: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1099:28: branch_false: following ‘false’ branch (when ‘arg’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:1104:25: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1105:31: throw: if ‘parse_quota_types’ throws an exception...
e2fsprogs-1.47.3/misc/mke2fs.c:1105:31: danger: ‘token’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def649]
e2fsprogs-1.47.3/misc/mke2fs.c:1112:41: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
e2fsprogs-1.47.3/misc/mke2fs.c:828:15: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/mke2fs.c:829:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:834:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:835:27: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:838:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:839:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:843:20: branch_true: following ‘true’ branch (when ‘arg’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:844:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:849:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:851:41: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:835:27: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:838:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:839:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:843:20: branch_true: following ‘true’ branch (when ‘arg’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:844:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:847:20: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:848:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:847:21: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:878:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:878:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:891:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:891:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:904:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:904:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:918:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:918:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:921:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:921:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:936:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:936:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:943:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:943:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:957:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:957:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:958:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:957:28: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:972:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:972:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1029:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1029:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1047:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1047:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1049:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1049:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1054:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1054:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1059:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1059:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1065:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1065:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1088:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1088:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1092:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1092:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1094:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1094:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1096:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1096:27: branch_true: following ‘true’ branch (when the strings are equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1097:31: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1099:28: branch_false: following ‘false’ branch (when ‘arg’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:1104:25: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1106:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:1107:37: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1107:36: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:1112:41: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1112:41: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/misc/mke2fs.c:1112:41: danger: ‘buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def650]
e2fsprogs-1.47.3/misc/mke2fs.c:1112:41: warning[-Wanalyzer-malloc-leak]: leak of ‘token’
e2fsprogs-1.47.3/misc/mke2fs.c:828:15: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/mke2fs.c:829:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:834:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:835:27: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:838:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:839:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:843:20: branch_true: following ‘true’ branch (when ‘arg’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:844:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:847:20: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:848:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:847:21: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:878:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:878:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:891:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:891:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:904:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:904:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:918:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:918:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:921:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:921:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:936:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:936:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:943:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:943:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:957:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:957:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:958:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:957:28: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:972:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:972:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1029:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1029:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1047:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1047:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1049:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1049:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1054:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1054:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1059:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1059:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1065:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1065:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1088:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1088:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1092:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1092:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1094:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1094:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1096:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1096:27: branch_true: following ‘true’ branch (when the strings are equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1097:31: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1099:28: branch_false: following ‘false’ branch (when ‘arg’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:1104:25: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1106:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:1107:37: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1107:36: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:1112:41: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1112:41: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/misc/mke2fs.c:1112:41: danger: ‘token’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def651]
e2fsprogs-1.47.3/misc/mke2fs.c:1126:36: warning[-Wanalyzer-malloc-leak]: leak of ‘token’
e2fsprogs-1.47.3/misc/mke2fs.c:828:15: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/mke2fs.c:829:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:834:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:835:27: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:838:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:839:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:843:20: branch_true: following ‘true’ branch (when ‘arg’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:844:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:847:20: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:848:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:847:21: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:878:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:878:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:891:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:891:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:904:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:904:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:918:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:918:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:921:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:921:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:936:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:936:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:943:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:943:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:957:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:957:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:958:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:957:28: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:972:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:972:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1029:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1029:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1047:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1047:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1049:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1049:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1054:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1054:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1059:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1059:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1065:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1065:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1088:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1088:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1092:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1092:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1094:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1094:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1096:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1096:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1118:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1118:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1120:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1120:27: branch_true: following ‘true’ branch (when the strings are equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1121:28: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1121:28: branch_false: following ‘false’ branch (when ‘arg’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:1126:36: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1126:36: throw: if ‘e2p_str2encoding’ throws an exception...
e2fsprogs-1.47.3/misc/mke2fs.c:1126:36: danger: ‘token’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def652]
e2fsprogs-1.47.3/misc/mke2fs.c:1354:13: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/misc/mke2fs.c:1368:15: enter_function: entry to ‘parse_fs_type’
e2fsprogs-1.47.3/misc/mke2fs.c:1383:13: call_function: calling ‘init_list’ from ‘parse_fs_type’
e2fsprogs-1.47.3/misc/mke2fs.c:1383:13: return_function: returning to ‘parse_fs_type’ from ‘init_list’
e2fsprogs-1.47.3/misc/mke2fs.c:1383:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:1386:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1449:12: branch_false: following ‘false’ branch (when ‘parse_str’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:1454:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1457:17: call_function: calling ‘push_string’ from ‘parse_fs_type’
e2fsprogs-1.47.3/misc/mke2fs.c:1457:17: return_function: returning to ‘parse_fs_type’ from ‘push_string’
e2fsprogs-1.47.3/misc/mke2fs.c:1461:20: branch_true: following ‘true’ branch (when ‘t’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:1462:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1464:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:1465:29: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1465:29: call_function: calling ‘profile_has_subsection’ from ‘parse_fs_type’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def653]
e2fsprogs-1.47.3/misc/mke2fs.c:1354:13: warning[-Wanalyzer-malloc-leak]: leak of ‘cp’
e2fsprogs-1.47.3/misc/mke2fs.c:1368:15: enter_function: entry to ‘parse_fs_type’
e2fsprogs-1.47.3/misc/mke2fs.c:1383:13: call_function: calling ‘init_list’ from ‘parse_fs_type’
e2fsprogs-1.47.3/misc/mke2fs.c:1383:13: return_function: returning to ‘parse_fs_type’ from ‘init_list’
e2fsprogs-1.47.3/misc/mke2fs.c:1383:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:1386:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1448:21: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/mke2fs.c:1449:12: branch_false: following ‘false’ branch (when ‘parse_str’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:1454:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1457:17: call_function: calling ‘push_string’ from ‘parse_fs_type’
e2fsprogs-1.47.3/misc/mke2fs.c:1457:17: return_function: returning to ‘parse_fs_type’ from ‘push_string’
e2fsprogs-1.47.3/misc/mke2fs.c:1461:20: branch_true: following ‘true’ branch (when ‘t’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:1462:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1464:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:1465:29: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1465:29: call_function: calling ‘profile_has_subsection’ from ‘parse_fs_type’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def654]
e2fsprogs-1.47.3/misc/mke2fs.c:1354:13: warning[-Wanalyzer-malloc-leak]: leak of ‘list.list’
e2fsprogs-1.47.3/misc/mke2fs.c:1368:15: enter_function: entry to ‘parse_fs_type’
e2fsprogs-1.47.3/misc/mke2fs.c:1383:13: call_function: calling ‘init_list’ from ‘parse_fs_type’
e2fsprogs-1.47.3/misc/mke2fs.c:1383:13: return_function: returning to ‘parse_fs_type’ from ‘init_list’
e2fsprogs-1.47.3/misc/mke2fs.c:1383:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:1386:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1418:14: call_function: calling ‘profile_has_subsection’ from ‘parse_fs_type’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def655]
e2fsprogs-1.47.3/misc/mke2fs.c:1359:14: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/misc/mke2fs.c:1368:15: enter_function: entry to ‘parse_fs_type’
e2fsprogs-1.47.3/misc/mke2fs.c:1383:13: call_function: calling ‘init_list’ from ‘parse_fs_type’
e2fsprogs-1.47.3/misc/mke2fs.c:1383:13: return_function: returning to ‘parse_fs_type’ from ‘init_list’
e2fsprogs-1.47.3/misc/mke2fs.c:1383:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:1386:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1449:12: branch_false: following ‘false’ branch (when ‘parse_str’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:1454:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1457:17: call_function: calling ‘push_string’ from ‘parse_fs_type’
e2fsprogs-1.47.3/misc/mke2fs.c:1457:17: return_function: returning to ‘parse_fs_type’ from ‘push_string’
e2fsprogs-1.47.3/misc/mke2fs.c:1461:20: branch_true: following ‘true’ branch (when ‘t’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:1462:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1464:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:1465:29: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1465:29: call_function: calling ‘profile_has_subsection’ from ‘parse_fs_type’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def656]
e2fsprogs-1.47.3/misc/mke2fs.c:1359:14: warning[-Wanalyzer-malloc-leak]: leak of ‘list.list’
e2fsprogs-1.47.3/misc/mke2fs.c:1368:15: enter_function: entry to ‘parse_fs_type’
e2fsprogs-1.47.3/misc/mke2fs.c:1383:13: call_function: calling ‘init_list’ from ‘parse_fs_type’
e2fsprogs-1.47.3/misc/mke2fs.c:1383:13: return_function: returning to ‘parse_fs_type’ from ‘init_list’
e2fsprogs-1.47.3/misc/mke2fs.c:1383:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:1386:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1418:14: call_function: calling ‘profile_has_subsection’ from ‘parse_fs_type’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def657]
e2fsprogs-1.47.3/misc/mke2fs.c:1364:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
e2fsprogs-1.47.3/misc/mke2fs.c:1368:15: enter_function: entry to ‘parse_fs_type’
e2fsprogs-1.47.3/misc/mke2fs.c:1383:13: call_function: calling ‘init_list’ from ‘parse_fs_type’
e2fsprogs-1.47.3/misc/mke2fs.c:1383:13: return_function: returning to ‘parse_fs_type’ from ‘init_list’
e2fsprogs-1.47.3/misc/mke2fs.c:1383:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:1386:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1449:12: branch_false: following ‘false’ branch (when ‘parse_str’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:1454:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1457:17: call_function: calling ‘push_string’ from ‘parse_fs_type’
e2fsprogs-1.47.3/misc/mke2fs.c:1457:17: return_function: returning to ‘parse_fs_type’ from ‘push_string’
e2fsprogs-1.47.3/misc/mke2fs.c:1461:20: branch_true: following ‘true’ branch (when ‘t’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:1462:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1464:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:1465:29: branch_true: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1465:29: call_function: calling ‘profile_has_subsection’ from ‘parse_fs_type’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def658]
e2fsprogs-1.47.3/misc/mke2fs.c:1364:9: warning[-Wanalyzer-malloc-leak]: leak of ‘list.list’
e2fsprogs-1.47.3/misc/mke2fs.c:1368:15: enter_function: entry to ‘parse_fs_type’
e2fsprogs-1.47.3/misc/mke2fs.c:1383:13: call_function: calling ‘init_list’ from ‘parse_fs_type’
e2fsprogs-1.47.3/misc/mke2fs.c:1383:13: return_function: returning to ‘parse_fs_type’ from ‘init_list’
e2fsprogs-1.47.3/misc/mke2fs.c:1383:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:1386:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1418:14: call_function: calling ‘profile_has_subsection’ from ‘parse_fs_type’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def659]
e2fsprogs-1.47.3/misc/mke2fs.c:1410:17: warning[-Wanalyzer-malloc-leak]: leak of ‘list.list’
e2fsprogs-1.47.3/misc/mke2fs.c:1368:15: enter_function: entry to ‘parse_fs_type’
e2fsprogs-1.47.3/misc/mke2fs.c:1383:13: call_function: calling ‘init_list’ from ‘parse_fs_type’
e2fsprogs-1.47.3/misc/mke2fs.c:1383:13: return_function: returning to ‘parse_fs_type’ from ‘init_list’
e2fsprogs-1.47.3/misc/mke2fs.c:1383:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:1386:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1386:12: branch_false: following ‘false’ branch (when ‘fs_type’ is NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:1388:17: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1388:17: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:1390:19: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1390:17: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1392:19: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1392:17: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/mke2fs.c:1394:17: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:1410:17: throw: if ‘profile_get_string’ throws an exception...
e2fsprogs-1.47.3/misc/mke2fs.c:1410:17: danger: ‘list.list’ leaks here; was allocated at [(4)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def660]
e2fsprogs-1.47.3/misc/mke2fs.c:2964:17: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb_file’
e2fsprogs-1.47.3/misc/mke2fs.c:2943:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:2951:12: branch_false: following ‘false’ branch (when ‘tmp_name’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:2953:20: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:2954:20: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/mke2fs.c:2955:12: branch_false: following ‘false’ branch (when ‘tdb_file’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:2959:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:2962:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:2964:17: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/misc/mke2fs.c:2964:17: danger: ‘tdb_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def661]
e2fsprogs-1.47.3/misc/mke2fs.c:2969:18: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb_file’
e2fsprogs-1.47.3/misc/mke2fs.c:2943:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:2951:12: branch_false: following ‘false’ branch (when ‘tmp_name’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:2953:20: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:2954:20: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/mke2fs.c:2955:12: branch_false: following ‘false’ branch (when ‘tdb_file’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:2959:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:2969:18: throw: if ‘set_undo_io_backing_manager’ throws an exception...
e2fsprogs-1.47.3/misc/mke2fs.c:2969:18: danger: ‘tdb_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def662]
e2fsprogs-1.47.3/misc/mke2fs.c:2973:18: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb_file’
e2fsprogs-1.47.3/misc/mke2fs.c:2943:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:2951:12: branch_false: following ‘false’ branch (when ‘tmp_name’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:2953:20: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:2954:20: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/mke2fs.c:2955:12: branch_false: following ‘false’ branch (when ‘tdb_file’ is non-NULL)...
e2fsprogs-1.47.3/misc/mke2fs.c:2959:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:2970:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mke2fs.c:2972:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/mke2fs.c:2973:18: throw: if ‘set_undo_io_backup_file’ throws an exception...
e2fsprogs-1.47.3/misc/mke2fs.c:2973:18: danger: ‘tdb_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-121): [#def663]
e2fsprogs-1.47.3/misc/mklost+found.c:61:17: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
e2fsprogs-1.47.3/misc/mklost+found.c:48:12: branch_false: following ‘false’ branch (when ‘argc == 1’)...
e2fsprogs-1.47.3/misc/mklost+found.c:53:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/mklost+found.c:53:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mklost+found.c:59:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/mklost+found.c:61:17: danger: out-of-bounds write from byte 257 till byte 502 but ‘name’ ends at byte 257
Error: GCC_ANALYZER_WARNING (CWE-775): [#def664]
e2fsprogs-1.47.3/misc/mklost+found.c:70:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘creat(&path, 420)’
e2fsprogs-1.47.3/misc/mklost+found.c:48:12: branch_false: following ‘false’ branch (when ‘argc == 1’)...
e2fsprogs-1.47.3/misc/mklost+found.c:53:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/mklost+found.c:53:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mklost+found.c:59:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/mklost+found.c:65:26: acquire_resource: opened here
e2fsprogs-1.47.3/misc/mklost+found.c:65:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mklost+found.c:69:17: branch_false: ...to here
e2fsprogs-1.47.3/misc/mklost+found.c:70:17: danger: ‘creat(&path, 420)’ leaks here; was opened at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-121): [#def665]
e2fsprogs-1.47.3/misc/mklost+found.c:77:17: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
e2fsprogs-1.47.3/misc/mklost+found.c:48:12: branch_false: following ‘false’ branch (when ‘argc == 1’)...
e2fsprogs-1.47.3/misc/mklost+found.c:53:13: branch_false: ...to here
e2fsprogs-1.47.3/misc/mklost+found.c:53:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mklost+found.c:59:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/mklost+found.c:65:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mklost+found.c:69:17: branch_false: ...to here
e2fsprogs-1.47.3/misc/mklost+found.c:71:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/mklost+found.c:75:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/mklost+found.c:76:21: branch_true: following ‘true’ branch (when ‘j < i’)...
e2fsprogs-1.47.3/misc/mklost+found.c:77:17: branch_true: ...to here
e2fsprogs-1.47.3/misc/mklost+found.c:77:17: danger: out-of-bounds write from byte 257 till byte 502 but ‘name’ ends at byte 257
Error: GCC_ANALYZER_WARNING (CWE-401): [#def666]
e2fsprogs-1.47.3/misc/tune2fs.c:712:18: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.buf’
e2fsprogs-1.47.3/misc/tune2fs.c:698:18: enter_function: entry to ‘rewrite_directory’
e2fsprogs-1.47.3/misc/tune2fs.c:704:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘rewrite_directory’
e2fsprogs-1.47.3/misc/tune2fs.c:712:18: throw: if ‘ext2fs_block_iterate3’ throws an exception...
e2fsprogs-1.47.3/misc/tune2fs.c:712:18: danger: ‘ctx.buf’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def667]
e2fsprogs-1.47.3/misc/tune2fs.c:754:18: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.ea_buf’
e2fsprogs-1.47.3/misc/tune2fs.c:931:13: enter_function: entry to ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:935:31: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:933:32: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:939:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: call_function: calling ‘ext2fs_get_memzero’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: return_function: returning to ‘rewrite_inodes’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/misc/tune2fs.c:943:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:946:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:960:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:961:17: call_function: calling ‘rewrite_inodes_pass’ from ‘rewrite_inodes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def668]
e2fsprogs-1.47.3/misc/tune2fs.c:754:18: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.zero_inode’
e2fsprogs-1.47.3/misc/tune2fs.c:931:13: enter_function: entry to ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:935:31: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:933:32: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:939:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: call_function: calling ‘ext2fs_get_memzero’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: return_function: returning to ‘rewrite_inodes’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/misc/tune2fs.c:943:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:946:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:960:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:961:17: call_function: calling ‘rewrite_inodes_pass’ from ‘rewrite_inodes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def669]
e2fsprogs-1.47.3/misc/tune2fs.c:756:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.ea_buf’
e2fsprogs-1.47.3/misc/tune2fs.c:931:13: enter_function: entry to ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:935:31: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:933:32: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:939:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: call_function: calling ‘ext2fs_get_memzero’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: return_function: returning to ‘rewrite_inodes’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/misc/tune2fs.c:943:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:946:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:960:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:961:17: call_function: calling ‘rewrite_inodes_pass’ from ‘rewrite_inodes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def670]
e2fsprogs-1.47.3/misc/tune2fs.c:756:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.zero_inode’
e2fsprogs-1.47.3/misc/tune2fs.c:931:13: enter_function: entry to ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:935:31: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:933:32: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:939:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: call_function: calling ‘ext2fs_get_memzero’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: return_function: returning to ‘rewrite_inodes’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/misc/tune2fs.c:943:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:946:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:960:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:961:17: call_function: calling ‘rewrite_inodes_pass’ from ‘rewrite_inodes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def671]
e2fsprogs-1.47.3/misc/tune2fs.c:757:18: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.ea_buf’
e2fsprogs-1.47.3/misc/tune2fs.c:931:13: enter_function: entry to ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:935:31: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:933:32: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:939:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: call_function: calling ‘ext2fs_get_memzero’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: return_function: returning to ‘rewrite_inodes’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/misc/tune2fs.c:943:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:946:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:960:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:961:17: call_function: calling ‘rewrite_inodes_pass’ from ‘rewrite_inodes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def672]
e2fsprogs-1.47.3/misc/tune2fs.c:757:18: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.zero_inode’
e2fsprogs-1.47.3/misc/tune2fs.c:931:13: enter_function: entry to ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:935:31: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:933:32: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:939:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: call_function: calling ‘ext2fs_get_memzero’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: return_function: returning to ‘rewrite_inodes’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/misc/tune2fs.c:943:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:946:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:960:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:961:17: call_function: calling ‘rewrite_inodes_pass’ from ‘rewrite_inodes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def673]
e2fsprogs-1.47.3/misc/tune2fs.c:896:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.ea_buf’
e2fsprogs-1.47.3/misc/tune2fs.c:931:13: enter_function: entry to ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:935:31: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:933:32: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:939:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: call_function: calling ‘ext2fs_get_memzero’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: return_function: returning to ‘rewrite_inodes’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/misc/tune2fs.c:943:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:946:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:960:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:961:17: call_function: calling ‘rewrite_inodes_pass’ from ‘rewrite_inodes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def674]
e2fsprogs-1.47.3/misc/tune2fs.c:896:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.zero_inode’
e2fsprogs-1.47.3/misc/tune2fs.c:931:13: enter_function: entry to ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:935:31: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:933:32: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:939:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: call_function: calling ‘ext2fs_get_memzero’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: return_function: returning to ‘rewrite_inodes’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/misc/tune2fs.c:943:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:946:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:960:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:961:17: call_function: calling ‘rewrite_inodes_pass’ from ‘rewrite_inodes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def675]
e2fsprogs-1.47.3/misc/tune2fs.c:898:18: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.ea_buf’
e2fsprogs-1.47.3/misc/tune2fs.c:931:13: enter_function: entry to ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:935:31: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:933:32: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:939:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: call_function: calling ‘ext2fs_get_memzero’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: return_function: returning to ‘rewrite_inodes’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/misc/tune2fs.c:943:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:946:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:960:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:961:17: call_function: calling ‘rewrite_inodes_pass’ from ‘rewrite_inodes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def676]
e2fsprogs-1.47.3/misc/tune2fs.c:898:18: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.zero_inode’
e2fsprogs-1.47.3/misc/tune2fs.c:931:13: enter_function: entry to ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:935:31: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:933:32: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:939:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: call_function: calling ‘ext2fs_get_memzero’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: return_function: returning to ‘rewrite_inodes’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/misc/tune2fs.c:943:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:946:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:960:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:961:17: call_function: calling ‘rewrite_inodes_pass’ from ‘rewrite_inodes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def677]
e2fsprogs-1.47.3/misc/tune2fs.c:898:18: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)*ctx.inode_size)’
e2fsprogs-1.47.3/misc/tune2fs.c:886:13: enter_function: entry to ‘rewrite_inodes_pass’
e2fsprogs-1.47.3/misc/tune2fs.c:894:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘rewrite_inodes_pass’
e2fsprogs-1.47.3/misc/tune2fs.c:898:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:898:18: throw: if ‘ext2fs_open_inode_scan’ throws an exception...
e2fsprogs-1.47.3/misc/tune2fs.c:898:18: danger: ‘malloc((long unsigned int)*ctx.inode_size)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def678]
e2fsprogs-1.47.3/misc/tune2fs.c:900:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.ea_buf’
e2fsprogs-1.47.3/misc/tune2fs.c:931:13: enter_function: entry to ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:935:31: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:933:32: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:939:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: call_function: calling ‘ext2fs_get_memzero’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: return_function: returning to ‘rewrite_inodes’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/misc/tune2fs.c:943:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:946:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:960:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:961:17: call_function: calling ‘rewrite_inodes_pass’ from ‘rewrite_inodes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def679]
e2fsprogs-1.47.3/misc/tune2fs.c:900:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.zero_inode’
e2fsprogs-1.47.3/misc/tune2fs.c:931:13: enter_function: entry to ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:935:31: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:933:32: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:939:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: call_function: calling ‘ext2fs_get_memzero’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: return_function: returning to ‘rewrite_inodes’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/misc/tune2fs.c:943:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:946:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:960:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:961:17: call_function: calling ‘rewrite_inodes_pass’ from ‘rewrite_inodes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def680]
e2fsprogs-1.47.3/misc/tune2fs.c:903:26: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.ea_buf’
e2fsprogs-1.47.3/misc/tune2fs.c:931:13: enter_function: entry to ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:935:31: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:933:32: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:939:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: call_function: calling ‘ext2fs_get_memzero’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: return_function: returning to ‘rewrite_inodes’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/misc/tune2fs.c:943:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:946:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:960:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:961:17: call_function: calling ‘rewrite_inodes_pass’ from ‘rewrite_inodes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def681]
e2fsprogs-1.47.3/misc/tune2fs.c:903:26: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.zero_inode’
e2fsprogs-1.47.3/misc/tune2fs.c:931:13: enter_function: entry to ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:935:31: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:933:32: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:939:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: call_function: calling ‘ext2fs_get_memzero’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: return_function: returning to ‘rewrite_inodes’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/misc/tune2fs.c:943:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:946:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:960:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:961:17: call_function: calling ‘rewrite_inodes_pass’ from ‘rewrite_inodes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def682]
e2fsprogs-1.47.3/misc/tune2fs.c:906:25: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.ea_buf’
e2fsprogs-1.47.3/misc/tune2fs.c:931:13: enter_function: entry to ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:935:31: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:933:32: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:939:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: call_function: calling ‘ext2fs_get_memzero’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: return_function: returning to ‘rewrite_inodes’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/misc/tune2fs.c:943:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:946:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:963:9: call_function: calling ‘rewrite_inodes_pass’ from ‘rewrite_inodes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def683]
e2fsprogs-1.47.3/misc/tune2fs.c:906:25: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.zero_inode’
e2fsprogs-1.47.3/misc/tune2fs.c:931:13: enter_function: entry to ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:935:31: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:933:32: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:939:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: call_function: calling ‘ext2fs_get_memzero’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: return_function: returning to ‘rewrite_inodes’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/misc/tune2fs.c:943:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:946:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:963:9: call_function: calling ‘rewrite_inodes_pass’ from ‘rewrite_inodes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def684]
e2fsprogs-1.47.3/misc/tune2fs.c:948:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.zero_inode’
e2fsprogs-1.47.3/misc/tune2fs.c:931:13: enter_function: entry to ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:935:31: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:933:32: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:939:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: call_function: calling ‘ext2fs_get_memzero’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:942:18: return_function: returning to ‘rewrite_inodes’ from ‘ext2fs_get_memzero’
e2fsprogs-1.47.3/misc/tune2fs.c:943:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:946:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘rewrite_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:948:17: branch_true: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:948:17: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/misc/tune2fs.c:948:17: danger: ‘ctx.zero_inode’ leaks here; was allocated at [(8)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def685]
e2fsprogs-1.47.3/misc/tune2fs.c:1028:26: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)length)’
e2fsprogs-1.47.3/misc/tune2fs.c:1011:18: enter_function: entry to ‘zero_empty_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:1013:22: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:1019:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:1020:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:1023:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:1023:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘zero_empty_inodes’
e2fsprogs-1.47.3/misc/tune2fs.c:1028:26: throw: if ‘ext2fs_get_next_inode_full’ throws an exception...
e2fsprogs-1.47.3/misc/tune2fs.c:1028:26: danger: ‘malloc((long unsigned int)length)’ leaks here; was allocated at [(7)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def686]
e2fsprogs-1.47.3/misc/tune2fs.c:1061:18: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)length)’
e2fsprogs-1.47.3/misc/tune2fs.c:1048:12: enter_function: entry to ‘has_casefold_inode’
e2fsprogs-1.47.3/misc/tune2fs.c:1050:22: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:1057:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:1057:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘has_casefold_inode’
e2fsprogs-1.47.3/misc/tune2fs.c:1061:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:1061:18: throw: if ‘ext2fs_open_inode_scan’ throws an exception...
e2fsprogs-1.47.3/misc/tune2fs.c:1061:18: danger: ‘malloc((long unsigned int)length)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def687]
e2fsprogs-1.47.3/misc/tune2fs.c:1062:12: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)length)’
e2fsprogs-1.47.3/misc/tune2fs.c:1048:12: enter_function: entry to ‘has_casefold_inode’
e2fsprogs-1.47.3/misc/tune2fs.c:1050:22: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:1057:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:1057:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘has_casefold_inode’
e2fsprogs-1.47.3/misc/tune2fs.c:1061:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:1062:12: danger: ‘malloc((long unsigned int)length)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def688]
e2fsprogs-1.47.3/misc/tune2fs.c:1066:26: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)length)’
e2fsprogs-1.47.3/misc/tune2fs.c:1048:12: enter_function: entry to ‘has_casefold_inode’
e2fsprogs-1.47.3/misc/tune2fs.c:1050:22: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:1057:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:1057:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘has_casefold_inode’
e2fsprogs-1.47.3/misc/tune2fs.c:1061:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:1062:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:1062:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:1066:26: throw: if ‘ext2fs_get_next_inode_full’ throws an exception...
e2fsprogs-1.47.3/misc/tune2fs.c:1066:26: danger: ‘malloc((long unsigned int)length)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def689]
e2fsprogs-1.47.3/misc/tune2fs.c:2372:36: warning[-Wanalyzer-malloc-leak]: leak of ‘token’
e2fsprogs-1.47.3/misc/tune2fs.c:2273:15: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/tune2fs.c:2274:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/misc/tune2fs.c:2279:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2280:27: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2283:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2287:23: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2288:20: branch_true: following ‘true’ branch (when ‘arg’ is non-NULL)...
e2fsprogs-1.47.3/misc/tune2fs.c:2289:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2292:20: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2293:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2292:21: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2295:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2295:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2325:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2325:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2329:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2329:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2333:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2333:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2337:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2337:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2351:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2351:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2352:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2351:28: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2366:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2368:28: branch_false: following ‘false’ branch (when ‘arg’ is non-NULL)...
e2fsprogs-1.47.3/misc/tune2fs.c:2372:36: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2372:36: throw: if ‘e2p_string2hash’ throws an exception...
e2fsprogs-1.47.3/misc/tune2fs.c:2372:36: danger: ‘token’ leaks here; was allocated at [(1)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def690]
e2fsprogs-1.47.3/misc/tune2fs.c:2412:36: warning[-Wanalyzer-malloc-leak]: leak of ‘token’
e2fsprogs-1.47.3/misc/tune2fs.c:2263:12: enter_function: entry to ‘parse_extended_opts’
e2fsprogs-1.47.3/misc/tune2fs.c:2273:15: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/tune2fs.c:2274:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/misc/tune2fs.c:2279:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2280:27: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2283:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2287:23: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2288:20: branch_true: following ‘true’ branch (when ‘arg’ is non-NULL)...
e2fsprogs-1.47.3/misc/tune2fs.c:2289:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2292:20: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2293:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2292:21: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2295:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2295:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2325:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2325:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2329:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2329:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2333:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2333:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2337:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2337:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2351:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2351:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2352:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2351:28: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2366:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2366:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2367:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2366:28: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2385:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2385:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2396:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2396:27: branch_true: following ‘true’ branch (when the strings are equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2397:28: branch_true: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2397:28: branch_false: following ‘false’ branch (when ‘arg’ is non-NULL)...
e2fsprogs-1.47.3/misc/tune2fs.c:2401:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2401:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2407:29: call_function: inlined call to ‘ext2fs_has_feature_casefold’ from ‘parse_extended_opts’
e2fsprogs-1.47.3/misc/tune2fs.c:2412:36: throw: if ‘e2p_str2encoding’ throws an exception...
e2fsprogs-1.47.3/misc/tune2fs.c:2412:36: danger: ‘token’ leaks here; was allocated at [(2)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def691]
e2fsprogs-1.47.3/misc/tune2fs.c:2422:33: warning[-Wanalyzer-malloc-leak]: leak of ‘token’
e2fsprogs-1.47.3/misc/tune2fs.c:2263:12: enter_function: entry to ‘parse_extended_opts’
e2fsprogs-1.47.3/misc/tune2fs.c:2273:15: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/tune2fs.c:2274:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/misc/tune2fs.c:2279:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2280:27: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2283:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2287:23: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2288:20: branch_true: following ‘true’ branch (when ‘arg’ is non-NULL)...
e2fsprogs-1.47.3/misc/tune2fs.c:2289:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2292:20: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2293:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2292:21: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2295:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2295:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2325:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2325:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2329:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2329:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2333:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2333:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2337:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2337:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2351:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2351:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2352:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2351:28: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2366:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2366:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2367:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2366:28: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2385:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2385:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2396:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2396:27: branch_true: following ‘true’ branch (when the strings are equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2397:28: branch_true: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2397:28: branch_false: following ‘false’ branch (when ‘arg’ is non-NULL)...
e2fsprogs-1.47.3/misc/tune2fs.c:2401:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2401:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2407:29: call_function: inlined call to ‘ext2fs_has_feature_casefold’ from ‘parse_extended_opts’
e2fsprogs-1.47.3/misc/tune2fs.c:2413:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2418:25: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2422:33: throw: if ‘e2p_get_encoding_flags’ throws an exception...
e2fsprogs-1.47.3/misc/tune2fs.c:2422:33: danger: ‘token’ leaks here; was allocated at [(2)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def692]
e2fsprogs-1.47.3/misc/tune2fs.c:2434:46: warning[-Wanalyzer-malloc-leak]: leak of ‘token’
e2fsprogs-1.47.3/misc/tune2fs.c:2273:15: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/tune2fs.c:2274:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/misc/tune2fs.c:2279:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2280:27: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2283:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2287:23: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2288:20: branch_true: following ‘true’ branch (when ‘arg’ is non-NULL)...
e2fsprogs-1.47.3/misc/tune2fs.c:2289:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2292:20: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2293:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2292:21: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2295:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2295:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2325:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2325:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2329:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2329:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2333:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2333:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2337:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2337:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2351:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2351:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2352:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2351:28: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2366:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2366:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2367:28: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2366:28: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2385:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2385:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2396:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2396:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2423:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2423:27: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2429:29: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2429:27: branch_true: following ‘true’ branch (when the strings are equal)...
e2fsprogs-1.47.3/misc/tune2fs.c:2430:28: branch_true: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2430:28: branch_false: following ‘false’ branch (when ‘arg’ is non-NULL)...
e2fsprogs-1.47.3/misc/tune2fs.c:2435:50: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2434:46: throw: if ‘parse_num_blocks2’ throws an exception...
e2fsprogs-1.47.3/misc/tune2fs.c:2434:46: danger: ‘token’ leaks here; was allocated at [(1)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def693]
e2fsprogs-1.47.3/misc/tune2fs.c:2586:30: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)*fs.blocksize)’
e2fsprogs-1.47.3/misc/tune2fs.c:2572:12: enter_function: entry to ‘move_block’
e2fsprogs-1.47.3/misc/tune2fs.c:2582:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘move_block’
e2fsprogs-1.47.3/misc/tune2fs.c:2586:30: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2587:20: throw: if ‘ext2fs_blocks_count’ throws an exception...
e2fsprogs-1.47.3/misc/tune2fs.c:2586:30: danger: ‘malloc((long unsigned int)*fs.blocksize)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def694]
e2fsprogs-1.47.3/misc/tune2fs.c:2625:17: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(32)’
e2fsprogs-1.47.3/misc/tune2fs.c:2572:12: enter_function: entry to ‘move_block’
e2fsprogs-1.47.3/misc/tune2fs.c:2582:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘move_block’
e2fsprogs-1.47.3/misc/tune2fs.c:2586:30: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2587:14: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2588:22: call_function: inlined call to ‘ext2fs_test_block_bitmap2’ from ‘move_block’
e2fsprogs-1.47.3/misc/tune2fs.c:2588:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2591:21: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2607:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2611:20: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2620:26: call_function: inlined call to ‘ext2fs_get_mem’ from ‘move_block’
e2fsprogs-1.47.3/misc/tune2fs.c:2624:17: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2625:17: danger: ‘malloc(32)’ leaks here; was allocated at [(13)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def695]
e2fsprogs-1.47.3/misc/tune2fs.c:2695:18: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)(*fs.blocksize * 3))’
e2fsprogs-1.47.3/misc/tune2fs.c:2682:12: enter_function: entry to ‘inode_scan_and_fix’
e2fsprogs-1.47.3/misc/tune2fs.c:2691:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘inode_scan_and_fix’
e2fsprogs-1.47.3/misc/tune2fs.c:2695:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2695:18: throw: if ‘ext2fs_open_inode_scan’ throws an exception...
e2fsprogs-1.47.3/misc/tune2fs.c:2695:18: danger: ‘malloc((long unsigned int)(*fs.blocksize * 3))’ leaks here; was allocated at [(3)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def696]
e2fsprogs-1.47.3/misc/tune2fs.c:2700:26: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)(*fs.blocksize * 3))’
e2fsprogs-1.47.3/misc/tune2fs.c:2682:12: enter_function: entry to ‘inode_scan_and_fix’
e2fsprogs-1.47.3/misc/tune2fs.c:2691:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘inode_scan_and_fix’
e2fsprogs-1.47.3/misc/tune2fs.c:2695:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2696:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2696:12: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2700:26: throw: if ‘ext2fs_get_next_inode’ throws an exception...
e2fsprogs-1.47.3/misc/tune2fs.c:2700:26: danger: ‘malloc((long unsigned int)(*fs.blocksize * 3))’ leaks here; was allocated at [(3)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def697]
e2fsprogs-1.47.3/misc/tune2fs.c:2809:18: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)old_itable_size)’
e2fsprogs-1.47.3/misc/tune2fs.c:2783:12: enter_function: entry to ‘expand_inode_table’
e2fsprogs-1.47.3/misc/tune2fs.c:2796:24: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2799:41: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2805:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘expand_inode_table’
e2fsprogs-1.47.3/misc/tune2fs.c:2809:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2809:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘expand_inode_table’
e2fsprogs-1.47.3/misc/tune2fs.c:2816:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2817:23: branch_true: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2817:23: throw: if ‘ext2fs_inode_table_loc’ throws an exception...
e2fsprogs-1.47.3/misc/tune2fs.c:2809:18: danger: ‘malloc((long unsigned int)old_itable_size)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/51/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def698]
e2fsprogs-1.47.3/misc/tune2fs.c:2816:25: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)new_itable_size)’
e2fsprogs-1.47.3/misc/tune2fs.c:2783:12: enter_function: entry to ‘expand_inode_table’
e2fsprogs-1.47.3/misc/tune2fs.c:2796:24: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2799:41: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2805:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘expand_inode_table’
e2fsprogs-1.47.3/misc/tune2fs.c:2809:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2809:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘expand_inode_table’
e2fsprogs-1.47.3/misc/tune2fs.c:2816:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2817:23: branch_true: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2817:23: throw: if ‘ext2fs_inode_table_loc’ throws an exception...
e2fsprogs-1.47.3/misc/tune2fs.c:2816:25: danger: ‘malloc((long unsigned int)new_itable_size)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/54/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def699]
e2fsprogs-1.47.3/misc/tune2fs.c:2817:23: warning[-Wanalyzer-malloc-leak]: leak of ‘new_itable’
e2fsprogs-1.47.3/misc/tune2fs.c:2783:12: enter_function: entry to ‘expand_inode_table’
e2fsprogs-1.47.3/misc/tune2fs.c:2796:24: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2799:41: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2805:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘expand_inode_table’
e2fsprogs-1.47.3/misc/tune2fs.c:2809:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2809:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘expand_inode_table’
e2fsprogs-1.47.3/misc/tune2fs.c:2816:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2817:23: branch_true: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2820:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2820:20: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2823:29: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2837:26: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2839:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2816:47: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2816:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2817:23: branch_true: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2817:23: throw: if ‘ext2fs_inode_table_loc’ throws an exception...
e2fsprogs-1.47.3/misc/tune2fs.c:2817:23: danger: ‘new_itable’ leaks here; was allocated at [(8)](sarif:/runs/0/results/57/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def700]
e2fsprogs-1.47.3/misc/tune2fs.c:2818:26: warning[-Wanalyzer-malloc-leak]: leak of ‘new_itable’
e2fsprogs-1.47.3/misc/tune2fs.c:2783:12: enter_function: entry to ‘expand_inode_table’
e2fsprogs-1.47.3/misc/tune2fs.c:2796:24: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2799:41: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2805:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘expand_inode_table’
e2fsprogs-1.47.3/misc/tune2fs.c:2809:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2809:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘expand_inode_table’
e2fsprogs-1.47.3/misc/tune2fs.c:2816:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2817:23: branch_true: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2820:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2820:20: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2823:29: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2837:26: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2839:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2816:47: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2816:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2817:23: branch_true: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2818:26: throw: if ‘io_channel_read_blk64’ throws an exception...
e2fsprogs-1.47.3/misc/tune2fs.c:2818:26: danger: ‘new_itable’ leaks here; was allocated at [(8)](sarif:/runs/0/results/58/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def701]
e2fsprogs-1.47.3/misc/tune2fs.c:2837:26: warning[-Wanalyzer-malloc-leak]: leak of ‘new_itable’
e2fsprogs-1.47.3/misc/tune2fs.c:2783:12: enter_function: entry to ‘expand_inode_table’
e2fsprogs-1.47.3/misc/tune2fs.c:2796:24: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2799:41: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2805:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘expand_inode_table’
e2fsprogs-1.47.3/misc/tune2fs.c:2809:18: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2809:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘expand_inode_table’
e2fsprogs-1.47.3/misc/tune2fs.c:2816:21: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2817:23: branch_true: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2820:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2820:20: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2823:29: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2837:26: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:2837:26: throw: if ‘io_channel_write_blk64’ throws an exception...
e2fsprogs-1.47.3/misc/tune2fs.c:2837:26: danger: ‘new_itable’ leaks here; was allocated at [(8)](sarif:/runs/0/results/59/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def702]
e2fsprogs-1.47.3/misc/tune2fs.c:3010:17: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb_file’
e2fsprogs-1.47.3/misc/tune2fs.c:2992:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2997:12: branch_false: following ‘false’ branch (when ‘tmp_name’ is non-NULL)...
e2fsprogs-1.47.3/misc/tune2fs.c:2999:20: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:3000:20: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/tune2fs.c:3001:12: branch_false: following ‘false’ branch (when ‘tdb_file’ is non-NULL)...
e2fsprogs-1.47.3/misc/tune2fs.c:3005:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:3008:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:3010:17: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/misc/tune2fs.c:3010:17: danger: ‘tdb_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/60/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def703]
e2fsprogs-1.47.3/misc/tune2fs.c:3015:18: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb_file’
e2fsprogs-1.47.3/misc/tune2fs.c:2992:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2997:12: branch_false: following ‘false’ branch (when ‘tmp_name’ is non-NULL)...
e2fsprogs-1.47.3/misc/tune2fs.c:2999:20: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:3000:20: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/tune2fs.c:3001:12: branch_false: following ‘false’ branch (when ‘tdb_file’ is non-NULL)...
e2fsprogs-1.47.3/misc/tune2fs.c:3005:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:3015:18: throw: if ‘set_undo_io_backing_manager’ throws an exception...
e2fsprogs-1.47.3/misc/tune2fs.c:3015:18: danger: ‘tdb_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/61/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def704]
e2fsprogs-1.47.3/misc/tune2fs.c:3019:18: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb_file’
e2fsprogs-1.47.3/misc/tune2fs.c:2992:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:2997:12: branch_false: following ‘false’ branch (when ‘tmp_name’ is non-NULL)...
e2fsprogs-1.47.3/misc/tune2fs.c:2999:20: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:3000:20: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/tune2fs.c:3001:12: branch_false: following ‘false’ branch (when ‘tdb_file’ is non-NULL)...
e2fsprogs-1.47.3/misc/tune2fs.c:3005:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:3016:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/tune2fs.c:3018:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/tune2fs.c:3019:18: throw: if ‘set_undo_io_backup_file’ throws an exception...
e2fsprogs-1.47.3/misc/tune2fs.c:3019:18: danger: ‘tdb_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/62/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def705]
e2fsprogs-1.47.3/misc/util.c:193:42: warning[-Wanalyzer-malloc-leak]: leak of ‘token’
e2fsprogs-1.47.3/misc/util.c:169:15: acquire_memory: allocated here
e2fsprogs-1.47.3/misc/util.c:170:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
e2fsprogs-1.47.3/misc/util.c:175:9: branch_false: ...to here
e2fsprogs-1.47.3/misc/util.c:176:27: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/misc/util.c:179:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/misc/util.c:183:23: branch_false: ...to here
e2fsprogs-1.47.3/misc/util.c:184:20: branch_true: following ‘true’ branch (when ‘arg’ is non-NULL)...
e2fsprogs-1.47.3/misc/util.c:185:25: branch_true: ...to here
e2fsprogs-1.47.3/misc/util.c:192:20: branch_true: following ‘true’ branch (when the strings are equal)...
e2fsprogs-1.47.3/misc/util.c:193:42: branch_true: ...to here
e2fsprogs-1.47.3/misc/util.c:193:42: throw: if ‘get_devname’ throws an exception...
e2fsprogs-1.47.3/misc/util.c:193:42: danger: ‘token’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def706]
e2fsprogs-1.47.3/resize/main.c:221:17: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb_file’
e2fsprogs-1.47.3/resize/main.c:203:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/main.c:208:12: branch_false: following ‘false’ branch (when ‘tmp_name’ is non-NULL)...
e2fsprogs-1.47.3/resize/main.c:210:20: branch_false: ...to here
e2fsprogs-1.47.3/resize/main.c:211:20: acquire_memory: allocated here
e2fsprogs-1.47.3/resize/main.c:212:12: branch_false: following ‘false’ branch (when ‘tdb_file’ is non-NULL)...
e2fsprogs-1.47.3/resize/main.c:216:9: branch_false: ...to here
e2fsprogs-1.47.3/resize/main.c:219:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/resize/main.c:221:17: throw: if ‘com_err’ throws an exception...
e2fsprogs-1.47.3/resize/main.c:221:17: danger: ‘tdb_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def707]
e2fsprogs-1.47.3/resize/main.c:226:18: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb_file’
e2fsprogs-1.47.3/resize/main.c:203:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/main.c:208:12: branch_false: following ‘false’ branch (when ‘tmp_name’ is non-NULL)...
e2fsprogs-1.47.3/resize/main.c:210:20: branch_false: ...to here
e2fsprogs-1.47.3/resize/main.c:211:20: acquire_memory: allocated here
e2fsprogs-1.47.3/resize/main.c:212:12: branch_false: following ‘false’ branch (when ‘tdb_file’ is non-NULL)...
e2fsprogs-1.47.3/resize/main.c:216:9: branch_false: ...to here
e2fsprogs-1.47.3/resize/main.c:226:18: throw: if ‘set_undo_io_backing_manager’ throws an exception...
e2fsprogs-1.47.3/resize/main.c:226:18: danger: ‘tdb_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def708]
e2fsprogs-1.47.3/resize/main.c:230:18: warning[-Wanalyzer-malloc-leak]: leak of ‘tdb_file’
e2fsprogs-1.47.3/resize/main.c:203:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/main.c:208:12: branch_false: following ‘false’ branch (when ‘tmp_name’ is non-NULL)...
e2fsprogs-1.47.3/resize/main.c:210:20: branch_false: ...to here
e2fsprogs-1.47.3/resize/main.c:211:20: acquire_memory: allocated here
e2fsprogs-1.47.3/resize/main.c:212:12: branch_false: following ‘false’ branch (when ‘tdb_file’ is non-NULL)...
e2fsprogs-1.47.3/resize/main.c:216:9: branch_false: ...to here
e2fsprogs-1.47.3/resize/main.c:227:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/main.c:229:9: branch_false: ...to here
e2fsprogs-1.47.3/resize/main.c:230:18: throw: if ‘set_undo_io_backup_file’ throws an exception...
e2fsprogs-1.47.3/resize/main.c:230:18: danger: ‘tdb_file’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def709]
e2fsprogs-1.47.3/resize/main.c:353:26: warning[-Wanalyzer-malloc-leak]: leak of ‘mtpt’
e2fsprogs-1.47.3/resize/main.c:286:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/resize/main.c:330:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/main.c:333:28: branch_false: ...to here
e2fsprogs-1.47.3/resize/main.c:334:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/main.c:336:13: branch_false: ...to here
e2fsprogs-1.47.3/resize/main.c:336:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/main.c:339:22: branch_false: ...to here
e2fsprogs-1.47.3/resize/main.c:340:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/main.c:340:12: branch_false: ...to here
e2fsprogs-1.47.3/resize/main.c:349:24: acquire_memory: allocated here
e2fsprogs-1.47.3/resize/main.c:350:20: branch_false: following ‘false’ branch (when ‘mtpt’ is non-NULL)...
e2fsprogs-1.47.3/resize/main.c:352:22: branch_false: ...to here
e2fsprogs-1.47.3/resize/main.c:353:26: throw: if ‘ext2fs_check_mount_point’ throws an exception...
e2fsprogs-1.47.3/resize/main.c:353:26: danger: ‘mtpt’ leaks here; was allocated at [(12)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def710]
e2fsprogs-1.47.3/resize/resize2fs.c:543:26: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)length)’
e2fsprogs-1.47.3/resize/resize2fs.c:519:18: enter_function: entry to ‘zero_high_bits_in_inodes’
e2fsprogs-1.47.3/resize/resize2fs.c:522:22: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:524:25: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:528:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:531:13: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:531:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:534:18: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:535:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:538:18: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:538:18: call_function: inlined call to ‘ext2fs_get_mem’ from ‘zero_high_bits_in_inodes’
e2fsprogs-1.47.3/resize/resize2fs.c:543:26: throw: if ‘ext2fs_get_next_inode_full’ throws an exception...
e2fsprogs-1.47.3/resize/resize2fs.c:543:26: danger: ‘malloc((long unsigned int)length)’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def711]
e2fsprogs-1.47.3/resize/resize2fs.c:1910:27: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/resize/resize2fs.c:2182:18: enter_function: entry to ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2204:18: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2206:35: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: call_function: calling ‘ext2fs_get_array’ from ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: return_function: returning to ‘inode_scan_and_fix’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/resize/resize2fs.c:2207:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2209:26: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2223:22: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2224:17: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2225:12: branch_false: following ‘false’ branch (when ‘inode’ is non-NULL)...
e2fsprogs-1.47.3/resize/resize2fs.c:2225:12: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2235:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2236:21: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2236:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2239:21: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2246:26: call_function: calling ‘migrate_ea_block’ from ‘inode_scan_and_fix’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def712]
e2fsprogs-1.47.3/resize/resize2fs.c:2004:13: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/resize/resize2fs.c:2182:18: enter_function: entry to ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2204:18: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2206:35: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: call_function: calling ‘ext2fs_get_array’ from ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: return_function: returning to ‘inode_scan_and_fix’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/resize/resize2fs.c:2207:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2209:26: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2223:22: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2224:17: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2225:12: branch_false: following ‘false’ branch (when ‘inode’ is non-NULL)...
e2fsprogs-1.47.3/resize/resize2fs.c:2225:12: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2235:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2236:21: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2236:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2239:21: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2246:26: call_function: calling ‘migrate_ea_block’ from ‘inode_scan_and_fix’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def713]
e2fsprogs-1.47.3/resize/resize2fs.c:2007:17: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/resize/resize2fs.c:2182:18: enter_function: entry to ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2204:18: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2206:35: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: call_function: calling ‘ext2fs_get_array’ from ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: return_function: returning to ‘inode_scan_and_fix’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/resize/resize2fs.c:2207:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2209:26: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2223:22: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2224:17: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2225:12: branch_false: following ‘false’ branch (when ‘inode’ is non-NULL)...
e2fsprogs-1.47.3/resize/resize2fs.c:2225:12: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2235:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2236:21: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2236:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2239:21: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2246:26: call_function: calling ‘migrate_ea_block’ from ‘inode_scan_and_fix’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def714]
e2fsprogs-1.47.3/resize/resize2fs.c:2019:17: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc((long unsigned int)*rfs_25(D)->old_fs.blocksize)’
e2fsprogs-1.47.3/resize/resize2fs.c:1996:18: enter_function: entry to ‘migrate_ea_block’
e2fsprogs-1.47.3/resize/resize2fs.c:2004:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2008:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2012:9: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2015:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2016:38: branch_true: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2016:23: call_function: inlined call to ‘ext2fs_get_mem’ from ‘migrate_ea_block’
e2fsprogs-1.47.3/resize/resize2fs.c:2019:17: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2020:23: throw: if ‘ext2fs_read_ext_attr3’ throws an exception...
e2fsprogs-1.47.3/resize/resize2fs.c:2019:17: danger: ‘malloc((long unsigned int)*rfs_25(D)->old_fs.blocksize)’ leaks here; was allocated at [(9)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def715]
e2fsprogs-1.47.3/resize/resize2fs.c:2213:26: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/resize/resize2fs.c:2182:18: enter_function: entry to ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2204:18: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2206:35: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: call_function: calling ‘ext2fs_get_array’ from ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: return_function: returning to ‘inode_scan_and_fix’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/resize/resize2fs.c:2207:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2209:26: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2212:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2214:45: branch_true: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2213:26: throw: if the called function throws an exception...
e2fsprogs-1.47.3/resize/resize2fs.c:2213:26: danger: ‘block_buf’ leaks here; was allocated at [(9)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def716]
e2fsprogs-1.47.3/resize/resize2fs.c:2218:9: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/resize/resize2fs.c:2182:18: enter_function: entry to ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2204:18: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2206:35: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: call_function: calling ‘ext2fs_get_array’ from ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: return_function: returning to ‘inode_scan_and_fix’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/resize/resize2fs.c:2207:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2209:26: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2218:9: throw: if ‘ext2fs_set_inode_callback’ throws an exception...
e2fsprogs-1.47.3/resize/resize2fs.c:2218:9: danger: ‘block_buf’ leaks here; was allocated at [(9)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def717]
e2fsprogs-1.47.3/resize/resize2fs.c:2234:26: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/resize/resize2fs.c:2182:18: enter_function: entry to ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2204:18: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2206:35: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: call_function: calling ‘ext2fs_get_array’ from ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: return_function: returning to ‘inode_scan_and_fix’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/resize/resize2fs.c:2207:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2209:26: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2223:22: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2224:17: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2225:12: branch_false: following ‘false’ branch (when ‘inode’ is non-NULL)...
e2fsprogs-1.47.3/resize/resize2fs.c:2225:12: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2234:26: throw: if ‘ext2fs_get_next_inode_full’ throws an exception...
e2fsprogs-1.47.3/resize/resize2fs.c:2234:26: danger: ‘block_buf’ leaks here; was allocated at [(9)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def718]
e2fsprogs-1.47.3/resize/resize2fs.c:2234:26: warning[-Wanalyzer-malloc-leak]: leak of ‘inode’
e2fsprogs-1.47.3/resize/resize2fs.c:2182:18: enter_function: entry to ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2204:18: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2206:35: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: call_function: calling ‘ext2fs_get_array’ from ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: return_function: returning to ‘inode_scan_and_fix’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/resize/resize2fs.c:2207:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2209:26: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2223:22: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2224:17: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2224:17: acquire_memory: allocated here
e2fsprogs-1.47.3/resize/resize2fs.c:2225:12: branch_false: following ‘false’ branch (when ‘inode’ is non-NULL)...
e2fsprogs-1.47.3/resize/resize2fs.c:2225:12: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2234:26: throw: if ‘ext2fs_get_next_inode_full’ throws an exception...
e2fsprogs-1.47.3/resize/resize2fs.c:2234:26: danger: ‘inode’ leaks here; was allocated at [(16)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def719]
e2fsprogs-1.47.3/resize/resize2fs.c:2259:26: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/resize/resize2fs.c:2182:18: enter_function: entry to ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2204:18: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2206:35: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: call_function: calling ‘ext2fs_get_array’ from ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: return_function: returning to ‘inode_scan_and_fix’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/resize/resize2fs.c:2207:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2209:26: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2223:22: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2224:17: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2225:12: branch_false: following ‘false’ branch (when ‘inode’ is non-NULL)...
e2fsprogs-1.47.3/resize/resize2fs.c:2225:12: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2235:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2236:21: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2236:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2239:21: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2247:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2250:17: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2251:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2259:26: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2259:26: throw: if ‘ext2fs_new_inode’ throws an exception...
e2fsprogs-1.47.3/resize/resize2fs.c:2259:26: danger: ‘block_buf’ leaks here; was allocated at [(9)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def720]
e2fsprogs-1.47.3/resize/resize2fs.c:2263:17: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/resize/resize2fs.c:2182:18: enter_function: entry to ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2204:18: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2206:35: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: call_function: calling ‘ext2fs_get_array’ from ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: return_function: returning to ‘inode_scan_and_fix’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/resize/resize2fs.c:2207:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2209:26: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2223:22: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2224:17: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2225:12: branch_false: following ‘false’ branch (when ‘inode’ is non-NULL)...
e2fsprogs-1.47.3/resize/resize2fs.c:2225:12: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2235:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2236:21: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2236:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2239:21: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2247:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2250:17: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2251:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2259:26: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2260:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2263:17: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2263:17: throw: if ‘ext2fs_inode_alloc_stats2’ throws an exception...
e2fsprogs-1.47.3/resize/resize2fs.c:2263:17: danger: ‘block_buf’ leaks here; was allocated at [(9)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def721]
e2fsprogs-1.47.3/resize/resize2fs.c:2275:26: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/resize/resize2fs.c:2182:18: enter_function: entry to ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2204:18: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2206:35: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: call_function: calling ‘ext2fs_get_array’ from ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: return_function: returning to ‘inode_scan_and_fix’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/resize/resize2fs.c:2207:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2209:26: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2223:22: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2224:17: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2225:12: branch_false: following ‘false’ branch (when ‘inode’ is non-NULL)...
e2fsprogs-1.47.3/resize/resize2fs.c:2225:12: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2235:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2236:21: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2236:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2239:21: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2247:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2250:17: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2251:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2259:26: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2260:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2263:17: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2269:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2275:26: branch_true: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2275:26: throw: if ‘ext2fs_write_inode_full’ throws an exception...
e2fsprogs-1.47.3/resize/resize2fs.c:2275:26: danger: ‘block_buf’ leaks here; was allocated at [(9)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def722]
e2fsprogs-1.47.3/resize/resize2fs.c:2286:34: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/resize/resize2fs.c:2182:18: enter_function: entry to ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2204:18: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2206:35: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: call_function: calling ‘ext2fs_get_array’ from ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: return_function: returning to ‘inode_scan_and_fix’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/resize/resize2fs.c:2207:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2209:26: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2223:22: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2224:17: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2225:12: branch_false: following ‘false’ branch (when ‘inode’ is non-NULL)...
e2fsprogs-1.47.3/resize/resize2fs.c:2225:12: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2235:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2236:21: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2236:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2239:21: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2247:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2250:17: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2251:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2259:26: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2260:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2263:17: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2277:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2279:17: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2285:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2286:34: branch_true: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2286:34: throw: if ‘ext2fs_create_extent_table’ throws an exception...
e2fsprogs-1.47.3/resize/resize2fs.c:2286:34: danger: ‘block_buf’ leaks here; was allocated at [(9)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def723]
e2fsprogs-1.47.3/resize/resize2fs.c:2290:17: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/resize/resize2fs.c:2182:18: enter_function: entry to ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2204:18: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2206:35: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: call_function: calling ‘ext2fs_get_array’ from ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: return_function: returning to ‘inode_scan_and_fix’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/resize/resize2fs.c:2207:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2209:26: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2223:22: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2224:17: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2225:12: branch_false: following ‘false’ branch (when ‘inode’ is non-NULL)...
e2fsprogs-1.47.3/resize/resize2fs.c:2225:12: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2235:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2236:21: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2236:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2239:21: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2247:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2250:17: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2251:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2259:26: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2260:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2263:17: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2277:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2279:17: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2285:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2290:17: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2290:17: throw: if ‘ext2fs_add_extent_entry’ throws an exception...
e2fsprogs-1.47.3/resize/resize2fs.c:2290:17: danger: ‘block_buf’ leaks here; was allocated at [(9)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def724]
e2fsprogs-1.47.3/resize/resize2fs.c:2346:9: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/resize/resize2fs.c:2182:18: enter_function: entry to ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2204:18: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2206:35: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: call_function: calling ‘ext2fs_get_array’ from ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: return_function: returning to ‘inode_scan_and_fix’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/resize/resize2fs.c:2207:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2209:26: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2225:12: branch_false: following ‘false’ branch (when ‘inode’ is non-NULL)...
e2fsprogs-1.47.3/resize/resize2fs.c:2225:12: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2235:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2236:21: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2339:12: branch_false: following ‘false’ branch (when ‘update_ea_inode_refs == 0’)...
e2fsprogs-1.47.3/resize/resize2fs.c:2346:9: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2346:9: throw: if the called function throws an exception...
e2fsprogs-1.47.3/resize/resize2fs.c:2346:9: danger: ‘block_buf’ leaks here; was allocated at [(9)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def725]
e2fsprogs-1.47.3/resize/resize2fs.c:2349:9: warning[-Wanalyzer-malloc-leak]: leak of ‘block_buf’
e2fsprogs-1.47.3/resize/resize2fs.c:2182:18: enter_function: entry to ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2202:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2204:18: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2205:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2206:35: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: call_function: calling ‘ext2fs_get_array’ from ‘inode_scan_and_fix’
e2fsprogs-1.47.3/resize/resize2fs.c:2206:18: return_function: returning to ‘inode_scan_and_fix’ from ‘ext2fs_get_array’
e2fsprogs-1.47.3/resize/resize2fs.c:2207:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2209:26: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2349:9: throw: if ‘reset_com_err_hook’ throws an exception...
e2fsprogs-1.47.3/resize/resize2fs.c:2349:9: danger: ‘block_buf’ leaks here; was allocated at [(9)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def726]
e2fsprogs-1.47.3/resize/resize2fs.c:2909:18: warning[-Wanalyzer-malloc-leak]: leak of ‘orphan_buf’
e2fsprogs-1.47.3/resize/resize2fs.c:2884:18: enter_function: entry to ‘fix_orphan_file_inode’
e2fsprogs-1.47.3/resize/resize2fs.c:2892:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2893:14: call_function: inlined call to ‘ext2fs_has_feature_metadata_csum’ from ‘fix_orphan_file_inode’
e2fsprogs-1.47.3/resize/resize2fs.c:2892:13: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2896:9: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2898:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2900:29: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2900:22: acquire_memory: allocated here
e2fsprogs-1.47.3/resize/resize2fs.c:2901:12: branch_false: following ‘false’ branch (when ‘orphan_buf’ is non-NULL)...
e2fsprogs-1.47.3/resize/resize2fs.c:2904:9: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2909:18: throw: if ‘ext2fs_block_iterate3’ throws an exception...
e2fsprogs-1.47.3/resize/resize2fs.c:2909:18: danger: ‘orphan_buf’ leaks here; was allocated at [(9)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def727]
e2fsprogs-1.47.3/resize/resize2fs.c:2938:26: warning[-Wanalyzer-malloc-leak]: leak of ‘bitmap_buf’
e2fsprogs-1.47.3/resize/resize2fs.c:2934:22: acquire_memory: allocated here
e2fsprogs-1.47.3/resize/resize2fs.c:2935:12: branch_false: following ‘false’ branch (when ‘bitmap_buf’ is non-NULL)...
e2fsprogs-1.47.3/resize/resize2fs.c:2935:12: branch_false: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2937:25: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/resize/resize2fs.c:2939:35: branch_true: ...to here
e2fsprogs-1.47.3/resize/resize2fs.c:2938:26: throw: if ‘ext2fs_get_block_bitmap_range2’ throws an exception...
e2fsprogs-1.47.3/resize/resize2fs.c:2938:26: danger: ‘bitmap_buf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def728]
e2fsprogs-1.47.3/tests/progs/crcsum.c:63:31: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
e2fsprogs-1.47.3/tests/progs/crcsum.c:38:16: branch_false: following ‘false’ branch (when ‘c == -1’)...
e2fsprogs-1.47.3/tests/progs/crcsum.c:47:13: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/crcsum.c:47:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/tests/progs/crcsum.c:50:31: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/crcsum.c:50:21: acquire_resource: opened here
e2fsprogs-1.47.3/tests/progs/crcsum.c:51:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/tests/progs/crcsum.c:51:20: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/crcsum.c:58:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/tests/progs/crcsum.c:60:27: branch_true: ...to here
e2fsprogs-1.47.3/tests/progs/crcsum.c:62:20: branch_true: following ‘true’ branch (when ‘cnt != 0’)...
e2fsprogs-1.47.3/tests/progs/crcsum.c:63:31: branch_true: ...to here
e2fsprogs-1.47.3/tests/progs/crcsum.c:63:31: throw: if ‘ext2fs_crc32c_le’ throws an exception...
e2fsprogs-1.47.3/tests/progs/crcsum.c:63:31: danger: ‘f’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def729]
e2fsprogs-1.47.3/tests/progs/crcsum.c:63:31: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
e2fsprogs-1.47.3/tests/progs/crcsum.c:38:16: branch_false: following ‘false’ branch (when ‘c == -1’)...
e2fsprogs-1.47.3/tests/progs/crcsum.c:47:13: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/crcsum.c:47:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/tests/progs/crcsum.c:50:31: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/crcsum.c:50:21: acquire_memory: allocated here
e2fsprogs-1.47.3/tests/progs/crcsum.c:51:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/tests/progs/crcsum.c:51:20: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/crcsum.c:58:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/tests/progs/crcsum.c:60:27: branch_true: ...to here
e2fsprogs-1.47.3/tests/progs/crcsum.c:62:20: branch_true: following ‘true’ branch (when ‘cnt != 0’)...
e2fsprogs-1.47.3/tests/progs/crcsum.c:63:31: branch_true: ...to here
e2fsprogs-1.47.3/tests/progs/crcsum.c:63:31: throw: if ‘ext2fs_crc32c_le’ throws an exception...
e2fsprogs-1.47.3/tests/progs/crcsum.c:63:31: danger: ‘f’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def730]
e2fsprogs-1.47.3/tests/progs/test_icount.c:286:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
e2fsprogs-1.47.3/tests/progs/test_icount.c:277:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/tests/progs/test_icount.c:280:21: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:280:21: acquire_resource: opened here
e2fsprogs-1.47.3/tests/progs/test_icount.c:281:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/tests/progs/test_icount.c:286:9: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:286:9: throw: if ‘fflush’ throws an exception...
e2fsprogs-1.47.3/tests/progs/test_icount.c:286:9: danger: ‘f’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def731]
e2fsprogs-1.47.3/tests/progs/test_icount.c:286:9: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
e2fsprogs-1.47.3/tests/progs/test_icount.c:277:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/tests/progs/test_icount.c:280:21: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:280:21: acquire_memory: allocated here
e2fsprogs-1.47.3/tests/progs/test_icount.c:281:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/tests/progs/test_icount.c:286:9: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:286:9: throw: if ‘fflush’ throws an exception...
e2fsprogs-1.47.3/tests/progs/test_icount.c:286:9: danger: ‘f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def732]
e2fsprogs-1.47.3/tests/progs/test_icount.c:287:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
e2fsprogs-1.47.3/tests/progs/test_icount.c:277:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/tests/progs/test_icount.c:280:21: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:280:21: acquire_resource: opened here
e2fsprogs-1.47.3/tests/progs/test_icount.c:281:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/tests/progs/test_icount.c:286:9: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:287:9: throw: if ‘fflush’ throws an exception...
e2fsprogs-1.47.3/tests/progs/test_icount.c:287:9: danger: ‘f’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def733]
e2fsprogs-1.47.3/tests/progs/test_icount.c:287:9: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
e2fsprogs-1.47.3/tests/progs/test_icount.c:277:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/tests/progs/test_icount.c:280:21: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:280:21: acquire_memory: allocated here
e2fsprogs-1.47.3/tests/progs/test_icount.c:281:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/tests/progs/test_icount.c:286:9: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:287:9: throw: if ‘fflush’ throws an exception...
e2fsprogs-1.47.3/tests/progs/test_icount.c:287:9: danger: ‘f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def734]
e2fsprogs-1.47.3/tests/progs/test_icount.c:308:26: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
e2fsprogs-1.47.3/tests/progs/test_icount.c:277:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/tests/progs/test_icount.c:280:21: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:280:21: acquire_resource: opened here
e2fsprogs-1.47.3/tests/progs/test_icount.c:281:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/tests/progs/test_icount.c:286:9: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:290:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/tests/progs/test_icount.c:291:21: branch_true: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:291:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/tests/progs/test_icount.c:293:21: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:296:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/tests/progs/test_icount.c:298:25: branch_true: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:301:20: branch_false: following ‘false’ branch (when ‘cp’ is NULL)...
e2fsprogs-1.47.3/tests/progs/test_icount.c:303:22: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:304:20: branch_false: following ‘false’ branch (when ‘cp’ is NULL)...
e2fsprogs-1.47.3/tests/progs/test_icount.c:306:20: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:306:20: branch_false: following ‘false’ branch (when ‘noecho != 0’)...
e2fsprogs-1.47.3/tests/progs/test_icount.c:308:26: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:308:26: throw: if ‘ss_execute_line’ throws an exception...
e2fsprogs-1.47.3/tests/progs/test_icount.c:308:26: danger: ‘f’ leaks here; was opened at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def735]
e2fsprogs-1.47.3/tests/progs/test_icount.c:308:26: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
e2fsprogs-1.47.3/tests/progs/test_icount.c:277:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/tests/progs/test_icount.c:280:21: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:280:21: acquire_memory: allocated here
e2fsprogs-1.47.3/tests/progs/test_icount.c:281:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/tests/progs/test_icount.c:286:9: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:290:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/tests/progs/test_icount.c:291:21: branch_true: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:291:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/tests/progs/test_icount.c:293:21: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:296:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/tests/progs/test_icount.c:298:25: branch_true: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:301:20: branch_false: following ‘false’ branch (when ‘cp’ is NULL)...
e2fsprogs-1.47.3/tests/progs/test_icount.c:303:22: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:304:20: branch_false: following ‘false’ branch (when ‘cp’ is NULL)...
e2fsprogs-1.47.3/tests/progs/test_icount.c:306:20: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:306:20: branch_false: following ‘false’ branch (when ‘noecho != 0’)...
e2fsprogs-1.47.3/tests/progs/test_icount.c:308:26: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:308:26: throw: if ‘ss_execute_line’ throws an exception...
e2fsprogs-1.47.3/tests/progs/test_icount.c:308:26: danger: ‘f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def736]
e2fsprogs-1.47.3/tests/progs/test_icount.c:310:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
e2fsprogs-1.47.3/tests/progs/test_icount.c:277:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/tests/progs/test_icount.c:280:21: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:280:21: acquire_resource: opened here
e2fsprogs-1.47.3/tests/progs/test_icount.c:281:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/tests/progs/test_icount.c:286:9: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:290:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/tests/progs/test_icount.c:291:21: branch_true: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:291:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/tests/progs/test_icount.c:293:21: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:301:20: branch_false: following ‘false’ branch (when ‘cp’ is NULL)...
e2fsprogs-1.47.3/tests/progs/test_icount.c:303:22: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:304:20: branch_false: following ‘false’ branch (when ‘cp’ is NULL)...
e2fsprogs-1.47.3/tests/progs/test_icount.c:306:20: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:309:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/tests/progs/test_icount.c:310:25: branch_true: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:310:25: throw: if ‘ss_perror’ throws an exception...
e2fsprogs-1.47.3/tests/progs/test_icount.c:310:25: danger: ‘f’ leaks here; was opened at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def737]
e2fsprogs-1.47.3/tests/progs/test_icount.c:310:25: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
e2fsprogs-1.47.3/tests/progs/test_icount.c:277:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/tests/progs/test_icount.c:280:21: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:280:21: acquire_memory: allocated here
e2fsprogs-1.47.3/tests/progs/test_icount.c:281:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/tests/progs/test_icount.c:286:9: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:290:16: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/tests/progs/test_icount.c:291:21: branch_true: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:291:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/tests/progs/test_icount.c:293:21: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:301:20: branch_false: following ‘false’ branch (when ‘cp’ is NULL)...
e2fsprogs-1.47.3/tests/progs/test_icount.c:303:22: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:304:20: branch_false: following ‘false’ branch (when ‘cp’ is NULL)...
e2fsprogs-1.47.3/tests/progs/test_icount.c:306:20: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:309:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/tests/progs/test_icount.c:310:25: branch_true: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:310:25: throw: if ‘ss_perror’ throws an exception...
e2fsprogs-1.47.3/tests/progs/test_icount.c:310:25: danger: ‘f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def738]
e2fsprogs-1.47.3/tests/progs/test_icount.c:316:16: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
e2fsprogs-1.47.3/tests/progs/test_icount.c:277:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/tests/progs/test_icount.c:280:21: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:280:21: acquire_resource: opened here
e2fsprogs-1.47.3/tests/progs/test_icount.c:281:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/tests/progs/test_icount.c:286:9: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/tests/progs/test_icount.c:316:16: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:316:16: danger: ‘f’ leaks here; was opened at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def739]
e2fsprogs-1.47.3/tests/progs/test_icount.c:316:16: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
e2fsprogs-1.47.3/tests/progs/test_icount.c:277:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
e2fsprogs-1.47.3/tests/progs/test_icount.c:280:21: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:280:21: acquire_memory: allocated here
e2fsprogs-1.47.3/tests/progs/test_icount.c:281:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/tests/progs/test_icount.c:286:9: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:314:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/tests/progs/test_icount.c:316:16: branch_false: ...to here
e2fsprogs-1.47.3/tests/progs/test_icount.c:316:16: danger: ‘f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def740]
e2fsprogs-1.47.3/util/subst.c:378:23: warning[-Wanalyzer-file-leak]: leak of FILE ‘in’
e2fsprogs-1.47.3/util/subst.c:359:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:360:32: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:360:22: acquire_resource: opened here
e2fsprogs-1.47.3/util/subst.c:361:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:365:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:369:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:370:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:372:20: branch_false: following ‘false’ branch (when ‘newfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:376:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:378:23: throw: if ‘open’ throws an exception...
e2fsprogs-1.47.3/util/subst.c:378:23: danger: ‘in’ leaks here; was opened at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def741]
e2fsprogs-1.47.3/util/subst.c:378:23: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
e2fsprogs-1.47.3/util/subst.c:359:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:360:32: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:360:22: acquire_memory: allocated here
e2fsprogs-1.47.3/util/subst.c:361:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:365:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:369:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:370:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:372:20: branch_false: following ‘false’ branch (when ‘newfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:376:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:378:23: throw: if ‘open’ throws an exception...
e2fsprogs-1.47.3/util/subst.c:378:23: danger: ‘in’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def742]
e2fsprogs-1.47.3/util/subst.c:378:23: warning[-Wanalyzer-malloc-leak]: leak of ‘newfn’
e2fsprogs-1.47.3/util/subst.c:359:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:367:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:369:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:370:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:371:34: acquire_memory: allocated here
e2fsprogs-1.47.3/util/subst.c:372:20: branch_false: following ‘false’ branch (when ‘newfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:376:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:378:23: throw: if ‘open’ throws an exception...
e2fsprogs-1.47.3/util/subst.c:378:23: danger: ‘newfn’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def743]
e2fsprogs-1.47.3/util/subst.c:380:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘in’
e2fsprogs-1.47.3/util/subst.c:359:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:360:32: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:360:22: acquire_resource: opened here
e2fsprogs-1.47.3/util/subst.c:361:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:365:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:369:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:370:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:372:20: branch_false: following ‘false’ branch (when ‘newfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:376:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:379:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:380:25: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:380:25: throw: if ‘perror’ throws an exception...
e2fsprogs-1.47.3/util/subst.c:380:25: danger: ‘in’ leaks here; was opened at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def744]
e2fsprogs-1.47.3/util/subst.c:380:25: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
e2fsprogs-1.47.3/util/subst.c:359:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:360:32: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:360:22: acquire_memory: allocated here
e2fsprogs-1.47.3/util/subst.c:361:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:365:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:369:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:370:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:372:20: branch_false: following ‘false’ branch (when ‘newfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:376:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:379:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:380:25: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:380:25: throw: if ‘perror’ throws an exception...
e2fsprogs-1.47.3/util/subst.c:380:25: danger: ‘in’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def745]
e2fsprogs-1.47.3/util/subst.c:380:25: warning[-Wanalyzer-malloc-leak]: leak of ‘newfn’
e2fsprogs-1.47.3/util/subst.c:359:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:367:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:369:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:370:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:371:34: acquire_memory: allocated here
e2fsprogs-1.47.3/util/subst.c:372:20: branch_false: following ‘false’ branch (when ‘newfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:376:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:379:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:380:25: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:380:25: throw: if ‘perror’ throws an exception...
e2fsprogs-1.47.3/util/subst.c:380:25: danger: ‘newfn’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def746]
e2fsprogs-1.47.3/util/subst.c:385:25: warning[-Wanalyzer-file-leak]: leak of FILE ‘in’
e2fsprogs-1.47.3/util/subst.c:359:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:360:32: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:360:22: acquire_resource: opened here
e2fsprogs-1.47.3/util/subst.c:361:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:365:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:369:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:370:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:372:20: branch_false: following ‘false’ branch (when ‘newfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:376:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:379:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:383:23: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:384:20: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
e2fsprogs-1.47.3/util/subst.c:385:25: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:385:25: throw: if ‘perror’ throws an exception...
e2fsprogs-1.47.3/util/subst.c:385:25: danger: ‘in’ leaks here; was opened at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def747]
e2fsprogs-1.47.3/util/subst.c:385:25: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
e2fsprogs-1.47.3/util/subst.c:359:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:360:32: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:360:22: acquire_memory: allocated here
e2fsprogs-1.47.3/util/subst.c:361:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:365:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:369:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:370:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:372:20: branch_false: following ‘false’ branch (when ‘newfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:376:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:379:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:383:23: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:384:20: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
e2fsprogs-1.47.3/util/subst.c:385:25: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:385:25: throw: if ‘perror’ throws an exception...
e2fsprogs-1.47.3/util/subst.c:385:25: danger: ‘in’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def748]
e2fsprogs-1.47.3/util/subst.c:385:25: warning[-Wanalyzer-malloc-leak]: leak of ‘newfn’
e2fsprogs-1.47.3/util/subst.c:359:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:367:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:369:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:370:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:371:34: acquire_memory: allocated here
e2fsprogs-1.47.3/util/subst.c:372:20: branch_false: following ‘false’ branch (when ‘newfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:376:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:379:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:383:23: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:384:20: branch_true: following ‘true’ branch (when ‘out’ is NULL)...
e2fsprogs-1.47.3/util/subst.c:385:25: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:385:25: throw: if ‘perror’ throws an exception...
e2fsprogs-1.47.3/util/subst.c:385:25: danger: ‘newfn’ leaks here; was allocated at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def749]
e2fsprogs-1.47.3/util/subst.c:389:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘in’
e2fsprogs-1.47.3/util/subst.c:359:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:360:32: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:360:22: acquire_resource: opened here
e2fsprogs-1.47.3/util/subst.c:361:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:365:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:369:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:370:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:372:20: branch_false: following ‘false’ branch (when ‘newfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:376:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:379:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:383:23: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:384:20: branch_false: following ‘false’ branch (when ‘out’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:389:22: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:389:22: throw: if ‘open’ throws an exception...
e2fsprogs-1.47.3/util/subst.c:389:22: danger: ‘in’ leaks here; was opened at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def750]
e2fsprogs-1.47.3/util/subst.c:389:22: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
e2fsprogs-1.47.3/util/subst.c:359:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:360:32: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:360:22: acquire_memory: allocated here
e2fsprogs-1.47.3/util/subst.c:361:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:365:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:369:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:370:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:372:20: branch_false: following ‘false’ branch (when ‘newfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:376:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:379:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:383:23: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:384:20: branch_false: following ‘false’ branch (when ‘out’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:389:22: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:389:22: throw: if ‘open’ throws an exception...
e2fsprogs-1.47.3/util/subst.c:389:22: danger: ‘in’ leaks here; was allocated at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def751]
e2fsprogs-1.47.3/util/subst.c:389:22: warning[-Wanalyzer-malloc-leak]: leak of ‘newfn’
e2fsprogs-1.47.3/util/subst.c:359:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:367:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:369:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:370:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:371:34: acquire_memory: allocated here
e2fsprogs-1.47.3/util/subst.c:372:20: branch_false: following ‘false’ branch (when ‘newfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:376:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:379:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:383:23: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:384:20: branch_false: following ‘false’ branch (when ‘out’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:389:22: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:389:22: throw: if ‘open’ throws an exception...
e2fsprogs-1.47.3/util/subst.c:389:22: danger: ‘newfn’ leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def752]
e2fsprogs-1.47.3/util/subst.c:389:22: warning[-Wanalyzer-malloc-leak]: leak of ‘out’
e2fsprogs-1.47.3/util/subst.c:359:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:367:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:369:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:370:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:372:20: branch_false: following ‘false’ branch (when ‘newfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:376:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:379:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:383:23: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:383:23: acquire_memory: allocated here
e2fsprogs-1.47.3/util/subst.c:384:20: branch_false: following ‘false’ branch (when ‘out’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:389:22: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:389:22: throw: if ‘open’ throws an exception...
e2fsprogs-1.47.3/util/subst.c:389:22: danger: ‘out’ leaks here; was allocated at [(9)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def753]
e2fsprogs-1.47.3/util/subst.c:390:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(outfn, 0)’
e2fsprogs-1.47.3/util/subst.c:359:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:367:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:369:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:370:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:372:20: branch_false: following ‘false’ branch (when ‘newfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:376:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:379:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:383:23: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:384:20: branch_false: following ‘false’ branch (when ‘out’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:389:22: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:389:22: acquire_resource: opened here
e2fsprogs-1.47.3/util/subst.c:390:20: danger: ‘open(outfn, 0)’ leaks here; was opened at [(11)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def754]
e2fsprogs-1.47.3/util/subst.c:404:33: warning[-Wanalyzer-file-leak]: leak of FILE ‘in’
e2fsprogs-1.47.3/util/subst.c:359:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:360:32: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:360:22: acquire_resource: opened here
e2fsprogs-1.47.3/util/subst.c:361:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:365:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:369:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:370:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:372:20: branch_false: following ‘false’ branch (when ‘newfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:376:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:379:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:383:23: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:384:20: branch_false: following ‘false’ branch (when ‘out’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:389:22: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:390:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:392:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:403:28: branch_true: following ‘true’ branch (when ‘old’ is NULL)...
e2fsprogs-1.47.3/util/subst.c:404:33: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:404:33: throw: if ‘close’ throws an exception...
e2fsprogs-1.47.3/util/subst.c:404:33: danger: ‘in’ leaks here; was opened at [(3)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def755]
e2fsprogs-1.47.3/util/subst.c:404:33: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
e2fsprogs-1.47.3/util/subst.c:359:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:360:32: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:360:22: acquire_memory: allocated here
e2fsprogs-1.47.3/util/subst.c:361:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:365:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:369:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:370:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:372:20: branch_false: following ‘false’ branch (when ‘newfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:376:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:379:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:383:23: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:384:20: branch_false: following ‘false’ branch (when ‘out’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:389:22: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:390:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:392:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:403:28: branch_true: following ‘true’ branch (when ‘old’ is NULL)...
e2fsprogs-1.47.3/util/subst.c:404:33: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:404:33: throw: if ‘close’ throws an exception...
e2fsprogs-1.47.3/util/subst.c:404:33: danger: ‘in’ leaks here; was allocated at [(3)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def756]
e2fsprogs-1.47.3/util/subst.c:404:33: warning[-Wanalyzer-malloc-leak]: leak of ‘newfn’
e2fsprogs-1.47.3/util/subst.c:359:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:367:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:369:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:370:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:371:34: acquire_memory: allocated here
e2fsprogs-1.47.3/util/subst.c:372:20: branch_false: following ‘false’ branch (when ‘newfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:376:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:379:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:383:23: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:384:20: branch_false: following ‘false’ branch (when ‘out’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:389:22: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:390:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:392:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:403:28: branch_true: following ‘true’ branch (when ‘old’ is NULL)...
e2fsprogs-1.47.3/util/subst.c:404:33: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:404:33: throw: if ‘close’ throws an exception...
e2fsprogs-1.47.3/util/subst.c:404:33: danger: ‘newfn’ leaks here; was allocated at [(5)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def757]
e2fsprogs-1.47.3/util/subst.c:404:33: warning[-Wanalyzer-malloc-leak]: leak of ‘out’
e2fsprogs-1.47.3/util/subst.c:359:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:367:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:369:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:370:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:372:20: branch_false: following ‘false’ branch (when ‘newfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:376:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:379:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:383:23: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:383:23: acquire_memory: allocated here
e2fsprogs-1.47.3/util/subst.c:384:20: branch_false: following ‘false’ branch (when ‘out’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:389:22: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:390:20: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:392:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:403:28: branch_true: following ‘true’ branch (when ‘old’ is NULL)...
e2fsprogs-1.47.3/util/subst.c:404:33: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:404:33: throw: if ‘close’ throws an exception...
e2fsprogs-1.47.3/util/subst.c:404:33: danger: ‘out’ leaks here; was allocated at [(9)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def758]
e2fsprogs-1.47.3/util/subst.c:419:17: warning[-Wanalyzer-malloc-leak]: leak of ‘newfn’
e2fsprogs-1.47.3/util/subst.c:359:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:367:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:369:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:370:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:371:34: acquire_memory: allocated here
e2fsprogs-1.47.3/util/subst.c:372:20: branch_false: following ‘false’ branch (when ‘newfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:376:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:379:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:383:23: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:384:20: branch_false: following ‘false’ branch (when ‘out’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:389:22: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:390:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:390:20: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:418:12: branch_true: following ‘true’ branch (when ‘outfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:419:17: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:419:17: throw: if ‘fflush’ throws an exception...
e2fsprogs-1.47.3/util/subst.c:419:17: danger: ‘newfn’ leaks here; was allocated at [(5)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def759]
e2fsprogs-1.47.3/util/subst.c:419:17: warning[-Wanalyzer-malloc-leak]: leak of ‘out’
e2fsprogs-1.47.3/util/subst.c:359:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:367:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:369:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:370:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:372:20: branch_false: following ‘false’ branch (when ‘newfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:376:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:379:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:383:23: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:383:23: acquire_memory: allocated here
e2fsprogs-1.47.3/util/subst.c:384:20: branch_false: following ‘false’ branch (when ‘out’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:389:22: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:390:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:390:20: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:418:12: branch_true: following ‘true’ branch (when ‘outfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:419:17: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:419:17: throw: if ‘fflush’ throws an exception...
e2fsprogs-1.47.3/util/subst.c:419:17: danger: ‘out’ leaks here; was allocated at [(9)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def760]
e2fsprogs-1.47.3/util/subst.c:420:17: warning[-Wanalyzer-malloc-leak]: leak of ‘newfn’
e2fsprogs-1.47.3/util/subst.c:359:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:367:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:369:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:370:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:371:34: acquire_memory: allocated here
e2fsprogs-1.47.3/util/subst.c:372:20: branch_false: following ‘false’ branch (when ‘newfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:376:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:379:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:383:23: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:384:20: branch_false: following ‘false’ branch (when ‘out’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:389:22: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:390:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:390:20: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:418:12: branch_true: following ‘true’ branch (when ‘outfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:419:17: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:420:17: throw: if ‘rewind’ throws an exception...
e2fsprogs-1.47.3/util/subst.c:420:17: danger: ‘newfn’ leaks here; was allocated at [(5)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def761]
e2fsprogs-1.47.3/util/subst.c:420:17: warning[-Wanalyzer-malloc-leak]: leak of ‘out’
e2fsprogs-1.47.3/util/subst.c:359:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:367:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:369:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:370:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:372:20: branch_false: following ‘false’ branch (when ‘newfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:376:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:379:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:383:23: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:383:23: acquire_memory: allocated here
e2fsprogs-1.47.3/util/subst.c:384:20: branch_false: following ‘false’ branch (when ‘out’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:389:22: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:390:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:390:20: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:418:12: branch_true: following ‘true’ branch (when ‘outfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:419:17: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:420:17: throw: if ‘rewind’ throws an exception...
e2fsprogs-1.47.3/util/subst.c:420:17: danger: ‘out’ leaks here; was allocated at [(9)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def762]
e2fsprogs-1.47.3/util/subst.c:456:33: warning[-Wanalyzer-malloc-leak]: leak of ‘newfn’
e2fsprogs-1.47.3/util/subst.c:369:12: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:370:29: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:371:34: acquire_memory: allocated here
e2fsprogs-1.47.3/util/subst.c:372:20: branch_false: following ‘false’ branch (when ‘newfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:376:17: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:379:20: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/subst.c:383:23: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:384:20: branch_false: following ‘false’ branch (when ‘out’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:389:22: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:418:12: branch_true: following ‘true’ branch (when ‘outfn’ is non-NULL)...
e2fsprogs-1.47.3/util/subst.c:419:17: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:421:20: branch_false: following ‘false’ branch (when ‘old’ is NULL)...
e2fsprogs-1.47.3/util/subst.c:445:28: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:448:28: branch_true: following ‘true’ branch (when ‘ofd != -1’)...
e2fsprogs-1.47.3/util/subst.c:449:40: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:452:28: branch_false: following ‘false’ branch (when ‘old’ is NULL)...
e2fsprogs-1.47.3/util/subst.c:455:29: branch_false: ...to here
e2fsprogs-1.47.3/util/subst.c:455:28: branch_true: following ‘true’ branch...
e2fsprogs-1.47.3/util/subst.c:456:33: branch_true: ...to here
e2fsprogs-1.47.3/util/subst.c:456:33: throw: if ‘perror’ throws an exception...
e2fsprogs-1.47.3/util/subst.c:456:33: danger: ‘newfn’ leaks here; was allocated at [(3)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def763]
e2fsprogs-1.47.3/util/symlinks.c:289:16: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(path)’
e2fsprogs-1.47.3/util/symlinks.c:326:5: enter_function: entry to ‘main’
e2fsprogs-1.47.3/util/symlinks.c:346:12: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/symlinks.c:358:14: branch_false: ...to here
e2fsprogs-1.47.3/util/symlinks.c:361:16: branch_true: following ‘true’ branch (when ‘argc != 0’)...
e2fsprogs-1.47.3/util/symlinks.c:362:17: branch_true: ...to here
e2fsprogs-1.47.3/util/symlinks.c:384:25: call_function: calling ‘tidy_path’ from ‘main’
e2fsprogs-1.47.3/util/symlinks.c:384:25: return_function: returning to ‘main’ from ‘tidy_path’
e2fsprogs-1.47.3/util/symlinks.c:385:28: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/symlinks.c:387:34: branch_false: ...to here
e2fsprogs-1.47.3/util/symlinks.c:387:33: branch_false: following ‘false’ branch...
e2fsprogs-1.47.3/util/symlinks.c:390:61: branch_false: ...to here
e2fsprogs-1.47.3/util/symlinks.c:390:33: call_function: calling ‘dirwalk’ from ‘main’
Error: COMPILER_WARNING: [#def764]
e2fsprogs-1.47.3/util/symlinks.c: scope_hint: In function ‘main’
e2fsprogs-1.47.3/util/symlinks.c:383:33: warning[-Wstringop-truncation]: ‘strncpy’ output may be truncated copying 4097 bytes from a string of length 4097
Scan Properties
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-111.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | e2fsprogs-1.47.3-3.fc44 |
| store-results-to | /tmp/tmploii9bf3/e2fsprogs-1.47.3-3.fc44.tar.xz |
| time-created | 2026-01-08 15:56:15 |
| time-finished | 2026-01-08 15:59:38 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmploii9bf3/e2fsprogs-1.47.3-3.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmploii9bf3/e2fsprogs-1.47.3-3.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |