Error: UNINIT (CWE-457): coreutils-8.29.64-1755f/src/copy.c:1856: var_decl: Declaring variable "src_sb" without initializer. coreutils-8.29.64-1755f/src/copy.c:1873: cond_true: Condition "x->move_mode", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1875: cond_true: Condition "rename_errno < 0", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1876: cond_false: Condition "renameat2(-100, src_name, -100, dst_name, 1U /* 1 << 0 */)", taking false branch. coreutils-8.29.64-1755f/src/copy.c:1879: cond_true: Condition "rename_errno == 0", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1879: cond_true: Condition "rename_errno == 0", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1880: cond_true: Condition "rename_succeeded", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1884: cond_true: Condition "rename_errno == 0", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1884: cond_false: Condition "!x->last_file", taking false branch. coreutils-8.29.64-1755f/src/copy.c:1884: cond_false: Condition "(rename_errno == 0) ? !x->last_file : (rename_errno != 17 || x->interactive != I_ALWAYS_NO)", taking false branch. coreutils-8.29.64-1755f/src/copy.c:1905: if_end: End of if statement. coreutils-8.29.64-1755f/src/copy.c:1911: cond_true: Condition "command_line_arg", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1911: cond_true: Condition "x->src_info", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1913: uninit_use: Using uninitialized value "src_sb.st_mode". # 1911| if (command_line_arg && x->src_info) # 1912| { # 1913|-> if ( ! S_ISDIR (src_sb.st_mode) # 1914| && x->backup_type == no_backups # 1915| && seen_file (x->src_info, src_name, &src_sb)) Error: UNINIT (CWE-457): coreutils-8.29.64-1755f/src/copy.c:1856: var_decl: Declaring variable "src_sb" without initializer. coreutils-8.29.64-1755f/src/copy.c:1873: cond_true: Condition "x->move_mode", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1875: cond_true: Condition "rename_errno < 0", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1876: cond_false: Condition "renameat2(-100, src_name, -100, dst_name, 1U /* 1 << 0 */)", taking false branch. coreutils-8.29.64-1755f/src/copy.c:1879: cond_true: Condition "rename_errno == 0", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1879: cond_true: Condition "rename_errno == 0", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1880: cond_true: Condition "rename_succeeded", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1884: cond_true: Condition "rename_errno == 0", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1884: cond_false: Condition "!x->last_file", taking false branch. coreutils-8.29.64-1755f/src/copy.c:1884: cond_false: Condition "(rename_errno == 0) ? !x->last_file : (rename_errno != 17 || x->interactive != I_ALWAYS_NO)", taking false branch. coreutils-8.29.64-1755f/src/copy.c:1905: if_end: End of if statement. coreutils-8.29.64-1755f/src/copy.c:1911: cond_true: Condition "command_line_arg", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1911: cond_true: Condition "x->src_info", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1913: cond_true: Condition "!((src_sb.st_mode & 61440) == 16384)", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1913: cond_true: Condition "x->backup_type == no_backups", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1913: uninit_use_in_call: Using uninitialized value "src_sb.st_dev" when calling "seen_file". coreutils-8.29.64-1755f/lib/file-set.c:66:3: cond_false: Condition "ht == NULL", taking false branch. coreutils-8.29.64-1755f/lib/file-set.c:67:5: if_end: End of if statement. coreutils-8.29.64-1755f/lib/file-set.c:71:3: read_parm_fld: Reading a parameter field. coreutils-8.29.64-1755f/src/copy.c:1913: uninit_use_in_call: Using uninitialized value "src_sb.st_ino" when calling "seen_file". coreutils-8.29.64-1755f/lib/file-set.c:66:3: cond_false: Condition "ht == NULL", taking false branch. coreutils-8.29.64-1755f/lib/file-set.c:67:5: if_end: End of if statement. coreutils-8.29.64-1755f/lib/file-set.c:70:3: read_parm_fld: Reading a parameter field. # 1911| if (command_line_arg && x->src_info) # 1912| { # 1913|-> if ( ! S_ISDIR (src_sb.st_mode) # 1914| && x->backup_type == no_backups # 1915| && seen_file (x->src_info, src_name, &src_sb)) Error: CLANG_WARNING: coreutils-8.29.64-1755f/src/copy.c:1913:14: warning: The left operand of '&' is a garbage value # if ( ! S_ISDIR (src_sb.st_mode) # ^ /usr/include/sys/stat.h:125:24: note: expanded from macro 'S_ISDIR' ##define S_ISDIR(mode) __S_ISTYPE((mode), __S_IFDIR) # ^ /usr/include/sys/stat.h:123:41: note: expanded from macro '__S_ISTYPE' ##define __S_ISTYPE(mode, mask) (((mode) & __S_IFMT) == (mask)) # ^ coreutils-8.29.64-1755f/src/copy.c:1873:7: note: Assuming the condition is false # if (x->move_mode) # ^~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1873:3: note: Taking false branch # if (x->move_mode) # ^ coreutils-8.29.64-1755f/src/copy.c:1884:7: note: Assuming 'rename_errno' is not equal to 0 # if (rename_errno == 0 # ^~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1884:7: note: '?' condition is false coreutils-8.29.64-1755f/src/copy.c:1886:9: note: Assuming 'rename_errno' is equal to EEXIST # : rename_errno != EEXIST || x->interactive != I_ALWAYS_NO) # ^~~~~~~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1886:9: note: Left side of '||' is false coreutils-8.29.64-1755f/src/copy.c:1886:35: note: Assuming the condition is false # : rename_errno != EEXIST || x->interactive != I_ALWAYS_NO) # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1884:3: note: Taking false branch # if (rename_errno == 0 # ^ coreutils-8.29.64-1755f/src/copy.c:1911:7: note: Assuming 'command_line_arg' is not equal to 0 # if (command_line_arg && x->src_info) # ^~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1911:7: note: Left side of '&&' is true coreutils-8.29.64-1755f/src/copy.c:1911:27: note: Assuming the condition is true # if (command_line_arg && x->src_info) # ^~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1911:3: note: Taking true branch # if (command_line_arg && x->src_info) # ^ coreutils-8.29.64-1755f/src/copy.c:1913:14: note: The left operand of '&' is a garbage value # if ( ! S_ISDIR (src_sb.st_mode) # ^ ~~~~~~~~~~~~~~ /usr/include/sys/stat.h:125:24: note: expanded from macro 'S_ISDIR' ##define S_ISDIR(mode) __S_ISTYPE((mode), __S_IFDIR) # ^ ~~~~ /usr/include/sys/stat.h:123:41: note: expanded from macro '__S_ISTYPE' ##define __S_ISTYPE(mode, mask) (((mode) & __S_IFMT) == (mask)) # ~~~~ ^ # 1911| if (command_line_arg && x->src_info) # 1912| { # 1913|-> if ( ! S_ISDIR (src_sb.st_mode) # 1914| && x->backup_type == no_backups # 1915| && seen_file (x->src_info, src_name, &src_sb)) Error: UNINIT (CWE-457): coreutils-8.29.64-1755f/src/copy.c:1856: var_decl: Declaring variable "src_sb" without initializer. coreutils-8.29.64-1755f/src/copy.c:1873: cond_true: Condition "x->move_mode", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1875: cond_true: Condition "rename_errno < 0", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1876: cond_false: Condition "renameat2(-100, src_name, -100, dst_name, 1U /* 1 << 0 */)", taking false branch. coreutils-8.29.64-1755f/src/copy.c:1879: cond_true: Condition "rename_errno == 0", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1879: cond_true: Condition "rename_errno == 0", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1880: cond_true: Condition "rename_succeeded", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1884: cond_true: Condition "rename_errno == 0", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1884: cond_false: Condition "!x->last_file", taking false branch. coreutils-8.29.64-1755f/src/copy.c:1884: cond_false: Condition "(rename_errno == 0) ? !x->last_file : (rename_errno != 17 || x->interactive != I_ALWAYS_NO)", taking false branch. coreutils-8.29.64-1755f/src/copy.c:1905: if_end: End of if statement. coreutils-8.29.64-1755f/src/copy.c:1911: cond_true: Condition "command_line_arg", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1911: cond_true: Condition "x->src_info", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1913: cond_true: Condition "!((src_sb.st_mode & 61440) == 16384)", taking true branch. coreutils-8.29.64-1755f/src/copy.c:1913: cond_false: Condition "x->backup_type == no_backups", taking false branch. coreutils-8.29.64-1755f/src/copy.c:1920: if_end: End of if statement. coreutils-8.29.64-1755f/src/copy.c:1922: uninit_use_in_call: Using uninitialized value "src_sb.st_dev" when calling "record_file". coreutils-8.29.64-1755f/lib/file-set.c:33:3: cond_false: Condition "ht == NULL", taking false branch. coreutils-8.29.64-1755f/lib/file-set.c:34:5: if_end: End of if statement. coreutils-8.29.64-1755f/lib/file-set.c:39:3: read_parm_fld: Reading a parameter field. coreutils-8.29.64-1755f/src/copy.c:1922: uninit_use_in_call: Using uninitialized value "src_sb.st_ino" when calling "record_file". coreutils-8.29.64-1755f/lib/file-set.c:33:3: cond_false: Condition "ht == NULL", taking false branch. coreutils-8.29.64-1755f/lib/file-set.c:34:5: if_end: End of if statement. coreutils-8.29.64-1755f/lib/file-set.c:38:3: read_parm_fld: Reading a parameter field. # 1920| } # 1921| # 1922|-> record_file (x->src_info, src_name, &src_sb); # 1923| } # 1924| Error: CLANG_WARNING: coreutils-8.29.64-1755f/src/copy.c:1977:29: warning: The left operand of '&' is a garbage value # if (x->update && !S_ISDIR (src_mode)) # ^ /usr/include/sys/stat.h:125:24: note: expanded from macro 'S_ISDIR' ##define S_ISDIR(mode) __S_ISTYPE((mode), __S_IFDIR) # ^ /usr/include/sys/stat.h:123:41: note: expanded from macro '__S_ISTYPE' ##define __S_ISTYPE(mode, mask) (((mode) & __S_IFMT) == (mask)) # ^ coreutils-8.29.64-1755f/src/copy.c:1858:3: note: 'src_mode' declared without an initial value # mode_t src_mode IF_LINT ( = 0); # ^~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1873:7: note: Assuming the condition is false # if (x->move_mode) # ^~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1873:3: note: Taking false branch # if (x->move_mode) # ^ coreutils-8.29.64-1755f/src/copy.c:1884:7: note: Assuming 'rename_errno' is not equal to 0 # if (rename_errno == 0 # ^~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1884:7: note: '?' condition is false coreutils-8.29.64-1755f/src/copy.c:1886:9: note: Assuming 'rename_errno' is equal to EEXIST # : rename_errno != EEXIST || x->interactive != I_ALWAYS_NO) # ^~~~~~~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1886:9: note: Left side of '||' is false coreutils-8.29.64-1755f/src/copy.c:1886:35: note: Assuming the condition is false # : rename_errno != EEXIST || x->interactive != I_ALWAYS_NO) # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1884:3: note: Taking false branch # if (rename_errno == 0 # ^ coreutils-8.29.64-1755f/src/copy.c:1911:7: note: Assuming 'command_line_arg' is 0 # if (command_line_arg && x->src_info) # ^~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1911:24: note: Left side of '&&' is false # if (command_line_arg && x->src_info) # ^ coreutils-8.29.64-1755f/src/copy.c:1927:7: note: Assuming 'new_dst' is 0 # if (!new_dst) # ^~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1927:3: note: Taking true branch # if (!new_dst) # ^ coreutils-8.29.64-1755f/src/copy.c:1929:14: note: Left side of '&&' is true # if (! (rename_errno == EEXIST && x->interactive == I_ALWAYS_NO)) # ^ coreutils-8.29.64-1755f/src/copy.c:1929:7: note: Taking false branch # if (! (rename_errno == EEXIST && x->interactive == I_ALWAYS_NO)) # ^ coreutils-8.29.64-1755f/src/copy.c:1964:7: note: Taking true branch # if (rename_errno == EEXIST) # ^ coreutils-8.29.64-1755f/src/copy.c:1969:15: note: Left side of '&&' is false # && ! same_file_ok (src_name, &src_sb, dst_name, &dst_sb, # ^ coreutils-8.29.64-1755f/src/copy.c:1977:15: note: Assuming the condition is true # if (x->update && !S_ISDIR (src_mode)) # ^~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1977:15: note: Left side of '&&' is true coreutils-8.29.64-1755f/src/copy.c:1977:29: note: The left operand of '&' is a garbage value # if (x->update && !S_ISDIR (src_mode)) # ^ ~~~~~~~~ /usr/include/sys/stat.h:125:24: note: expanded from macro 'S_ISDIR' ##define S_ISDIR(mode) __S_ISTYPE((mode), __S_IFDIR) # ^ ~~~~ /usr/include/sys/stat.h:123:41: note: expanded from macro '__S_ISTYPE' ##define __S_ISTYPE(mode, mask) (((mode) & __S_IFMT) == (mask)) # ~~~~ ^ # 1975| } # 1976| # 1977|-> if (x->update && !S_ISDIR (src_mode)) # 1978| { # 1979| /* When preserving timestamps (but not moving within a file Error: CLANG_WARNING: coreutils-8.29.64-1755f/src/copy.c:2040:21: warning: The left operand of '&' is a garbage value # if (! S_ISDIR (src_mode) # ^ /usr/include/sys/stat.h:125:24: note: expanded from macro 'S_ISDIR' ##define S_ISDIR(mode) __S_ISTYPE((mode), __S_IFDIR) # ^ /usr/include/sys/stat.h:123:41: note: expanded from macro '__S_ISTYPE' ##define __S_ISTYPE(mode, mask) (((mode) & __S_IFMT) == (mask)) # ^ coreutils-8.29.64-1755f/src/copy.c:1858:3: note: 'src_mode' declared without an initial value # mode_t src_mode IF_LINT ( = 0); # ^~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1873:7: note: Assuming the condition is false # if (x->move_mode) # ^~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1873:3: note: Taking false branch # if (x->move_mode) # ^ coreutils-8.29.64-1755f/src/copy.c:1884:7: note: Assuming 'rename_errno' is not equal to 0 # if (rename_errno == 0 # ^~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1884:7: note: '?' condition is false coreutils-8.29.64-1755f/src/copy.c:1886:9: note: Assuming 'rename_errno' is equal to EEXIST # : rename_errno != EEXIST || x->interactive != I_ALWAYS_NO) # ^~~~~~~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1886:9: note: Left side of '||' is false coreutils-8.29.64-1755f/src/copy.c:1886:35: note: Assuming the condition is false # : rename_errno != EEXIST || x->interactive != I_ALWAYS_NO) # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1884:3: note: Taking false branch # if (rename_errno == 0 # ^ coreutils-8.29.64-1755f/src/copy.c:1911:7: note: Assuming 'command_line_arg' is 0 # if (command_line_arg && x->src_info) # ^~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1911:24: note: Left side of '&&' is false # if (command_line_arg && x->src_info) # ^ coreutils-8.29.64-1755f/src/copy.c:1927:7: note: Assuming 'new_dst' is 0 # if (!new_dst) # ^~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1927:3: note: Taking true branch # if (!new_dst) # ^ coreutils-8.29.64-1755f/src/copy.c:1929:14: note: Left side of '&&' is true # if (! (rename_errno == EEXIST && x->interactive == I_ALWAYS_NO)) # ^ coreutils-8.29.64-1755f/src/copy.c:1929:7: note: Taking false branch # if (! (rename_errno == EEXIST && x->interactive == I_ALWAYS_NO)) # ^ coreutils-8.29.64-1755f/src/copy.c:1964:7: note: Taking true branch # if (rename_errno == EEXIST) # ^ coreutils-8.29.64-1755f/src/copy.c:1969:15: note: Left side of '&&' is false # && ! same_file_ok (src_name, &src_sb, dst_name, &dst_sb, # ^ coreutils-8.29.64-1755f/src/copy.c:1977:15: note: Assuming the condition is false # if (x->update && !S_ISDIR (src_mode)) # ^~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1977:25: note: Left side of '&&' is false # if (x->update && !S_ISDIR (src_mode)) # ^ coreutils-8.29.64-1755f/src/copy.c:2027:11: note: Taking false branch # if (x->move_mode) # ^ coreutils-8.29.64-1755f/src/copy.c:2040:21: note: The left operand of '&' is a garbage value # if (! S_ISDIR (src_mode) # ^ ~~~~~~~~ /usr/include/sys/stat.h:125:24: note: expanded from macro 'S_ISDIR' ##define S_ISDIR(mode) __S_ISTYPE((mode), __S_IFDIR) # ^ ~~~~ /usr/include/sys/stat.h:123:41: note: expanded from macro '__S_ISTYPE' ##define __S_ISTYPE(mode, mask) (((mode) & __S_IFMT) == (mask)) # ~~~~ ^ # 2038| else # 2039| { # 2040|-> if (! S_ISDIR (src_mode) # 2041| && (x->interactive == I_ALWAYS_NO # 2042| || (x->interactive == I_ASK_USER Error: CLANG_WARNING: coreutils-8.29.64-1755f/src/copy.c:2226:39: warning: The left operand of '&' is a garbage value # if (x->verbose && !x->move_mode && !S_ISDIR (src_mode)) # ^ /usr/include/sys/stat.h:125:24: note: expanded from macro 'S_ISDIR' ##define S_ISDIR(mode) __S_ISTYPE((mode), __S_IFDIR) # ^ /usr/include/sys/stat.h:123:41: note: expanded from macro '__S_ISTYPE' ##define __S_ISTYPE(mode, mask) (((mode) & __S_IFMT) == (mask)) # ^ coreutils-8.29.64-1755f/src/copy.c:1858:3: note: 'src_mode' declared without an initial value # mode_t src_mode IF_LINT ( = 0); # ^~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1873:7: note: Assuming the condition is false # if (x->move_mode) # ^~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1873:3: note: Taking false branch # if (x->move_mode) # ^ coreutils-8.29.64-1755f/src/copy.c:1884:7: note: Assuming 'rename_errno' is not equal to 0 # if (rename_errno == 0 # ^~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1884:7: note: '?' condition is false coreutils-8.29.64-1755f/src/copy.c:1886:9: note: Assuming 'rename_errno' is equal to EEXIST # : rename_errno != EEXIST || x->interactive != I_ALWAYS_NO) # ^~~~~~~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1886:9: note: Left side of '||' is false coreutils-8.29.64-1755f/src/copy.c:1886:35: note: Assuming the condition is false # : rename_errno != EEXIST || x->interactive != I_ALWAYS_NO) # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1884:3: note: Taking false branch # if (rename_errno == 0 # ^ coreutils-8.29.64-1755f/src/copy.c:1911:7: note: Assuming 'command_line_arg' is 0 # if (command_line_arg && x->src_info) # ^~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1911:24: note: Left side of '&&' is false # if (command_line_arg && x->src_info) # ^ coreutils-8.29.64-1755f/src/copy.c:1927:7: note: Assuming 'new_dst' is not equal to 0 # if (!new_dst) # ^~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1927:3: note: Taking false branch # if (!new_dst) # ^ coreutils-8.29.64-1755f/src/copy.c:2190:7: note: Left side of '&&' is false # && x->dest_info # ^ coreutils-8.29.64-1755f/src/copy.c:2226:7: note: Assuming the condition is true # if (x->verbose && !x->move_mode && !S_ISDIR (src_mode)) # ^~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:2226:7: note: Left side of '&&' is true coreutils-8.29.64-1755f/src/copy.c:2226:7: note: Left side of '&&' is true coreutils-8.29.64-1755f/src/copy.c:2226:39: note: The left operand of '&' is a garbage value # if (x->verbose && !x->move_mode && !S_ISDIR (src_mode)) # ^ ~~~~~~~~ /usr/include/sys/stat.h:125:24: note: expanded from macro 'S_ISDIR' ##define S_ISDIR(mode) __S_ISTYPE((mode), __S_IFDIR) # ^ ~~~~ /usr/include/sys/stat.h:123:41: note: expanded from macro '__S_ISTYPE' ##define __S_ISTYPE(mode, mask) (((mode) & __S_IFMT) == (mask)) # ~~~~ ^ # 2224| sure we'll create a directory. Also don't announce yet when moving # 2225| so we can distinguish renames versus copies. */ # 2226|-> if (x->verbose && !x->move_mode && !S_ISDIR (src_mode)) # 2227| emit_verbose (src_name, dst_name, dst_backup); # 2228| Error: CLANG_WARNING: coreutils-8.29.64-1755f/src/copy.c:2261:28: warning: The left operand of '&' is a garbage value # else if (x->recursive && S_ISDIR (src_mode)) # ^ /usr/include/sys/stat.h:125:24: note: expanded from macro 'S_ISDIR' ##define S_ISDIR(mode) __S_ISTYPE((mode), __S_IFDIR) # ^ /usr/include/sys/stat.h:123:41: note: expanded from macro '__S_ISTYPE' ##define __S_ISTYPE(mode, mask) (((mode) & __S_IFMT) == (mask)) # ^ coreutils-8.29.64-1755f/src/copy.c:1858:3: note: 'src_mode' declared without an initial value # mode_t src_mode IF_LINT ( = 0); # ^~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1873:7: note: Assuming the condition is false # if (x->move_mode) # ^~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1873:3: note: Taking false branch # if (x->move_mode) # ^ coreutils-8.29.64-1755f/src/copy.c:1884:7: note: Assuming 'rename_errno' is not equal to 0 # if (rename_errno == 0 # ^~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1884:7: note: '?' condition is false coreutils-8.29.64-1755f/src/copy.c:1886:9: note: Assuming 'rename_errno' is equal to EEXIST # : rename_errno != EEXIST || x->interactive != I_ALWAYS_NO) # ^~~~~~~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1886:9: note: Left side of '||' is false coreutils-8.29.64-1755f/src/copy.c:1886:35: note: Assuming the condition is false # : rename_errno != EEXIST || x->interactive != I_ALWAYS_NO) # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1884:3: note: Taking false branch # if (rename_errno == 0 # ^ coreutils-8.29.64-1755f/src/copy.c:1911:7: note: Assuming 'command_line_arg' is 0 # if (command_line_arg && x->src_info) # ^~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1911:24: note: Left side of '&&' is false # if (command_line_arg && x->src_info) # ^ coreutils-8.29.64-1755f/src/copy.c:1927:7: note: Assuming 'new_dst' is not equal to 0 # if (!new_dst) # ^~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1927:3: note: Taking false branch # if (!new_dst) # ^ coreutils-8.29.64-1755f/src/copy.c:2190:7: note: Left side of '&&' is false # && x->dest_info # ^ coreutils-8.29.64-1755f/src/copy.c:2226:7: note: Assuming the condition is false # if (x->verbose && !x->move_mode && !S_ISDIR (src_mode)) # ^~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:2226:18: note: Left side of '&&' is false # if (x->verbose && !x->move_mode && !S_ISDIR (src_mode)) # ^ coreutils-8.29.64-1755f/src/copy.c:2259:3: note: Taking false branch # if (rename_errno == 0) # ^ coreutils-8.29.64-1755f/src/copy.c:2261:12: note: Assuming the condition is true # else if (x->recursive && S_ISDIR (src_mode)) # ^~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:2261:12: note: Left side of '&&' is true coreutils-8.29.64-1755f/src/copy.c:2261:28: note: The left operand of '&' is a garbage value # else if (x->recursive && S_ISDIR (src_mode)) # ^ ~~~~~~~~ /usr/include/sys/stat.h:125:24: note: expanded from macro 'S_ISDIR' ##define S_ISDIR(mode) __S_ISTYPE((mode), __S_IFDIR) # ^ ~~~~ /usr/include/sys/stat.h:123:41: note: expanded from macro '__S_ISTYPE' ##define __S_ISTYPE(mode, mask) (((mode) & __S_IFMT) == (mask)) # ~~~~ ^ # 2259| if (rename_errno == 0) # 2260| earlier_file = NULL; # 2261|-> else if (x->recursive && S_ISDIR (src_mode)) # 2262| { # 2263| if (command_line_arg) Error: CLANG_WARNING: coreutils-8.29.64-1755f/src/copy.c:2274:18: warning: The right operand of '<' is a garbage value # && (1 < src_sb.st_nlink # ^ ~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1873:7: note: Assuming the condition is false # if (x->move_mode) # ^~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1873:3: note: Taking false branch # if (x->move_mode) # ^ coreutils-8.29.64-1755f/src/copy.c:1884:7: note: Assuming 'rename_errno' is not equal to 0 # if (rename_errno == 0 # ^~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1884:7: note: '?' condition is false coreutils-8.29.64-1755f/src/copy.c:1886:9: note: Assuming 'rename_errno' is equal to EEXIST # : rename_errno != EEXIST || x->interactive != I_ALWAYS_NO) # ^~~~~~~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1886:9: note: Left side of '||' is false coreutils-8.29.64-1755f/src/copy.c:1886:35: note: Assuming the condition is false # : rename_errno != EEXIST || x->interactive != I_ALWAYS_NO) # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1884:3: note: Taking false branch # if (rename_errno == 0 # ^ coreutils-8.29.64-1755f/src/copy.c:1911:7: note: Assuming 'command_line_arg' is 0 # if (command_line_arg && x->src_info) # ^~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1911:24: note: Left side of '&&' is false # if (command_line_arg && x->src_info) # ^ coreutils-8.29.64-1755f/src/copy.c:1927:7: note: Assuming 'new_dst' is not equal to 0 # if (!new_dst) # ^~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1927:3: note: Taking false branch # if (!new_dst) # ^ coreutils-8.29.64-1755f/src/copy.c:2190:7: note: Left side of '&&' is false # && x->dest_info # ^ coreutils-8.29.64-1755f/src/copy.c:2226:7: note: Assuming the condition is false # if (x->verbose && !x->move_mode && !S_ISDIR (src_mode)) # ^~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:2226:18: note: Left side of '&&' is false # if (x->verbose && !x->move_mode && !S_ISDIR (src_mode)) # ^ coreutils-8.29.64-1755f/src/copy.c:2259:3: note: Taking false branch # if (rename_errno == 0) # ^ coreutils-8.29.64-1755f/src/copy.c:2261:12: note: Assuming the condition is false # else if (x->recursive && S_ISDIR (src_mode)) # ^~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:2261:25: note: Left side of '&&' is false # else if (x->recursive && S_ISDIR (src_mode)) # ^ coreutils-8.29.64-1755f/src/copy.c:2268:25: note: Left side of '&&' is false # else if (x->move_mode && src_sb.st_nlink == 1) # ^ coreutils-8.29.64-1755f/src/copy.c:2272:12: note: Assuming the condition is true # else if (x->preserve_links # ^~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:2272:12: note: Left side of '&&' is true coreutils-8.29.64-1755f/src/copy.c:2273:15: note: Assuming the condition is true # && !x->hard_link # ^~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:2272:12: note: Left side of '&&' is true # else if (x->preserve_links # ^ coreutils-8.29.64-1755f/src/copy.c:2274:18: note: The right operand of '<' is a garbage value # && (1 < src_sb.st_nlink # ^ ~~~~~~~~~~~~~~~ # 2272| else if (x->preserve_links # 2273| && !x->hard_link # 2274|-> && (1 < src_sb.st_nlink # 2275| || (command_line_arg # 2276| && x->dereference == DEREF_COMMAND_LINE_ARGUMENTS) Error: CLANG_WARNING: coreutils-8.29.64-1755f/src/copy.c:2469:54: warning: The left operand of '&' is a garbage value # dst_mode_bits = (x->set_mode ? x->mode : src_mode) & CHMOD_MODE_BITS; # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ coreutils-8.29.64-1755f/src/copy.c:1858:3: note: 'src_mode' declared without an initial value # mode_t src_mode IF_LINT ( = 0); # ^~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1873:7: note: Assuming the condition is false # if (x->move_mode) # ^~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1873:3: note: Taking false branch # if (x->move_mode) # ^ coreutils-8.29.64-1755f/src/copy.c:1884:7: note: Assuming 'rename_errno' is not equal to 0 # if (rename_errno == 0 # ^~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1884:7: note: '?' condition is false coreutils-8.29.64-1755f/src/copy.c:1886:9: note: Assuming 'rename_errno' is equal to EEXIST # : rename_errno != EEXIST || x->interactive != I_ALWAYS_NO) # ^~~~~~~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1886:9: note: Left side of '||' is false coreutils-8.29.64-1755f/src/copy.c:1886:35: note: Assuming the condition is false # : rename_errno != EEXIST || x->interactive != I_ALWAYS_NO) # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1884:3: note: Taking false branch # if (rename_errno == 0 # ^ coreutils-8.29.64-1755f/src/copy.c:1911:7: note: Assuming 'command_line_arg' is 0 # if (command_line_arg && x->src_info) # ^~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1911:24: note: Left side of '&&' is false # if (command_line_arg && x->src_info) # ^ coreutils-8.29.64-1755f/src/copy.c:1927:7: note: Assuming 'new_dst' is not equal to 0 # if (!new_dst) # ^~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1927:3: note: Taking false branch # if (!new_dst) # ^ coreutils-8.29.64-1755f/src/copy.c:2190:7: note: Left side of '&&' is false # && x->dest_info # ^ coreutils-8.29.64-1755f/src/copy.c:2226:7: note: Assuming the condition is false # if (x->verbose && !x->move_mode && !S_ISDIR (src_mode)) # ^~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:2226:18: note: Left side of '&&' is false # if (x->verbose && !x->move_mode && !S_ISDIR (src_mode)) # ^ coreutils-8.29.64-1755f/src/copy.c:2259:3: note: Taking false branch # if (rename_errno == 0) # ^ coreutils-8.29.64-1755f/src/copy.c:2261:12: note: Assuming the condition is false # else if (x->recursive && S_ISDIR (src_mode)) # ^~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:2261:25: note: Left side of '&&' is false # else if (x->recursive && S_ISDIR (src_mode)) # ^ coreutils-8.29.64-1755f/src/copy.c:2268:25: note: Left side of '&&' is false # else if (x->move_mode && src_sb.st_nlink == 1) # ^ coreutils-8.29.64-1755f/src/copy.c:2272:12: note: Assuming the condition is false # else if (x->preserve_links # ^~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:2273:12: note: Left side of '&&' is false # && !x->hard_link # ^ coreutils-8.29.64-1755f/src/copy.c:2285:3: note: Taking false branch # if (earlier_file) # ^ coreutils-8.29.64-1755f/src/copy.c:2345:3: note: Taking false branch # if (x->move_mode) # ^ coreutils-8.29.64-1755f/src/copy.c:2469:20: note: Assuming the condition is false # dst_mode_bits = (x->set_mode ? x->mode : src_mode) & CHMOD_MODE_BITS; # ^~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:2469:20: note: '?' condition is false coreutils-8.29.64-1755f/src/copy.c:2469:54: note: The left operand of '&' is a garbage value # dst_mode_bits = (x->set_mode ? x->mode : src_mode) & CHMOD_MODE_BITS; # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ # 2467| omit some permissions at first, so unauthorized users cannot nip # 2468| in before the file is ready. */ # 2469|-> dst_mode_bits = (x->set_mode ? x->mode : src_mode) & CHMOD_MODE_BITS; # 2470| omitted_permissions = # 2471| (dst_mode_bits Error: CLANG_WARNING: coreutils-8.29.64-1755f/src/copy.c:2473:11: warning: The left operand of '&' is a garbage value # : S_ISDIR (src_mode) ? S_IWGRP | S_IWOTH # ^ /usr/include/sys/stat.h:125:24: note: expanded from macro 'S_ISDIR' ##define S_ISDIR(mode) __S_ISTYPE((mode), __S_IFDIR) # ^ /usr/include/sys/stat.h:123:41: note: expanded from macro '__S_ISTYPE' ##define __S_ISTYPE(mode, mask) (((mode) & __S_IFMT) == (mask)) # ^ coreutils-8.29.64-1755f/src/copy.c:1858:3: note: 'src_mode' declared without an initial value # mode_t src_mode IF_LINT ( = 0); # ^~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1873:7: note: Assuming the condition is false # if (x->move_mode) # ^~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1873:3: note: Taking false branch # if (x->move_mode) # ^ coreutils-8.29.64-1755f/src/copy.c:1884:7: note: Assuming 'rename_errno' is not equal to 0 # if (rename_errno == 0 # ^~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1884:7: note: '?' condition is false coreutils-8.29.64-1755f/src/copy.c:1886:9: note: Assuming 'rename_errno' is equal to EEXIST # : rename_errno != EEXIST || x->interactive != I_ALWAYS_NO) # ^~~~~~~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1886:9: note: Left side of '||' is false coreutils-8.29.64-1755f/src/copy.c:1886:35: note: Assuming the condition is false # : rename_errno != EEXIST || x->interactive != I_ALWAYS_NO) # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1884:3: note: Taking false branch # if (rename_errno == 0 # ^ coreutils-8.29.64-1755f/src/copy.c:1911:7: note: Assuming 'command_line_arg' is 0 # if (command_line_arg && x->src_info) # ^~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1911:24: note: Left side of '&&' is false # if (command_line_arg && x->src_info) # ^ coreutils-8.29.64-1755f/src/copy.c:1927:7: note: Assuming 'new_dst' is not equal to 0 # if (!new_dst) # ^~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1927:3: note: Taking false branch # if (!new_dst) # ^ coreutils-8.29.64-1755f/src/copy.c:2190:7: note: Left side of '&&' is false # && x->dest_info # ^ coreutils-8.29.64-1755f/src/copy.c:2226:7: note: Assuming the condition is false # if (x->verbose && !x->move_mode && !S_ISDIR (src_mode)) # ^~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:2226:18: note: Left side of '&&' is false # if (x->verbose && !x->move_mode && !S_ISDIR (src_mode)) # ^ coreutils-8.29.64-1755f/src/copy.c:2259:3: note: Taking false branch # if (rename_errno == 0) # ^ coreutils-8.29.64-1755f/src/copy.c:2261:12: note: Assuming the condition is false # else if (x->recursive && S_ISDIR (src_mode)) # ^~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:2261:25: note: Left side of '&&' is false # else if (x->recursive && S_ISDIR (src_mode)) # ^ coreutils-8.29.64-1755f/src/copy.c:2268:25: note: Left side of '&&' is false # else if (x->move_mode && src_sb.st_nlink == 1) # ^ coreutils-8.29.64-1755f/src/copy.c:2272:12: note: Assuming the condition is false # else if (x->preserve_links # ^~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:2273:12: note: Left side of '&&' is false # && !x->hard_link # ^ coreutils-8.29.64-1755f/src/copy.c:2285:3: note: Taking false branch # if (earlier_file) # ^ coreutils-8.29.64-1755f/src/copy.c:2345:3: note: Taking false branch # if (x->move_mode) # ^ coreutils-8.29.64-1755f/src/copy.c:2469:20: note: Assuming the condition is true # dst_mode_bits = (x->set_mode ? x->mode : src_mode) & CHMOD_MODE_BITS; # ^~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:2469:20: note: '?' condition is true coreutils-8.29.64-1755f/src/copy.c:2472:9: note: Assuming the condition is false # & (x->preserve_ownership ? S_IRWXG | S_IRWXO # ^~~~~~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:2472:9: note: '?' condition is false coreutils-8.29.64-1755f/src/copy.c:2473:11: note: The left operand of '&' is a garbage value # : S_ISDIR (src_mode) ? S_IWGRP | S_IWOTH # ^ ~~~~~~~~ /usr/include/sys/stat.h:125:24: note: expanded from macro 'S_ISDIR' ##define S_ISDIR(mode) __S_ISTYPE((mode), __S_IFDIR) # ^ ~~~~ /usr/include/sys/stat.h:123:41: note: expanded from macro '__S_ISTYPE' ##define __S_ISTYPE(mode, mask) (((mode) & __S_IFMT) == (mask)) # ~~~~ ^ # 2471| (dst_mode_bits # 2472| & (x->preserve_ownership ? S_IRWXG | S_IRWXO # 2473|-> : S_ISDIR (src_mode) ? S_IWGRP | S_IWOTH # 2474| : 0)); # 2475| Error: COMPILER_WARNING: coreutils-8.29.64-1755f/src/copy.c: scope_hint: In function 'copy_internal' coreutils-8.29.64-1755f/src/copy.c:2482:9: warning: 'src_mode' may be used uninitialized in this function [-Wmaybe-uninitialized] # if (! set_process_security_ctx (src_name, dst_name, src_mode, new_dst, x)) # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 2480| when copying the context with --preserve=context. # 2481| FIXME: Do we need to consider dst_mode_bits here? */ # 2482|-> if (! set_process_security_ctx (src_name, dst_name, src_mode, new_dst, x)) # 2483| return false; # 2484| Error: CLANG_WARNING: coreutils-8.29.64-1755f/src/copy.c:2482:9: warning: 3rd function call argument is an uninitialized value # if (! set_process_security_ctx (src_name, dst_name, src_mode, new_dst, x)) # ^ ~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1858:3: note: 'src_mode' declared without an initial value # mode_t src_mode IF_LINT ( = 0); # ^~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1873:7: note: Assuming the condition is false # if (x->move_mode) # ^~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1873:3: note: Taking false branch # if (x->move_mode) # ^ coreutils-8.29.64-1755f/src/copy.c:1884:7: note: Assuming 'rename_errno' is not equal to 0 # if (rename_errno == 0 # ^~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1884:7: note: '?' condition is false coreutils-8.29.64-1755f/src/copy.c:1886:9: note: Assuming 'rename_errno' is equal to EEXIST # : rename_errno != EEXIST || x->interactive != I_ALWAYS_NO) # ^~~~~~~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1886:9: note: Left side of '||' is false coreutils-8.29.64-1755f/src/copy.c:1886:35: note: Assuming the condition is false # : rename_errno != EEXIST || x->interactive != I_ALWAYS_NO) # ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1884:3: note: Taking false branch # if (rename_errno == 0 # ^ coreutils-8.29.64-1755f/src/copy.c:1911:7: note: Assuming 'command_line_arg' is 0 # if (command_line_arg && x->src_info) # ^~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1911:24: note: Left side of '&&' is false # if (command_line_arg && x->src_info) # ^ coreutils-8.29.64-1755f/src/copy.c:1927:7: note: Assuming 'new_dst' is not equal to 0 # if (!new_dst) # ^~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:1927:3: note: Taking false branch # if (!new_dst) # ^ coreutils-8.29.64-1755f/src/copy.c:2190:7: note: Left side of '&&' is false # && x->dest_info # ^ coreutils-8.29.64-1755f/src/copy.c:2226:7: note: Assuming the condition is false # if (x->verbose && !x->move_mode && !S_ISDIR (src_mode)) # ^~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:2226:18: note: Left side of '&&' is false # if (x->verbose && !x->move_mode && !S_ISDIR (src_mode)) # ^ coreutils-8.29.64-1755f/src/copy.c:2259:3: note: Taking false branch # if (rename_errno == 0) # ^ coreutils-8.29.64-1755f/src/copy.c:2261:12: note: Assuming the condition is false # else if (x->recursive && S_ISDIR (src_mode)) # ^~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:2261:25: note: Left side of '&&' is false # else if (x->recursive && S_ISDIR (src_mode)) # ^ coreutils-8.29.64-1755f/src/copy.c:2268:25: note: Left side of '&&' is false # else if (x->move_mode && src_sb.st_nlink == 1) # ^ coreutils-8.29.64-1755f/src/copy.c:2272:12: note: Assuming the condition is false # else if (x->preserve_links # ^~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:2273:12: note: Left side of '&&' is false # && !x->hard_link # ^ coreutils-8.29.64-1755f/src/copy.c:2285:3: note: Taking false branch # if (earlier_file) # ^ coreutils-8.29.64-1755f/src/copy.c:2345:3: note: Taking false branch # if (x->move_mode) # ^ coreutils-8.29.64-1755f/src/copy.c:2469:20: note: Assuming the condition is true # dst_mode_bits = (x->set_mode ? x->mode : src_mode) & CHMOD_MODE_BITS; # ^~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:2469:20: note: '?' condition is true coreutils-8.29.64-1755f/src/copy.c:2472:9: note: Assuming the condition is true # & (x->preserve_ownership ? S_IRWXG | S_IRWXO # ^~~~~~~~~~~~~~~~~~~~~ coreutils-8.29.64-1755f/src/copy.c:2472:9: note: '?' condition is true coreutils-8.29.64-1755f/src/copy.c:2482:9: note: 3rd function call argument is an uninitialized value # if (! set_process_security_ctx (src_name, dst_name, src_mode, new_dst, x)) # ^ ~~~~~~~~ # 2480| when copying the context with --preserve=context. # 2481| FIXME: Do we need to consider dst_mode_bits here? */ # 2482|-> if (! set_process_security_ctx (src_name, dst_name, src_mode, new_dst, x)) # 2483| return false; # 2484|