mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-14 19:26:58 +02:00
The following was reported by Covervity scan: *** CID 541279: (TAINTED_SCALAR) /drivers/led/led-uclass.c: 284 in led_get_function_name() 278 if (!ret) { 279 snprintf(uc_plat->name, LED_MAX_NAME_SIZE, 280 "%s:%s-%d", 281 cp ? "" : led_colors[color], 282 func ? func : "", enumerator); 283 } else { >>> CID 541279: (TAINTED_SCALAR) >>> Using tainted variable "color" as an index into an array "led_colors". Fix it. Addresses-Coverity-ID: 541279 (TAINTED_SCALAR) Link: https://lists.denx.de/pipermail/u-boot/2025-February/580250.html Signed-off-by: Heiko Schocher <hs@denx.de> |
||
---|---|---|
.. | ||
Kconfig | ||
led_bcm6328.c | ||
led_bcm6358.c | ||
led_bcm6753.c | ||
led_bcm6858.c | ||
led_cortina.c | ||
led_gpio.c | ||
led_lp5562.c | ||
led_pwm.c | ||
led_sw_blink.c | ||
led-uclass.c | ||
Makefile |