Skip to contentSkip to conversation

[[email protected]: New Defects reported by Coverity Scan for Das U-Boot]

[email protected]: New Defects reported by Coverity Scan for Das U-Boot Tom Rini 1 participant 1 message May 9, 2022

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

----- Forwarded message from [email protected] -----

Date: Mon, 09 May 2022 17:01:24 +0000 (UTC)
From: [email protected]
To: [email protected]
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-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yoA22WlOQ-2By3ieUvdbKmOyw68TMVT4Kip-2BBzfOGWXJ5yIiYplmPF9KAnKIja4Zd7tU-3DGqKU_EEm8SbLgSDsaDZif-2Bv7ch8WqhKpLoKErHi4nXpwDNTsfhVsKKsR3c478hKe3-2F-2FLN8zoWOj41ecD7CSt7PypU5QD9n80MY9Rs1arW-2BHU4TPPediLGjBHI3nONZiF3DWq15WWcXak6YZOj1-2Bh4Ghg40YAiu9rL0Desvzy1ol4IgRt78V9gOZ23haWo1J8KIz4jmOLhV6-2Bpr5dSfmq5L3wNwQ-3D-3D

To manage Coverity Scan email notifications for "[email protected]", click https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yped04pjJnmXOsUBtKYNIXxWeIHzDeopm-2BEWQ6S6K-2FtUHv9ZTk8qZbuzkkz9sa-2BJFzjOBieP6b0dz5E7tt2oz36Wvlg1QEKcMzEGZfXcFNGjQo60A04mWM-2BEqg04xcxWDA-3DZP6y_EEm8SbLgSDsaDZif-2Bv7ch8WqhKpLoKErHi4nXpwDNTsfhVsKKsR3c478hKe3-2F-2FLNz-2B0IrdidMAm5FDsAz5oYWCmFhjUuDo2-2F1aUYijT1io7CDkiWy5lmwq83JoiXnQCQiBXOWUoZTssnFBJAnTPJkIaK9c-2FmBCAFplgKOsTtNvS2JMHPp85TR-2FaWNGaXGQDPb-2FnYoHwrj1A7iMxpcps8FQ-3D-3D

----- End forwarded message -----

Signature · 1 line
Tom