xfsprogs-6.14.0-1.fc43
List of Findings
Error: SHELLCHECK_WARNING: [#def1]
/usr/bin/fsck.xfs:37:2: warning[SC2220]: Invalid flags are not handled. Add a *) case.
Error: SHELLCHECK_WARNING (CWE-569): [#def2]
/usr/bin/fsck.xfs:43:12: warning[SC1083]: This { is literal. Check expression (missing ;/\n?) or quote it.
Error: SHELLCHECK_WARNING (CWE-569): [#def3]
/usr/bin/fsck.xfs:43:15: warning[SC1083]: This } is literal. Check expression (missing ;/\n?) or quote it.
Error: SHELLCHECK_WARNING (CWE-156): [#def4]
/usr/bin/fsck.xfs:84:8: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def5]
/usr/bin/fsck.xfs:84:27: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-149): [#def6]
/usr/bin/xfs_admin:36:34: warning[SC2027]: The surrounding quotes actually unquote this. Remove or escape them.
Error: SHELLCHECK_WARNING (CWE-149): [#def7]
/usr/bin/xfs_admin:37:35: warning[SC2027]: The surrounding quotes actually unquote this. Remove or escape them.
Error: SHELLCHECK_WARNING (CWE-149): [#def8]
/usr/bin/xfs_admin:52:33: warning[SC2027]: The surrounding quotes actually unquote this. Remove or escape them.
Error: SHELLCHECK_WARNING (CWE-88): [#def9]
/usr/bin/xfs_admin:64:14: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-156): [#def10]
/usr/bin/xfs_bmap:29:7: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-563): [#def11]
/usr/bin/xfs_freeze:6:1: warning[SC2034]: OPTS appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-156): [#def12]
/usr/bin/xfs_freeze:29:7: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING: [#def13]
/usr/bin/xfs_info:14:2: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-571): [#def14]
/usr/bin/xfs_info:14:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-149): [#def15]
/usr/bin/xfs_metadump:17:20: warning[SC2027]: The surrounding quotes actually unquote this. Remove or escape them.
Error: SHELLCHECK_WARNING (CWE-149): [#def16]
/usr/bin/xfs_metadump:21:25: warning[SC2027]: The surrounding quotes actually unquote this. Remove or escape them.
Error: SHELLCHECK_WARNING (CWE-149): [#def17]
/usr/bin/xfs_metadump:23:20: warning[SC2027]: The surrounding quotes actually unquote this. Remove or escape them.
Error: SHELLCHECK_WARNING (CWE-149): [#def18]
/usr/bin/xfs_metadump:28:24: warning[SC2027]: The surrounding quotes actually unquote this. Remove or escape them.
Error: SHELLCHECK_WARNING (CWE-88): [#def19]
/usr/bin/xfs_metadump:34:14: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-563): [#def20]
/usr/bin/xfs_mkfile:6:1: warning[SC2034]: OPTS appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-156): [#def21]
/usr/bin/xfs_mkfile:28:7: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING: [#def22]
/usr/bin/xfs_ncheck:14:2: warning[SC2213]: getopts specified -b, but it's not handled by this 'case'.
Error: SHELLCHECK_WARNING (CWE-149): [#def23]
/usr/bin/xfs_ncheck:16:20: warning[SC2027]: The surrounding quotes actually unquote this. Remove or escape them.
Error: SHELLCHECK_WARNING (CWE-149): [#def24]
/usr/bin/xfs_ncheck:19:25: warning[SC2027]: The surrounding quotes actually unquote this. Remove or escape them.
Error: SHELLCHECK_WARNING (CWE-88): [#def25]
/usr/bin/xfs_ncheck:29:14: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-563): [#def26]
/usr/bin/xfs_property:8:1: warning[SC2034]: OPTS appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-571): [#def27]
/usr/bin/xfs_property:15:8: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def28]
xfsprogs-6.14.0/db/btblock.c:186:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xfsprogs-6.14.0/db/btblock.c:262:9: branch_true: following ‘true’ branch (when ‘startoff == 0’)...
xfsprogs-6.14.0/db/btblock.c:263:9: branch_true: ...to here
xfsprogs-6.14.0/db/btblock.c:263:9: branch_true: following ‘true’ branch...
xfsprogs-6.14.0/db/btblock.c:265:41: branch_true: ...to here
xfsprogs-6.14.0/db/btblock.c:265:19: call_function: inlined call to ‘btblock_maxrecs’ from ‘btblock_ptr_offset’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def29]
xfsprogs-6.14.0/db/btblock.c:244:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xfsprogs-6.14.0/db/btblock.c:241:9: branch_true: following ‘true’ branch (when ‘startoff == 0’)...
xfsprogs-6.14.0/db/btblock.c:242:9: branch_true: ...to here
xfsprogs-6.14.0/db/btblock.c:242:9: branch_true: following ‘true’ branch...
xfsprogs-6.14.0/db/btblock.c:244:18: branch_true: ...to here
xfsprogs-6.14.0/db/btblock.c:244:18: danger: dereference of NULL ‘block_to_bt(obj)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def30]
xfsprogs-6.14.0/db/btblock.c:289:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xfsprogs-6.14.0/db/btblock.c:286:9: branch_true: following ‘true’ branch (when ‘startoff == 0’)...
xfsprogs-6.14.0/db/btblock.c:287:9: branch_true: ...to here
xfsprogs-6.14.0/db/btblock.c:287:9: branch_true: following ‘true’ branch...
xfsprogs-6.14.0/db/btblock.c:289:18: branch_true: ...to here
xfsprogs-6.14.0/db/btblock.c:289:18: danger: dereference of NULL ‘block_to_bt(obj)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def31]
xfsprogs-6.14.0/db/namei.c:69:20: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xfsprogs-6.14.0/db/namei.c:1118:1: enter_function: entry to ‘link_f’
xfsprogs-6.14.0/db/namei.c:1129:16: branch_true: following ‘true’ branch (when ‘c != -1’)...
xfsprogs-6.14.0/db/namei.c:1130:17: branch_true: ...to here
xfsprogs-6.14.0/db/namei.c:1145:33: call_function: calling ‘path_walk’ from ‘link_f’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def32]
xfsprogs-6.14.0/db/namei.c:108:35: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘xname.name’ where non-null expected
xfsprogs-6.14.0/db/namei.c:1118:1: enter_function: entry to ‘link_f’
xfsprogs-6.14.0/db/namei.c:1129:16: branch_true: following ‘true’ branch (when ‘c != -1’)...
xfsprogs-6.14.0/db/namei.c:1130:17: branch_true: ...to here
xfsprogs-6.14.0/db/namei.c:1145:33: call_function: calling ‘path_walk’ from ‘link_f’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def33]
xfsprogs-6.14.0/db/write.c:753:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘buf’
xfsprogs-6.14.0/db/write.c:738:1: enter_function: entry to ‘write_string’
xfsprogs-6.14.0/db/write.c:746:12: branch_false: following ‘false’ branch (when ‘argc == 1’)...
xfsprogs-6.14.0/db/write.c:751:43: branch_false: ...to here
xfsprogs-6.14.0/db/write.c:751:15: call_function: calling ‘convert_arg’ from ‘write_string’
xfsprogs-6.14.0/db/write.c:751:15: return_function: returning to ‘write_string’ from ‘convert_arg’
xfsprogs-6.14.0/db/write.c:752:21: branch_true: following ‘true’ branch...
xfsprogs-6.14.0/db/write.c:753:26: branch_true: ...to here
xfsprogs-6.14.0/db/write.c:753:48: danger: dereference of NULL ‘buf’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def34]
xfsprogs-6.14.0/fsr/xfs_fsr.c:1210:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘cur_nextents’
xfsprogs-6.14.0/fsr/xfs_fsr.c:1180:1: enter_function: entry to ‘packfile’
xfsprogs-6.14.0/fsr/xfs_fsr.c:1208:20: call_function: calling ‘read_fd_bmap’ from ‘packfile’
xfsprogs-6.14.0/fsr/xfs_fsr.c:1208:20: return_function: returning to ‘packfile’ from ‘read_fd_bmap’
xfsprogs-6.14.0/fsr/xfs_fsr.c:1210:13: danger: use of uninitialized value ‘cur_nextents’ here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def35]
xfsprogs-6.14.0/io/exchrange.c:265:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘path’ where non-null expected
xfsprogs-6.14.0/io/exchrange.c:235:12: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/io/exchrange.c:241:30: branch_false: ...to here
xfsprogs-6.14.0/io/exchrange.c:242:12: branch_false: following ‘false’ branch (when ‘p’ is non-NULL)...
xfsprogs-6.14.0/io/exchrange.c:246:9: branch_false: ...to here
xfsprogs-6.14.0/io/exchrange.c:253:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
xfsprogs-6.14.0/io/exchrange.c:259:25: branch_false: ...to here
xfsprogs-6.14.0/io/exchrange.c:264:16: acquire_memory: this call could return NULL
xfsprogs-6.14.0/io/exchrange.c:265:13: danger: argument 1 (‘path’) from [(8)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/7) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def36]
xfsprogs-6.14.0/io/mmap.c:45:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘map’
xfsprogs-6.14.0/io/mmap.c:501:1: enter_function: entry to ‘munmap_f’
xfsprogs-6.14.0/io/mmap.c:508:12: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/io/mmap.c:513:21: branch_false: ...to here
xfsprogs-6.14.0/io/mmap.c:523:12: branch_true: following ‘true’ branch...
xfsprogs-6.14.0/io/mmap.c:524:45: branch_true: ...to here
xfsprogs-6.14.0/io/mmap.c:533:9: call_function: calling ‘maplist_f’ from ‘munmap_f’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def37]
xfsprogs-6.14.0/io/mmap.c:48:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘map’
xfsprogs-6.14.0/io/mmap.c:501:1: enter_function: entry to ‘munmap_f’
xfsprogs-6.14.0/io/mmap.c:508:12: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/io/mmap.c:513:21: branch_false: ...to here
xfsprogs-6.14.0/io/mmap.c:523:12: branch_true: following ‘true’ branch...
xfsprogs-6.14.0/io/mmap.c:524:45: branch_true: ...to here
xfsprogs-6.14.0/io/mmap.c:533:9: call_function: calling ‘maplist_f’ from ‘munmap_f’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def38]
xfsprogs-6.14.0/io/scrub.c:494:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xfsprogs-6.14.0/io/scrub.c:479:1: enter_function: entry to ‘scrubv_fill_group’
xfsprogs-6.14.0/io/scrub.c:489:42: branch_true: following ‘true’ branch (when ‘i != 33’)...
xfsprogs-6.14.0/io/scrub.c:490:21: branch_true: ...to here
xfsprogs-6.14.0/io/scrub.c:490:20: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/io/scrub.c:493:21: call_function: inlined call to ‘xfrog_scrubv_next_vector’ from ‘scrubv_fill_group’
xfsprogs-6.14.0/io/scrub.c:494:17: branch_true: ...to here
xfsprogs-6.14.0/io/scrub.c:494:17: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def39]
xfsprogs-6.14.0/io/scrub.c:499:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xfsprogs-6.14.0/io/scrub.c:479:1: enter_function: entry to ‘scrubv_fill_group’
xfsprogs-6.14.0/io/scrub.c:489:42: branch_true: following ‘true’ branch (when ‘i != 33’)...
xfsprogs-6.14.0/io/scrub.c:490:21: branch_true: ...to here
xfsprogs-6.14.0/io/scrub.c:490:20: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/io/scrub.c:493:21: call_function: inlined call to ‘xfrog_scrubv_next_vector’ from ‘scrubv_fill_group’
xfsprogs-6.14.0/io/scrub.c:496:20: branch_true: following ‘true’ branch (when ‘barrier_interval != 0’)...
xfsprogs-6.14.0/io/scrub.c:497:21: branch_true: ...to here
xfsprogs-6.14.0/io/scrub.c:496:21: branch_true: following ‘true’ branch...
xfsprogs-6.14.0/io/scrub.c:498:29: call_function: inlined call to ‘xfrog_scrubv_next_vector’ from ‘scrubv_fill_group’
xfsprogs-6.14.0/io/scrub.c:499:25: branch_true: ...to here
xfsprogs-6.14.0/io/scrub.c:499:25: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def40]
xfsprogs-6.14.0/libfrog/bitmap.c:195:21: warning[-Wanalyzer-null-dereference]: dereference of NULL 'pos'
xfsprogs-6.14.0/libfrog/bitmap.c:187:9: branch_true: following 'true' branch...
xfsprogs-6.14.0/libfrog/bitmap.c:191:9: branch_true: following 'true' branch (when 'pos != l')...
xfsprogs-6.14.0/libfrog/bitmap.c:195:21: branch_true: ...to here
xfsprogs-6.14.0/libfrog/bitmap.c:191:9: branch_false: following 'false' branch (when 'n' is NULL)...
branch_false: ...to here
xfsprogs-6.14.0/libfrog/bitmap.c:191:9: branch_true: following 'true' branch (when 'pos != l')...
xfsprogs-6.14.0/libfrog/bitmap.c:195:21: branch_true: ...to here
xfsprogs-6.14.0/libfrog/bitmap.c:195:21: danger: dereference of NULL 'pos'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def41]
xfsprogs-6.14.0/libfrog/bitmap.c:271:21: warning[-Wanalyzer-null-dereference]: dereference of NULL 'pos'
xfsprogs-6.14.0/libfrog/bitmap.c:264:9: branch_true: following 'true' branch...
xfsprogs-6.14.0/libfrog/bitmap.c:267:9: branch_true: following 'true' branch (when 'pos != l')...
xfsprogs-6.14.0/libfrog/bitmap.c:271:21: branch_true: ...to here
xfsprogs-6.14.0/libfrog/bitmap.c:267:9: branch_true: following 'true' branch (when 'pos != l')...
xfsprogs-6.14.0/libfrog/bitmap.c:271:21: branch_true: ...to here
xfsprogs-6.14.0/libfrog/bitmap.c:271:21: danger: dereference of NULL 'pos'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def42]
xfsprogs-6.14.0/libfrog/bitmap.c:304:45: warning[-Wanalyzer-malloc-leak]: leak of 'bitmap_node_init(start + len, new_length)'
xfsprogs-6.14.0/libfrog/bitmap.c:238:1: enter_function: entry to '__bitmap_clear'
xfsprogs-6.14.0/libfrog/bitmap.c:264:9: branch_true: following 'true' branch...
xfsprogs-6.14.0/libfrog/bitmap.c:267:9: branch_true: following 'true' branch (when 'pos != l')...
xfsprogs-6.14.0/libfrog/bitmap.c:271:21: branch_true: ...to here
xfsprogs-6.14.0/libfrog/bitmap.c:298:31: call_function: calling 'bitmap_node_init' from '__bitmap_clear'
xfsprogs-6.14.0/libfrog/bitmap.c:298:31: return_function: returning to '__bitmap_clear' from 'bitmap_node_init'
xfsprogs-6.14.0/libfrog/bitmap.c:299:28: branch_false: following 'false' branch...
xfsprogs-6.14.0/libfrog/bitmap.c:304:60: branch_false: ...to here
xfsprogs-6.14.0/libfrog/bitmap.c:304:45: danger: 'bitmap_node_init(start + len, new_length)' leaks here; was allocated at [(10)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def43]
xfsprogs-6.14.0/libfrog/bitmap.c:383:23: warning[-Wanalyzer-null-dereference]: dereference of NULL 'pos'
xfsprogs-6.14.0/libfrog/bitmap.c:381:9: branch_true: following 'true' branch (when 'pos != l')...
xfsprogs-6.14.0/libfrog/bitmap.c:383:23: branch_true: ...to here
xfsprogs-6.14.0/libfrog/bitmap.c:384:20: branch_false: following 'false' branch...
xfsprogs-6.14.0/libfrog/bitmap.c:381:9: branch_false: ...to here
xfsprogs-6.14.0/libfrog/bitmap.c:381:9: branch_false: following 'false' branch (when 'n' is NULL)...
branch_false: ...to here
xfsprogs-6.14.0/libfrog/bitmap.c:381:9: branch_true: following 'true' branch (when 'pos != l')...
xfsprogs-6.14.0/libfrog/bitmap.c:383:23: branch_true: ...to here
xfsprogs-6.14.0/libfrog/bitmap.c:383:23: danger: dereference of NULL 'pos'
Error: GCC_ANALYZER_WARNING (CWE-122): [#def44]
xfsprogs-6.14.0/libfrog/histogram.c:137:9: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
xfsprogs-6.14.0/libfrog/histogram.c:119:9: branch_true: following 'true' branch...
xfsprogs-6.14.0/libfrog/histogram.c:121:15: branch_true: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:122:12: branch_false: following 'false' branch (when 'cdf' is non-NULL)...
xfsprogs-6.14.0/libfrog/histogram.c:124:9: branch_false: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:126:12: branch_false: following 'false' branch...
xfsprogs-6.14.0/libfrog/histogram.c:131:24: branch_false: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:132:12: branch_false: following 'false' branch...
xfsprogs-6.14.0/libfrog/histogram.c:137:34: branch_false: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:137:9: danger: write of 8 bytes at offset '(long unsigned int)(*hs.nr_buckets + 4294967295) * 32 + 16' exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-122): [#def45]
xfsprogs-6.14.0/libfrog/histogram.c:138:9: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
xfsprogs-6.14.0/libfrog/histogram.c:119:9: branch_true: following 'true' branch...
xfsprogs-6.14.0/libfrog/histogram.c:121:15: branch_true: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:122:12: branch_false: following 'false' branch (when 'cdf' is non-NULL)...
xfsprogs-6.14.0/libfrog/histogram.c:124:9: branch_false: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:126:12: branch_false: following 'false' branch...
xfsprogs-6.14.0/libfrog/histogram.c:131:24: branch_false: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:132:12: branch_false: following 'false' branch...
xfsprogs-6.14.0/libfrog/histogram.c:137:34: branch_false: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:138:9: danger: write of 8 bytes at offset '(long unsigned int)(*hs.nr_buckets + 4294967295) * 32 + 24' exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-122): [#def46]
xfsprogs-6.14.0/libfrog/histogram.c:142:17: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
xfsprogs-6.14.0/libfrog/histogram.c:119:9: branch_true: following 'true' branch...
xfsprogs-6.14.0/libfrog/histogram.c:121:15: branch_true: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:122:12: branch_false: following 'false' branch (when 'cdf' is non-NULL)...
xfsprogs-6.14.0/libfrog/histogram.c:124:9: branch_false: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:126:12: branch_false: following 'false' branch...
xfsprogs-6.14.0/libfrog/histogram.c:131:24: branch_false: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:132:12: branch_false: following 'false' branch...
xfsprogs-6.14.0/libfrog/histogram.c:137:34: branch_false: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:141:16: branch_true: following 'true' branch (when 'i != -1')...
xfsprogs-6.14.0/libfrog/histogram.c:142:42: branch_true: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:142:17: danger: write of 8 bytes at offset '(long unsigned int)(int)(*hs.nr_buckets + 4294967294) * 32 + 16' exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-122): [#def47]
xfsprogs-6.14.0/libfrog/histogram.c:143:41: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
xfsprogs-6.14.0/libfrog/histogram.c:119:9: branch_true: following 'true' branch...
xfsprogs-6.14.0/libfrog/histogram.c:121:15: branch_true: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:122:12: branch_false: following 'false' branch (when 'cdf' is non-NULL)...
xfsprogs-6.14.0/libfrog/histogram.c:124:9: branch_false: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:126:12: branch_false: following 'false' branch...
xfsprogs-6.14.0/libfrog/histogram.c:131:24: branch_false: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:132:12: branch_false: following 'false' branch...
xfsprogs-6.14.0/libfrog/histogram.c:137:34: branch_false: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:141:16: branch_true: following 'true' branch (when 'i != -1')...
xfsprogs-6.14.0/libfrog/histogram.c:142:42: branch_true: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:143:41: danger: read of 8 bytes at offset '(long unsigned int)(int)(*hs.nr_buckets + 4294967294) * 32 + 48' exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-122): [#def48]
xfsprogs-6.14.0/libfrog/histogram.c:145:17: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
xfsprogs-6.14.0/libfrog/histogram.c:119:9: branch_true: following 'true' branch...
xfsprogs-6.14.0/libfrog/histogram.c:121:15: branch_true: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:122:12: branch_false: following 'false' branch (when 'cdf' is non-NULL)...
xfsprogs-6.14.0/libfrog/histogram.c:124:9: branch_false: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:126:12: branch_false: following 'false' branch...
xfsprogs-6.14.0/libfrog/histogram.c:131:24: branch_false: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:132:12: branch_false: following 'false' branch...
xfsprogs-6.14.0/libfrog/histogram.c:137:34: branch_false: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:141:16: branch_true: following 'true' branch (when 'i != -1')...
xfsprogs-6.14.0/libfrog/histogram.c:142:42: branch_true: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:145:17: danger: write of 8 bytes at offset '(long unsigned int)(int)(*hs.nr_buckets + 4294967294) * 32 + 24' exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-122): [#def49]
xfsprogs-6.14.0/libfrog/histogram.c:146:41: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
xfsprogs-6.14.0/libfrog/histogram.c:119:9: branch_true: following 'true' branch...
xfsprogs-6.14.0/libfrog/histogram.c:121:15: branch_true: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:122:12: branch_false: following 'false' branch (when 'cdf' is non-NULL)...
xfsprogs-6.14.0/libfrog/histogram.c:124:9: branch_false: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:126:12: branch_false: following 'false' branch...
xfsprogs-6.14.0/libfrog/histogram.c:131:24: branch_false: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:132:12: branch_false: following 'false' branch...
xfsprogs-6.14.0/libfrog/histogram.c:137:34: branch_false: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:141:16: branch_true: following 'true' branch (when 'i != -1')...
xfsprogs-6.14.0/libfrog/histogram.c:142:42: branch_true: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:146:41: danger: read of 8 bytes at offset '(long unsigned int)(int)(*hs.nr_buckets + 4294967294) * 32 + 56' exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-476): [#def50]
xfsprogs-6.14.0/libfrog/histogram.c:216:33: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
xfsprogs-6.14.0/libfrog/histogram.c:164:1: enter_function: entry to 'hist_print'
xfsprogs-6.14.0/libfrog/histogram.c:174:15: call_function: calling 'hist_cdf' from 'hist_print'
xfsprogs-6.14.0/libfrog/histogram.c:174:15: return_function: returning to 'hist_print' from 'hist_cdf'
xfsprogs-6.14.0/libfrog/histogram.c:175:12: branch_false: following 'false' branch...
branch_false: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:180:21: branch_false: following 'false' branch...
xfsprogs-6.14.0/libfrog/histogram.c:199:9: branch_false: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:205:21: branch_true: following 'true' branch...
xfsprogs-6.14.0/libfrog/histogram.c:206:21: branch_true: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:206:20: branch_false: following 'false' branch...
xfsprogs-6.14.0/libfrog/histogram.c:216:33: branch_false: ...to here
xfsprogs-6.14.0/libfrog/histogram.c:216:33: release_memory: '0' is NULL
xfsprogs-6.14.0/libfrog/histogram.c:216:45: release_memory: '0' is NULL
xfsprogs-6.14.0/libfrog/histogram.c:216:33: danger: dereference of NULL '*<unknown>.buckets + (long unsigned int)i * 32'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def51]
xfsprogs-6.14.0/libfrog/list_sort.c:75:17: warning[-Wanalyzer-null-dereference]: dereference of NULL 'list'
xfsprogs-6.14.0/libfrog/list_sort.c:97:6: enter_function: entry to 'list_sort'
xfsprogs-6.14.0/libfrog/list_sort.c:105:12: branch_false: following 'false' branch...
xfsprogs-6.14.0/libfrog/list_sort.c:108:9: branch_false: ...to here
xfsprogs-6.14.0/libfrog/list_sort.c:110:9: release_memory: '0' is NULL
xfsprogs-6.14.0/libfrog/list_sort.c:113:16: branch_false: following 'false' branch (when 'list' is NULL)...
branch_false: ...to here
xfsprogs-6.14.0/libfrog/list_sort.c:131:23: branch_false: following 'false' branch (when 'lev >= max_lev')...
xfsprogs-6.14.0/libfrog/list_sort.c:135:9: branch_false: ...to here
xfsprogs-6.14.0/libfrog/list_sort.c:135:9: release_memory: 'list' is NULL
xfsprogs-6.14.0/libfrog/list_sort.c:135:9: call_function: calling 'merge_and_restore_back_links' from 'list_sort'
Error: GCC_ANALYZER_WARNING (CWE-835): [#def52]
xfsprogs-6.14.0/libfrog/radix-tree.c:534:16: warning[-Wanalyzer-infinite-loop]: infinite loop
xfsprogs-6.14.0/libfrog/radix-tree.c:527:1: enter_function: entry to 'radix_tree_gang_lookup'
xfsprogs-6.14.0/libfrog/radix-tree.c:534:16: danger: infinite loop here
xfsprogs-6.14.0/libfrog/radix-tree.c:534:16: branch_true: when 'ret < max_items': always following 'true' branch...
xfsprogs-6.14.0/libfrog/radix-tree.c:538:20: branch_true: ...to here
xfsprogs-6.14.0/libfrog/radix-tree.c:538:20: branch_false: if it ever follows 'false' branch, it will always do so...
xfsprogs-6.14.0/libfrog/radix-tree.c:540:28: branch_false: ...to here
xfsprogs-6.14.0/libfrog/radix-tree.c:543:20: branch_false: if it ever follows 'false' branch, it will always do so...
branch_false: ...to here
Error: GCC_ANALYZER_WARNING (CWE-835): [#def53]
xfsprogs-6.14.0/libfrog/radix-tree.c:574:16: warning[-Wanalyzer-infinite-loop]: infinite loop
xfsprogs-6.14.0/libfrog/radix-tree.c:566:1: enter_function: entry to 'radix_tree_gang_lookup_ex'
xfsprogs-6.14.0/libfrog/radix-tree.c:574:16: danger: infinite loop here
xfsprogs-6.14.0/libfrog/radix-tree.c:574:16: branch_true: if it ever follows 'true' branch, it will always do so...
xfsprogs-6.14.0/libfrog/radix-tree.c:578:20: branch_true: ...to here
xfsprogs-6.14.0/libfrog/radix-tree.c:578:20: branch_false: if it ever follows 'false' branch, it will always do so...
xfsprogs-6.14.0/libfrog/radix-tree.c:580:28: branch_false: ...to here
xfsprogs-6.14.0/libfrog/radix-tree.c:583:20: branch_false: if it ever follows 'false' branch, it will always do so...
branch_false: ...to here
Error: CPPCHECK_WARNING (CWE-758): [#def54]
xfsprogs-6.14.0/libfrog/util.c:20: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-401): [#def55]
xfsprogs-6.14.0/libxcmd/input.c:108:16: warning[-Wanalyzer-malloc-leak]: leak of 'rval'
xfsprogs-6.14.0/libxcmd/input.c:93:26: acquire_memory: allocated here
xfsprogs-6.14.0/libxcmd/input.c:95:16: branch_true: following 'true' branch...
xfsprogs-6.14.0/libxcmd/input.c:96:20: branch_false: following 'false' branch...
xfsprogs-6.14.0/libxcmd/input.c:98:17: branch_false: ...to here
xfsprogs-6.14.0/libxcmd/input.c:100:20: branch_false: following 'false' branch (when 'rval' is non-NULL)...
xfsprogs-6.14.0/libxcmd/input.c:104:21: branch_false: ...to here
xfsprogs-6.14.0/libxcmd/input.c:95:16: branch_true: following 'true' branch...
xfsprogs-6.14.0/libxcmd/input.c:96:20: branch_false: following 'false' branch...
xfsprogs-6.14.0/libxcmd/input.c:98:17: branch_false: ...to here
xfsprogs-6.14.0/libxcmd/input.c:100:20: branch_true: following 'true' branch (when 'rval' is NULL)...
xfsprogs-6.14.0/libxcmd/input.c:107:9: branch_true: ...to here
xfsprogs-6.14.0/libxcmd/input.c:108:16: danger: 'rval' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def56]
xfsprogs-6.14.0/libxfs/./xfs_inode_fork.h:84:16: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
xfsprogs-6.14.0/libxfs/xfs_bmap.c:6417:1: enter_function: entry to 'xfs_bunmapi_range'
xfsprogs-6.14.0/libxfs/xfs_bmap.c:6429:16: branch_true: following 'true' branch...
xfsprogs-6.14.0/libxfs/xfs_bmap.c:6431:25: branch_true: ...to here
xfsprogs-6.14.0/libxfs/xfs_bmap.c:6431:25: call_function: calling '__xfs_bunmapi' from 'xfs_bunmapi_range'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def57]
xfsprogs-6.14.0/libxfs/xfs_ag_resv.c:142:52: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
xfsprogs-6.14.0/libxfs/xfs_ag_resv.c:131:1: enter_function: entry to '__xfs_ag_resv_free'
xfsprogs-6.14.0/libxfs/xfs_ag_resv.c:140:16: call_function: inlined call to 'xfs_perag_resv' from '__xfs_ag_resv_free'
xfsprogs-6.14.0/libxfs/xfs_ag_resv.c:141:13: call_function: inlined call to 'pag_agno' from '__xfs_ag_resv_free'
xfsprogs-6.14.0/libxfs/xfs_ag_resv.c:141:12: branch_true: following 'true' branch...
xfsprogs-6.14.0/libxfs/xfs_ag_resv.c:142:17: call_function: inlined call to 'pag_mount' from '__xfs_ag_resv_free'
xfsprogs-6.14.0/libxfs/xfs_ag_resv.c:142:52: danger: dereference of NULL '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def58]
xfsprogs-6.14.0/libxfs/xfs_ag_resv.c:151:17: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
xfsprogs-6.14.0/libxfs/xfs_ag_resv.c:131:1: enter_function: entry to '__xfs_ag_resv_free'
xfsprogs-6.14.0/libxfs/xfs_ag_resv.c:140:16: call_function: inlined call to 'xfs_perag_resv' from '__xfs_ag_resv_free'
xfsprogs-6.14.0/libxfs/xfs_ag_resv.c:141:13: call_function: inlined call to 'pag_agno' from '__xfs_ag_resv_free'
xfsprogs-6.14.0/libxfs/xfs_ag_resv.c:141:12: branch_false: following 'false' branch...
xfsprogs-6.14.0/libxfs/xfs_ag_resv.c:148:12: branch_false: ...to here
xfsprogs-6.14.0/libxfs/xfs_ag_resv.c:148:12: branch_false: following 'false' branch (when 'type != 3')...
xfsprogs-6.14.0/libxfs/xfs_ag_resv.c:151:17: branch_false: ...to here
xfsprogs-6.14.0/libxfs/xfs_ag_resv.c:151:17: danger: dereference of NULL '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def59]
xfsprogs-6.14.0/libxfs/xfs_alloc.c:2945:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'bno'
xfsprogs-6.14.0/libxfs/xfs_alloc.c:3940:1: enter_function: entry to 'xfs_free_extent_fix_freelist'
xfsprogs-6.14.0/libxfs/xfs_alloc.c:3958:12: branch_false: following 'false' branch...
xfsprogs-6.14.0/libxfs/xfs_alloc.c:3961:17: branch_false: ...to here
xfsprogs-6.14.0/libxfs/xfs_alloc.c:3961:17: call_function: calling 'libxfs_alloc_fix_freelist' from 'xfs_free_extent_fix_freelist'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def60]
xfsprogs-6.14.0/libxfs/xfs_alloc.c:4004:9: warning[-Wanalyzer-null-dereference]: dereference of NULL 'agbp'
xfsprogs-6.14.0/libxfs/xfs_alloc.c:3975:1: enter_function: entry to '__xfs_free_extent'
xfsprogs-6.14.0/libxfs/xfs_alloc.c:3997:17: call_function: calling 'xfs_free_extent_fix_freelist' from '__xfs_free_extent'
xfsprogs-6.14.0/libxfs/xfs_alloc.c:3997:17: return_function: returning to '__xfs_free_extent' from 'xfs_free_extent_fix_freelist'
xfsprogs-6.14.0/libxfs/xfs_alloc.c:3998:12: branch_false: following 'false' branch...
xfsprogs-6.14.0/libxfs/xfs_alloc.c:4004:19: branch_false: ...to here
xfsprogs-6.14.0/libxfs/xfs_alloc.c:4004:19: release_memory: 'agbp' is NULL
xfsprogs-6.14.0/libxfs/xfs_alloc.c:4004:9: danger: dereference of NULL 'agbp'
Error: GCC_ANALYZER_WARNING (CWE-126): [#def61]
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:431:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:416:16: branch_true: following 'true' branch...
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:417:17: branch_true: ...to here
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:421:20: branch_false: following 'false' branch...
branch_false: ...to here
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:425:29: branch_true: following 'true' branch...
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:431:34: branch_true: ...to here
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:437:28: branch_false: following 'false' branch...
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:440:33: branch_false: ...to here
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:443:28: branch_false: following 'false' branch...
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:447:35: branch_false: ...to here
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:425:29: branch_true: following 'true' branch...
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:431:34: danger: out-of-bounds read from byte 40 till byte 47 but 'map' ends at byte 32
Error: GCC_ANALYZER_WARNING (CWE-126): [#def62]
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:432:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:416:16: branch_true: following 'true' branch...
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:417:17: branch_true: ...to here
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:421:20: branch_false: following 'false' branch...
branch_false: ...to here
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:425:29: branch_true: following 'true' branch...
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:431:34: branch_true: ...to here
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:437:28: branch_false: following 'false' branch...
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:440:33: branch_false: ...to here
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:443:28: branch_false: following 'false' branch...
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:447:35: branch_false: ...to here
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:425:29: branch_true: following 'true' branch...
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:432:35: danger: out-of-bounds read from byte 48 till byte 55 but 'map' ends at byte 32
Error: GCC_ANALYZER_WARNING (CWE-126): [#def63]
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:447:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:416:16: branch_true: following 'true' branch...
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:417:17: branch_true: ...to here
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:421:20: branch_false: following 'false' branch...
branch_false: ...to here
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:425:29: branch_true: following 'true' branch...
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:431:34: branch_true: ...to here
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:437:28: branch_false: following 'false' branch...
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:440:33: branch_false: ...to here
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:443:28: branch_false: following 'false' branch...
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:447:35: branch_false: ...to here
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:425:29: branch_true: following 'true' branch...
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:437:28: branch_false: following 'false' branch...
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:440:33: branch_false: ...to here
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:443:28: branch_false: following 'false' branch...
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:447:35: branch_false: ...to here
xfsprogs-6.14.0/libxfs/xfs_attr_remote.c:447:35: danger: out-of-bounds read from byte 48 till byte 55 but 'map' ends at byte 32
Error: GCC_ANALYZER_WARNING (CWE-457): [#def64]
xfsprogs-6.14.0/libxfs/xfs_bmap.h:152:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'irec1.br_startblock'
xfsprogs-6.14.0/libxfs/xfs_exchmaps.c:1030:1: enter_function: entry to 'xfs_exchmaps_estimate'
xfsprogs-6.14.0/libxfs/xfs_exchmaps.c:1044:15: call_function: calling 'xfs_exchmaps_init_intent' from 'xfs_exchmaps_estimate'
xfsprogs-6.14.0/libxfs/xfs_exchmaps.c:1044:15: return_function: returning to 'xfs_exchmaps_estimate' from 'xfs_exchmaps_init_intent'
xfsprogs-6.14.0/libxfs/xfs_exchmaps.c:1055:16: branch_true: following 'true' branch...
xfsprogs-6.14.0/libxfs/xfs_exchmaps.c:1062:25: branch_true: ...to here
xfsprogs-6.14.0/libxfs/xfs_exchmaps.c:1062:25: call_function: calling 'xfs_exchmaps_find_mappings' from 'xfs_exchmaps_estimate'
xfsprogs-6.14.0/libxfs/xfs_exchmaps.c:1062:25: return_function: returning to 'xfs_exchmaps_estimate' from 'xfs_exchmaps_find_mappings'
xfsprogs-6.14.0/libxfs/xfs_exchmaps.c:1063:20: branch_false: following 'false' branch...
xfsprogs-6.14.0/libxfs/xfs_exchmaps.c:1065:22: call_function: inlined call to 'xmi_has_more_exchange_work' from 'xfs_exchmaps_estimate'
xfsprogs-6.14.0/libxfs/xfs_exchmaps.c:1065:20: branch_false: following 'false' branch...
xfsprogs-6.14.0/libxfs/xfs_exchmaps.c:1069:21: call_function: inlined call to 'xfs_bmap_is_real_extent' from 'xfs_exchmaps_estimate'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def65]
xfsprogs-6.14.0/libxfs/xfs_bmap_btree.c:561:44: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def66]
xfsprogs-6.14.0/libxfs/xfs_bmap_btree.c:695:35: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
xfsprogs-6.14.0/libxfs/xfs_bmap_btree.c:692:12: branch_true: following 'true' branch (when 'whichfork != -1')...
xfsprogs-6.14.0/libxfs/xfs_bmap_btree.c:693:48: branch_true: ...to here
xfsprogs-6.14.0/libxfs/xfs_bmap_btree.c:695:35: danger: dereference of NULL 'xfs_ifork_ptr(ip, whichfork)'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def67]
xfsprogs-6.14.0/libxfs/xfs_bmap_btree.c:738:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def68]
xfsprogs-6.14.0/libxfs/xfs_btree.c:834:16: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
xfsprogs-6.14.0/libxfs/xfs_btree.c:842:1: enter_function: entry to 'libxfs_btree_get_block'
xfsprogs-6.14.0/libxfs/xfs_btree.c:849:24: call_function: inlined call to 'xfs_btree_get_iroot' from 'libxfs_btree_get_block'
xfsprogs-6.14.0/libxfs/xfs_btree.c:849:24: call_function: inlined call to 'xfs_btree_get_iroot' from 'libxfs_btree_get_block'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def69]
xfsprogs-6.14.0/libxfs/xfs_btree.h:430:16: warning[-Wanalyzer-null-dereference]: dereference of NULL 'block'
xfsprogs-6.14.0/libxfs/xfs_btree.c:5561:1: enter_function: entry to 'libxfs_btree_goto_left_edge'
xfsprogs-6.14.0/libxfs/xfs_btree.c:5568:17: call_function: calling 'libxfs_btree_lookup' from 'libxfs_btree_goto_left_edge'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def70]
xfsprogs-6.14.0/libxfs/xfs_dir2_block.c:1242:32: warning[-Wanalyzer-null-dereference]: dereference of NULL 'sfep'
xfsprogs-6.14.0/libxfs/xfs_dir2_block.c:1127:12: branch_false: following 'false' branch...
xfsprogs-6.14.0/libxfs/xfs_dir2_block.c:1132:17: branch_false: ...to here
xfsprogs-6.14.0/libxfs/xfs_dir2_block.c:1133:12: branch_false: following 'false' branch...
xfsprogs-6.14.0/libxfs/xfs_dir2_block.c:1135:9: branch_false: ...to here
xfsprogs-6.14.0/libxfs/xfs_dir2_block.c:1151:12: branch_false: following 'false' branch...
xfsprogs-6.14.0/libxfs/xfs_dir2_block.c:1157:15: branch_false: ...to here
xfsprogs-6.14.0/libxfs/xfs_dir2_block.c:1168:12: branch_false: following 'false' branch...
xfsprogs-6.14.0/libxfs/xfs_dir2_block.c:1174:17: branch_false: ...to here
xfsprogs-6.14.0/libxfs/xfs_dir2_block.c:1205:12: branch_true: following 'true' branch...
branch_true: ...to here
xfsprogs-6.14.0/libxfs/xfs_dir2_block.c:1214:16: branch_true: following 'true' branch...
xfsprogs-6.14.0/libxfs/xfs_dir2_block.c:1218:20: branch_true: ...to here
xfsprogs-6.14.0/libxfs/xfs_dir2_block.c:1218:20: branch_true: following 'true' branch (when 'sfep' is NULL)...
xfsprogs-6.14.0/libxfs/xfs_dir2_block.c:1225:21: branch_true: ...to here
xfsprogs-6.14.0/libxfs/xfs_dir2_block.c:1225:20: branch_false: following 'false' branch...
xfsprogs-6.14.0/libxfs/xfs_dir2_block.c:1240:25: branch_false: ...to here
xfsprogs-6.14.0/libxfs/xfs_dir2_block.c:1242:32: danger: dereference of NULL 'sfep'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def71]
xfsprogs-6.14.0/libxfs/xfs_exchmaps.c:878:13: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
xfsprogs-6.14.0/libxfs/xfs_exchmaps.c:859:1: enter_function: entry to 'xmi_ensure_delta_nextents'
xfsprogs-6.14.0/libxfs/xfs_exchmaps.c:866:40: call_function: calling 'xfs_ifork_ptr' from 'xmi_ensure_delta_nextents'
xfsprogs-6.14.0/libxfs/xfs_exchmaps.c:866:40: return_function: returning to 'xmi_ensure_delta_nextents' from 'xfs_ifork_ptr'
xfsprogs-6.14.0/libxfs/xfs_exchmaps.c:870:12: branch_false: following 'false' branch (when 'delta >= 0')...
xfsprogs-6.14.0/libxfs/xfs_exchmaps.c:878:13: branch_false: ...to here
xfsprogs-6.14.0/libxfs/xfs_exchmaps.c:878:13: danger: dereference of NULL 'xfs_ifork_ptr(ip, <unknown>)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def72]
xfsprogs-6.14.0/libxfs/xfs_inode_fork.c:62:17: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
xfsprogs-6.14.0/libxfs/xfs_inode_fork.c:54:12: branch_true: following 'true' branch (when 'size != 0')...
xfsprogs-6.14.0/libxfs/xfs_inode_fork.c:55:34: branch_true: ...to here
xfsprogs-6.14.0/libxfs/xfs_inode_fork.c:59:20: branch_false: following 'false' branch...
xfsprogs-6.14.0/libxfs/xfs_inode_fork.c:62:17: branch_false: ...to here
xfsprogs-6.14.0/libxfs/xfs_inode_fork.c:62:17: danger: dereference of NULL 'xfs_ifork_ptr(ip, whichfork)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def73]
xfsprogs-6.14.0/libxfs/xfs_inode_fork.c:64:17: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
xfsprogs-6.14.0/libxfs/xfs_inode_fork.c:54:12: branch_false: following 'false' branch (when 'size == 0')...
xfsprogs-6.14.0/libxfs/xfs_inode_fork.c:64:17: branch_false: ...to here
xfsprogs-6.14.0/libxfs/xfs_inode_fork.c:64:17: danger: dereference of NULL 'xfs_ifork_ptr(ip, whichfork)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def74]
xfsprogs-6.14.0/libxfs/xfs_inode_fork.c:135:9: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
xfsprogs-6.14.0/libxfs/xfs_inode_fork.c:125:12: branch_false: following 'false' branch...
xfsprogs-6.14.0/libxfs/xfs_inode_fork.c:135:9: danger: dereference of NULL 'xfs_ifork_ptr(ip, whichfork)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def75]
xfsprogs-6.14.0/libxfs/xfs_inode_fork.c:199:13: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def76]
xfsprogs-6.14.0/libxfs/xfs_inode_fork.c:457:44: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def77]
xfsprogs-6.14.0/libxfs/xfs_inode_fork.c:753:19: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
xfsprogs-6.14.0/libxfs/xfs_inode_fork.c:749:12: branch_false: following 'false' branch (when 'whichfork != 2')...
xfsprogs-6.14.0/libxfs/xfs_inode_fork.c:753:19: branch_false: ...to here
xfsprogs-6.14.0/libxfs/xfs_inode_fork.c:753:19: danger: dereference of NULL 'xfs_ifork_ptr(ip, whichfork)'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def78]
xfsprogs-6.14.0/logprint/log_misc.c:1419:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘len’
xfsprogs-6.14.0/logprint/log_misc.c:1337:6: enter_function: entry to ‘xfs_log_print’
xfsprogs-6.14.0/logprint/log_misc.c:1360:8: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/logprint/log_misc.c:1364:8: branch_false: ...to here
xfsprogs-6.14.0/logprint/log_misc.c:1368:5: call_function: calling ‘xlog_print_lseek’ from ‘xfs_log_print’
xfsprogs-6.14.0/logprint/log_misc.c:1368:5: return_function: returning to ‘xfs_log_print’ from ‘xlog_print_lseek’
xfsprogs-6.14.0/logprint/log_misc.c:1372:12: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/logprint/log_misc.c:1377:13: branch_false: ...to here
xfsprogs-6.14.0/logprint/log_misc.c:1386:12: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/logprint/log_misc.c:1396:13: branch_false: ...to here
xfsprogs-6.14.0/logprint/log_misc.c:1418:12: branch_true: following ‘true’ branch...
xfsprogs-6.14.0/logprint/log_misc.c:1419:17: branch_true: ...to here
xfsprogs-6.14.0/logprint/log_misc.c:1419:17: danger: use of uninitialized value ‘len’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def79]
xfsprogs-6.14.0/logprint/log_misc.c:1423:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘len’
xfsprogs-6.14.0/logprint/log_misc.c:1337:6: enter_function: entry to ‘xfs_log_print’
xfsprogs-6.14.0/logprint/log_misc.c:1360:8: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/logprint/log_misc.c:1364:8: branch_false: ...to here
xfsprogs-6.14.0/logprint/log_misc.c:1368:5: call_function: calling ‘xlog_print_lseek’ from ‘xfs_log_print’
xfsprogs-6.14.0/logprint/log_misc.c:1368:5: return_function: returning to ‘xfs_log_print’ from ‘xlog_print_lseek’
xfsprogs-6.14.0/logprint/log_misc.c:1372:12: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/logprint/log_misc.c:1377:13: branch_false: ...to here
xfsprogs-6.14.0/logprint/log_misc.c:1386:12: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/logprint/log_misc.c:1396:13: branch_false: ...to here
xfsprogs-6.14.0/logprint/log_misc.c:1418:12: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/logprint/log_misc.c:1423:17: branch_false: ...to here
xfsprogs-6.14.0/logprint/log_misc.c:1423:17: danger: use of uninitialized value ‘len’ here
Error: GCC_ANALYZER_WARNING (CWE-617): [#def80]
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:52:9: warning[-Wanalyzer-tainted-assertion]: use of attacked-controlled value in condition for assertion
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:396:1: enter_function: entry to ‘restore_v2’
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:412:12: branch_false: following ‘false’ branch (when ‘block_buffer’ is non-NULL)...
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:415:13: branch_false: ...to here
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:415:12: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:418:13: branch_false: ...to here
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:421:17: call_function: calling ‘fatal’ from ‘restore_v2’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def81]
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:132:13: warning[-Wanalyzer-null-argument]: use of NULL ‘path’ where non-null expected
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:514:1: enter_function: entry to ‘main’
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:559:12: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:563:14: branch_false: ...to here
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:578:20: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:582:13: branch_false: ...to here
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:582:12: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:585:17: branch_false: ...to here
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:603:12: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:610:9: branch_false: ...to here
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:613:9: call_function: calling ‘open_device’ from ‘main’
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:613:9: return_function: returning to ‘main’ from ‘open_device’
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:616:12: branch_true: following ‘true’ branch...
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:617:17: branch_true: ...to here
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:617:17: call_function: calling ‘open_device’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-617): [#def82]
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:421:17: warning[-Wanalyzer-tainted-assertion]: use of attacked-controlled value in condition for assertion
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:412:12: branch_false: following ‘false’ branch (when ‘block_buffer’ is non-NULL)...
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:415:13: branch_false: ...to here
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:415:12: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:418:13: branch_false: ...to here
xfsprogs-6.14.0/mdrestore/xfs_mdrestore.c:421:17: danger: treating ‘fatal’ as an assertion failure handler due to ‘__attribute__((__noreturn__))’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def83]
xfsprogs-6.14.0/mkfs/proto.c:49:13: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xfsprogs-6.14.0/mkfs/proto.c:933:1: enter_function: entry to ‘parse_proto’
xfsprogs-6.14.0/mkfs/proto.c:940:9: call_function: calling ‘parseproto’ from ‘parse_proto’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def84]
xfsprogs-6.14.0/mkfs/proto.c:695:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘fname’
xfsprogs-6.14.0/mkfs/proto.c:933:1: enter_function: entry to ‘parse_proto’
xfsprogs-6.14.0/mkfs/proto.c:940:9: call_function: calling ‘parseproto’ from ‘parse_proto’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def85]
xfsprogs-6.14.0/quota/edit.c:342:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
xfsprogs-6.14.0/quota/edit.c:336:16: branch_true: following ‘true’ branch...
xfsprogs-6.14.0/quota/edit.c:337:21: branch_true: ...to here
xfsprogs-6.14.0/quota/edit.c:337:20: branch_true: following ‘true’ branch...
xfsprogs-6.14.0/quota/edit.c:342:25: branch_true: ...to here
xfsprogs-6.14.0/quota/edit.c:342:25: danger: out-of-bounds read from byte 512 till byte 515 but ‘buffer’ ends at byte 512
Error: GCC_ANALYZER_WARNING (CWE-476): [#def86]
xfsprogs-6.14.0/repair/agbtree.c:416:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xfsprogs-6.14.0/repair/agbtree.c:395:1: enter_function: entry to ‘get_inobt_records’
xfsprogs-6.14.0/repair/agbtree.c:406:16: branch_true: following ‘true’ branch (when ‘loaded < nr_wanted’)...
xfsprogs-6.14.0/repair/agbtree.c:413:42: branch_true: ...to here
xfsprogs-6.14.0/repair/agbtree.c:413:42: call_function: calling ‘get_ino_rec’ from ‘get_inobt_records’
xfsprogs-6.14.0/repair/agbtree.c:413:42: return_function: returning to ‘get_inobt_records’ from ‘get_ino_rec’
xfsprogs-6.14.0/repair/agbtree.c:413:17: release_memory: ‘0’ is NULL
xfsprogs-6.14.0/repair/agbtree.c:416:37: danger: dereference of NULL ‘get_ino_rec(cur, *(struct bt_rebuild *)priv.<U1000>.<Ubf00>.ino_rec)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def87]
xfsprogs-6.14.0/repair/attr_repair.c:70:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘map’
xfsprogs-6.14.0/repair/attr_repair.c:1316:1: enter_function: entry to ‘process_attributes’
xfsprogs-6.14.0/repair/attr_repair.c:1329:12: branch_false: following ‘false’ branch (when ‘aformat != 1’)...
xfsprogs-6.14.0/repair/attr_repair.c:1333:20: branch_false: ...to here
xfsprogs-6.14.0/repair/attr_repair.c:1333:19: branch_true: following ‘true’ branch...
xfsprogs-6.14.0/repair/attr_repair.c:1335:31: branch_true: ...to here
xfsprogs-6.14.0/repair/attr_repair.c:1335:31: call_function: calling ‘process_longform_attr’ from ‘process_attributes’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def88]
xfsprogs-6.14.0/repair/incore.h:335:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xfsprogs-6.14.0/repair/rmap.c:1531:1: enter_function: entry to ‘record_inode_reflink_flag’
xfsprogs-6.14.0/repair/rmap.c:1541:9: branch_true: following ‘true’ branch...
xfsprogs-6.14.0/repair/rmap.c:1542:15: branch_true: ...to here
xfsprogs-6.14.0/repair/rmap.c:1542:12: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/repair/rmap.c:1544:16: branch_false: ...to here
xfsprogs-6.14.0/repair/rmap.c:1544:16: call_function: calling ‘find_inode_rec’ from ‘record_inode_reflink_flag’
xfsprogs-6.14.0/repair/rmap.c:1544:16: return_function: returning to ‘record_inode_reflink_flag’ from ‘find_inode_rec’
xfsprogs-6.14.0/repair/rmap.c:1545:15: call_function: inlined call to ‘get_inode_offset’ from ‘record_inode_reflink_flag’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
xfsprogs-6.14.0/repair/incore_ext.c:276:9: warning[-Wanalyzer-malloc-leak]: leak of ‘mk_extent_tree_nodes(startblock, blockcount, 2)’
xfsprogs-6.14.0/repair/incore_ext.c:263:1: enter_function: entry to ‘add_bcnt_extent’
xfsprogs-6.14.0/repair/incore_ext.c:271:9: branch_true: following ‘true’ branch...
xfsprogs-6.14.0/repair/incore_ext.c:272:9: branch_true: ...to here
xfsprogs-6.14.0/repair/incore_ext.c:272:9: branch_true: following ‘true’ branch...
xfsprogs-6.14.0/repair/incore_ext.c:274:15: branch_true: ...to here
xfsprogs-6.14.0/repair/incore_ext.c:274:15: call_function: calling ‘mk_extent_tree_nodes’ from ‘add_bcnt_extent’
xfsprogs-6.14.0/repair/incore_ext.c:274:15: return_function: returning to ‘add_bcnt_extent’ from ‘mk_extent_tree_nodes’
xfsprogs-6.14.0/repair/incore_ext.c:276:9: branch_true: following ‘true’ branch...
xfsprogs-6.14.0/repair/incore_ext.c:282:47: branch_true: ...to here
xfsprogs-6.14.0/repair/incore_ext.c:282:12: branch_true: following ‘true’ branch...
xfsprogs-6.14.0/repair/incore_ext.c:295:17: branch_true: ...to here
xfsprogs-6.14.0/repair/incore_ext.c:276:9: danger: ‘mk_extent_tree_nodes(startblock, blockcount, 2)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def90]
xfsprogs-6.14.0/repair/slab.c:229:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘qs’
xfsprogs-6.14.0/repair/slab.c:215:12: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/repair/slab.c:225:38: branch_false: ...to here
xfsprogs-6.14.0/repair/slab.c:227:16: branch_true: following ‘true’ branch (when ‘hdr’ is non-NULL)...
xfsprogs-6.14.0/repair/slab.c:228:22: branch_true: ...to here
xfsprogs-6.14.0/repair/slab.c:228:22: acquire_memory: this call could return NULL
xfsprogs-6.14.0/repair/slab.c:229:17: danger: ‘qs’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def91]
xfsprogs-6.14.0/repair/xfs_repair.c:609:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sb.sb_unit’
xfsprogs-6.14.0/repair/xfs_repair.c:699:1: enter_function: entry to ‘calc_mkfs’
xfsprogs-6.14.0/repair/xfs_repair.c:713:12: branch_true: following ‘true’ branch...
xfsprogs-6.14.0/repair/xfs_repair.c:717:17: call_function: calling ‘guess_correct_sunit’ from ‘calc_mkfs’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def92]
xfsprogs-6.14.0/scrub/inodes.c:475:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg’
xfsprogs-6.14.0/scrub/inodes.c:559:1: enter_function: entry to ‘scan_ag_inumbers’
xfsprogs-6.14.0/scrub/inodes.c:564:34: release_memory: ‘ichunk’ is NULL
xfsprogs-6.14.0/scrub/inodes.c:574:17: call_function: calling ‘alloc_ichunk’ from ‘scan_ag_inumbers’
xfsprogs-6.14.0/scrub/inodes.c:574:17: return_function: returning to ‘scan_ag_inumbers’ from ‘alloc_ichunk’
xfsprogs-6.14.0/scrub/inodes.c:575:12: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/scrub/inodes.c:577:16: branch_false: ...to here
xfsprogs-6.14.0/scrub/inodes.c:577:16: release_memory: ‘ichunk’ is NULL
xfsprogs-6.14.0/scrub/inodes.c:581:16: branch_true: following ‘true’ branch (when ‘error == 0’)...
xfsprogs-6.14.0/scrub/inodes.c:581:27: branch_true: ...to here
xfsprogs-6.14.0/scrub/inodes.c:581:16: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/scrub/inodes.c:581:42: branch_false: ...to here
xfsprogs-6.14.0/scrub/inodes.c:581:16: branch_true: following ‘true’ branch...
xfsprogs-6.14.0/scrub/inodes.c:586:31: branch_true: ...to here
xfsprogs-6.14.0/scrub/inodes.c:586:20: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/scrub/inodes.c:595:17: branch_false: ...to here
xfsprogs-6.14.0/scrub/inodes.c:597:20: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/scrub/inodes.c:604:28: branch_false: ...to here
xfsprogs-6.14.0/scrub/inodes.c:604:27: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/scrub/inodes.c:620:25: branch_false: ...to here
xfsprogs-6.14.0/scrub/inodes.c:620:25: release_memory: ‘ichunk’ is NULL
xfsprogs-6.14.0/scrub/inodes.c:620:25: call_function: calling ‘scan_ag_bulkstat’ from ‘scan_ag_inumbers’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def93]
xfsprogs-6.14.0/scrub/inodes.c:545:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘error’
xfsprogs-6.14.0/scrub/inodes.c:559:1: enter_function: entry to ‘scan_ag_inumbers’
xfsprogs-6.14.0/scrub/inodes.c:574:17: call_function: calling ‘alloc_ichunk’ from ‘scan_ag_inumbers’
xfsprogs-6.14.0/scrub/inodes.c:574:17: return_function: returning to ‘scan_ag_inumbers’ from ‘alloc_ichunk’
xfsprogs-6.14.0/scrub/inodes.c:575:12: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/scrub/inodes.c:577:16: branch_false: ...to here
xfsprogs-6.14.0/scrub/inodes.c:581:16: branch_true: following ‘true’ branch (when ‘error == 0’)...
xfsprogs-6.14.0/scrub/inodes.c:581:27: branch_true: ...to here
xfsprogs-6.14.0/scrub/inodes.c:581:16: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/scrub/inodes.c:581:42: branch_false: ...to here
xfsprogs-6.14.0/scrub/inodes.c:581:16: branch_true: following ‘true’ branch...
xfsprogs-6.14.0/scrub/inodes.c:586:31: branch_true: ...to here
xfsprogs-6.14.0/scrub/inodes.c:586:20: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/scrub/inodes.c:595:17: branch_false: ...to here
xfsprogs-6.14.0/scrub/inodes.c:597:20: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/scrub/inodes.c:604:28: branch_false: ...to here
xfsprogs-6.14.0/scrub/inodes.c:604:27: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/scrub/inodes.c:620:25: branch_false: ...to here
xfsprogs-6.14.0/scrub/inodes.c:620:25: call_function: calling ‘scan_ag_bulkstat’ from ‘scan_ag_inumbers’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def94]
xfsprogs-6.14.0/scrub/scrub.c:305:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xfsprogs-6.14.0/scrub/scrub.c:328:1: enter_function: entry to ‘scrub_call_kernel’
xfsprogs-6.14.0/scrub/scrub.c:341:9: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/scrub/scrub.c:343:9: branch_false: ...to here
xfsprogs-6.14.0/scrub/scrub.c:346:9: branch_true: following ‘true’ branch (when ‘scrub_type != 33’)...
xfsprogs-6.14.0/scrub/scrub.c:347:23: branch_true: ...to here
xfsprogs-6.14.0/scrub/scrub.c:347:20: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/scrub/scrub.c:350:20: branch_false: ...to here
xfsprogs-6.14.0/scrub/scrub.c:350:20: branch_false: following ‘false’ branch (when ‘need_barrier == 0’)...
xfsprogs-6.14.0/scrub/scrub.c:355:17: branch_false: ...to here
xfsprogs-6.14.0/scrub/scrub.c:355:17: call_function: calling ‘xfrog_scrubv_add_item’ from ‘scrub_call_kernel’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def95]
xfsprogs-6.14.0/scrub/scrub.c:321:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xfsprogs-6.14.0/scrub/scrub.c:341:9: branch_false: following ‘false’ branch...
xfsprogs-6.14.0/scrub/scrub.c:343:9: branch_false: ...to here
xfsprogs-6.14.0/scrub/scrub.c:346:9: branch_true: following ‘true’ branch (when ‘scrub_type != 33’)...
xfsprogs-6.14.0/scrub/scrub.c:347:23: branch_true: ...to here
xfsprogs-6.14.0/scrub/scrub.c:346:9: branch_true: following ‘true’ branch (when ‘scrub_type != 33’)...
xfsprogs-6.14.0/scrub/scrub.c:347:23: branch_true: ...to here
xfsprogs-6.14.0/scrub/scrub.c:351:25: call_function: inlined call to ‘xfrog_scrubv_add_barrier’ from ‘scrub_call_kernel’
Scan Properties
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-96.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.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | xfsprogs-6.14.0-1.fc43 |
store-results-to | /tmp/tmpoque1cx9/xfsprogs-6.14.0-1.fc43.tar.xz |
time-created | 2025-04-25 16:10:26 |
time-finished | 2025-04-25 16:13:54 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpoque1cx9/xfsprogs-6.14.0-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpoque1cx9/xfsprogs-6.14.0-1.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |