Task #52341 - fixed.err
back to task #52341download
Error: SHELLCHECK_WARNING (CWE-457): /usr/share/lvm2-testsuite/shell/thin-flags.sh:35:17: warning[SC2154]: lv2 is referenced but not assigned. # 33| # 34| lvcreate -T -L1M --errorwhenfull y $vg/pool # 35|-> lvcreate -V2 -n $lv2 $vg/pool # 36| # 37| aux error_dev "$dev2" 2054:2 Error: SHELLCHECK_WARNING (CWE-457): /usr/share/lvm2-testsuite/shell/thin-flags.sh:37:17: warning[SC2154]: dev2 is referenced but not assigned. # 35| lvcreate -V2 -n $lv2 $vg/pool # 36| # 37|-> aux error_dev "$dev2" 2054:2 # 38| # Check our 'lvs' is not flushing pool - should be still OK # 39| check lv_attr_bit health $vg/pool "-" Error: SHELLCHECK_WARNING (CWE-457): /usr/share/lvm2-testsuite/shell/thin-flags.sh:70:17: warning[SC2154]: lv1 is referenced but not assigned. # 68| # 69| # Prepare some fake metadata prefilled to ~100% # 70|-> lvcreate -L2 -n $lv1 $vg "$dev2" # tmp for metadata # 71| # 72| VOLS=490 Error: SHELLCHECK_WARNING (CWE-457): /usr/share/lvm2-testsuite/shell/thin-flags.sh:100:22: warning[SC2154]: lv3 is referenced but not assigned. # 98| # 99| not lvcreate -s $vg/$lv2 # 100|-> not lvcreate -V10 -n $lv3 $vg/pool # 101| # 102| lvs -ao+seg_pe_ranges $vg Error: GCC_ANALYZER_WARNING (CWE-590): LVM2.2.03.30/libdm/dm-tools/dmsetup.c:566:17: warning[-Wanalyzer-free-of-non-heap]: ‘free’ of ‘""’ which points to memory not on the heap LVM2.2.03.30/libdm/dm-tools/dmsetup.c:5855:12: enter_function: entry to ‘_stats_report’ LVM2.2.03.30/libdm/dm-tools/dmsetup.c:5890:12: branch_false: following ‘false’ branch... LVM2.2.03.30/libdm/dm-tools/dmsetup.c:5893:14: branch_false: ...to here LVM2.2.03.30/libdm/dm-tools/dmsetup.c:5893:12: branch_false: following ‘false’ branch... LVM2.2.03.30/libdm/dm-tools/dmsetup.c:5896:13: branch_false: ...to here LVM2.2.03.30/libdm/dm-tools/dmsetup.c:5899:12: branch_false: following ‘false’ branch... LVM2.2.03.30/libdm/dm-tools/dmsetup.c:5902:13: branch_false: ...to here LVM2.2.03.30/libdm/dm-tools/dmsetup.c:5902:13: call_function: calling ‘_display_info’ from ‘_stats_report’ # 564| */ # 565| if (!strcmp(split_name->subsystem, "LVM")) # 566|-> free(split_name->vg_name); # 567| # 568| free(split_name->subsystem);