[scan-admin@coverity.com: New Defects reported by Coverity Scan for Das U-Boot]

----- Forwarded message from scan-admin@coverity.com -----
Date: Mon, 09 May 2022 17:01:24 +0000 (UTC) From: scan-admin@coverity.com To: tom.rini@gmail.com Subject: New Defects reported by Coverity Scan for Das U-Boot
Hi,
Please find the latest report on new defect(s) introduced to Das U-Boot found with Coverity Scan.
1 new defect(s) introduced to Das U-Boot found with Coverity Scan. 2 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 352689: (TAINTED_SCALAR)
________________________________________________________________________________________________________ *** CID 352689: (TAINTED_SCALAR) /disk/part_efi.c: 787 in gpt_repair_headers() 781 ret = -1; 782 goto out; 783 } 784 785 out: 786 if (is_gpt1_valid)
CID 352689: (TAINTED_SCALAR) Passing tainted expression "*gpt_e1" to "dlfree", which uses it as an offset.
787 free(gpt_e1); 788 if (is_gpt2_valid) 789 free(gpt_e2); 790 791 return ret; 792 } /disk/part_efi.c: 789 in gpt_repair_headers() 783 } 784 785 out: 786 if (is_gpt1_valid) 787 free(gpt_e1); 788 if (is_gpt2_valid)
CID 352689: (TAINTED_SCALAR) Passing tainted expression "*gpt_e2" to "dlfree", which uses it as an offset.
789 free(gpt_e2); 790 791 return ret; 792 } 793 794 int gpt_verify_partitions(struct blk_desc *dev_desc,
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0...
To manage Coverity Scan email notifications for "tom.rini@gmail.com", click https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0...
----- End forwarded message -----
participants (1)
-
Tom Rini