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. 421 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s)
** CID 1361475: Memory - illegal accesses (UNINIT) /util/cbfstool/cbfs_image.c: 1055 in cbfs_payload_make_elf()
________________________________________________________________________________________________________ *** CID 1361475: Memory - illegal accesses (UNINIT) /util/cbfstool/cbfs_image.c: 1055 in cbfs_payload_make_elf() 1049 1050 static int cbfs_payload_make_elf(struct buffer *buff, uint32_t arch) 1051 { 1052 Elf64_Ehdr ehdr; 1053 Elf64_Shdr shdr; 1054 struct cbfs_payload_segment *segs = NULL;
CID 1361475: Memory - illegal accesses (UNINIT) Declaring variable "ew" without initializer.
1055 struct elf_writer *ew; 1056 struct buffer elf_out; 1057 int segments = 0; 1058 int retval = -1; 1059 1060 if (arch == CBFS_ARCHITECTURE_UNKNOWN) {
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05...
To manage Coverity Scan email notifications for "coreboot@coreboot.org", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05...
2016-08-09 11:23 GMT+02:00 scan-admin@coverity.com:
421 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
I wish it was that simple. Of those 421, maybe 10 are actually fixed, but the real reason for this steep dive is that our coverity builder failed to correctly configure the toolchains.
Patrick