Task #52596 - fixed.err

back to task #52596
download
Error: GCC_ANALYZER_WARNING (CWE-457):
syslinux-6.04-pre1/efi/console.c:271:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘first’
syslinux-6.04-pre1/efi/console.c:252:12: branch_false: following ‘false’ branch (when ‘status == 0’)...
syslinux-6.04-pre1/efi/console.c:255:14: branch_false: ...to here
syslinux-6.04-pre1/efi/console.c:255:21: branch_true: following ‘true’ branch...
syslinux-6.04-pre1/efi/console.c:256:29: branch_true: ...to here
syslinux-6.04-pre1/efi/console.c:262:20: branch_false: following ‘false’ branch (when ‘status == 0’)...
syslinux-6.04-pre1/efi/console.c:265:17: branch_false: ...to here
syslinux-6.04-pre1/efi/console.c:271:20: branch_true: following ‘true’ branch (when ‘status == 0’)...
syslinux-6.04-pre1/efi/console.c:271:21: branch_true: ...to here
syslinux-6.04-pre1/efi/console.c:271:21: danger: use of uninitialized value ‘first’ here
#  269|   					   &depth, &refresh);
#  270|   
#  271|-> 		if (status == EFI_SUCCESS && (!first || pciio)) {
#  272|   			width = w;
#  273|   			height = h;

Error: GCC_ANALYZER_WARNING (CWE-457):
syslinux-6.04-pre1/efi/console.c:282:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘first’
syslinux-6.04-pre1/efi/console.c:252:12: branch_false: following ‘false’ branch (when ‘status == 0’)...
syslinux-6.04-pre1/efi/console.c:255:14: branch_false: ...to here
syslinux-6.04-pre1/efi/console.c:282:12: danger: use of uninitialized value ‘first’ here
#  280|   	}
#  281|   
#  282|-> 	if (!first)
#  283|   		goto out;
#  284|   	rv = 1;