[coreboot] New Defects reported by Coverity Scan for coreboot
scan-admin at coverity.com
scan-admin at coverity.com
Tue Aug 9 11:23:07 CEST 2016
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-2BfV0V05UPxvVjWch-2Bd2MGckcRbLuoVetFLSjdonCi1EjfHRqWGQvojmmkYaBE-2BPJiTQvQ-3D-3D_q4bX76XMySz3BXBlWr5fXXJ4cvAsgEXEqC7dBPM7O5boh4fNRNS1O3Ze4FmHr-2B0J-2BUeaZjXAkN3I5vxI2KmDEzXKzOOie-2F4NOOd09cYSWNy-2FZoijW1PmDp7eSozGjt3ruDk2Izdc-2FMceEEIkuMZekyQ3iKKV-2FKDCvJ1eYQpf-2B8Kefc6BnAicBXW7Bf2Apw-2B9ona8AjmQkOEKwIO7-2Fs75bQ-3D-3D
To manage Coverity Scan email notifications for "coreboot at coreboot.org", click https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRbVDbis712qZDP-2FA8y06Nq4e-2BpBzwOa5gzBZa9dWpDbzfofODnVj1enK2UkK0-2BgCCqyeem8IVKvTxSaOFkteZFcnohwvb2rnYNjswGryEWCURnUk6WHU42sbOmtOjD-2Bx5c-3D_q4bX76XMySz3BXBlWr5fXXJ4cvAsgEXEqC7dBPM7O5boh4fNRNS1O3Ze4FmHr-2B0JC8OIbGmOKye8QB75NM8udAxNhf-2B96qS1i1wxYOVDbK5unDAXBzox9zxC-2FRprmw-2Fdnmh5jrmQyR7pQ08eD6oe2Cp7EGNw9IHsHAVM-2FwXa8gxX2jDUeFbb882mGp42POl6O-2B0bgdIWawxEBe7643iY7w-3D-3D
More information about the coreboot
mailing list