Fwd: New Defects reported by Coverity Scan for Das U-Boot
Tom Rini
trini at konsulko.com
Tue Nov 12 03:11:35 CET 2024
Here's the latest Coverity report.
---------- Forwarded message ---------
From: <scan-admin at coverity.com>
Date: Mon, Nov 11, 2024 at 10:24 AM
Subject: New Defects reported by Coverity Scan for Das U-Boot
To: <tom.rini at gmail.com>
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.
4 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 514648: Control flow issues (MISSING_BREAK)
/tools/imx8image.c: 93 in parse_cfg_cmd()
________________________________________________________________________________________________________
*** CID 514648: Control flow issues (MISSING_BREAK)
/tools/imx8image.c: 93 in parse_cfg_cmd()
87 sector_size = get_table_entry_id(imx8image_sector_size,
88 "imximage boot option",
89 token);
90 if (!strncmp("emmc_fastboot", token, 13))
91 emmc_fastboot = true;
92 break;
>>> CID 514648: Control flow issues (MISSING_BREAK)
>>> The case for value "CMD_DCD_SKIP" is not terminated by a "break" statement.
93 case CMD_DCD_SKIP:
94 if (!strncmp("true", token, 4))
95 dcd_skip = true;
96 case CMD_FUSE_VERSION:
97 fuse_version = (uint8_t)(strtoll(token, NULL, 0) & 0xFF);
98 break;
________________________________________________________________________________________________________
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20241111/02ba4943/attachment.sig>
More information about the U-Boot
mailing list