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 1452250:  Uninitialized variables  (UNINIT)


________________________________________________________________________________________________________
*** CID 1452250:  Uninitialized variables  (UNINIT)
/tests/lib/bootmem-test.c: 235 in init_memory_table_library()
229             struct lb_memory *lb_mem;
230     
231             /* Allocate space for 10 lb_mem entries to be safe */
232             lb_mem = malloc(sizeof(*lb_mem) + 10 * sizeof(struct 
lb_memory_range));
233     
234             /* We need to call this only to initialize library */
>>>     CID 1452250:  Uninitialized variables  (UNINIT)
>>>     Using uninitialized value "lb_mem->size" when calling 
>>> "bootmem_write_memory_table".
235             bootmem_write_memory_table(lb_mem);
236             free(lb_mem);
237     }
238     
239     static void test_bootmem_add_range(void **state)
240     {


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq2SfQfrHt3Prsn4qSLrYIrajINpiFX8l0vrlNSf8iCrS27qY0Cr0DkycwNUgGZJj8-3D9f3u_L-2FDzr14mnrsJO5b1wX1hp9b1MAQygl7x-2B74RAaH2cn3EUDmPvU59Bc8iBYhOrb5W4NAQKqp-2F0Gk4bHw8c5kTbdftgijZYHE-2Bp-2BeDG9M0idhnYXVLI21BYK6DyGRE3rUt2WoVz2An4OkkuEKuI0phspJWo9krCHzk0wLWo9r8-2F4LxEBWYd-2BqmZ0yZYlFoqSYVe-2FbvII77TSqHZQ9A7CMh5w-3D-3D

_______________________________________________
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org

Reply via email to