New Defects reported by Coverity Scan for coreboot

scan-admin--- via coreboot <[email protected]>
Newsgroups gmane.linux.bios
Message-ID <[email protected]>
Hi,

Please find the latest report on new defect(s) introduced to coreboot found with Coverity Scan.

1 new defect(s) introduced to coreboot found with Coverity Scan.


New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1524317:  Uninitialized variables  (UNINIT)
/src/northbridge/intel/sandybridge/raminit_mrc.c: 332 in spd_fill_pei_data()


________________________________________________________________________________________________________
*** CID 1524317:  Uninitialized variables  (UNINIT)
/src/northbridge/intel/sandybridge/raminit_mrc.c: 332 in spd_fill_pei_data()
326     		} else {
327     			/* MRC expects left-aligned SMBus addresses. */
328     			pei_data->spd_addresses[i] = spdi.addresses[i] << 1;
329     		}
330     	}
331     	/* Copy SPD data from CBFS for on-board memory */
>>>     CID 1524317:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "have_memory_down".
332     	if (have_memory_down) {
333     		printk(BIOS_DEBUG, "SPD index %d\n", spdi.spd_index);
334     
335     		size_t spd_file_len;
336     		uint8_t *spd_file = cbfs_map("spd.bin", &spd_file_len);
337     


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq2SfQfrHt3Prsn4qSLrYIrajINpiFX8l0vrlNSf8iCrTjqFj-2FaFAQ8isdZKd1XG3Q-3DolOf_L-2FDzr14mnrsJO5b1wX1hp9b1MAQygl7x-2B74RAaH2cn2zghxRbqdvlYEf5squ197NKf-2FKUKjn6nKbPGEaMvBdh98nXrtaXrT757TsTvrVVqqSY5Ln1Pis5kjboU5cm0G1AEgJbpsfOtHJw1TliMnvlcGE84AUWVWEKLHsk7dYIec3LgqndM55Qq1YaOSi3fLL8zFw4agcBKkS6FFGijUMn97L9VDORV7nz7PCs4vrOAI-3D

_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.