summaryrefslogtreecommitdiff
path: root/doc/develop/bootstd/script.rst
diff options
context:
space:
mode:
authorHeiko Schocher <[email protected]>2025-02-12 10:10:55 +0100
committerTom Rini <[email protected]>2025-02-18 12:30:53 -0600
commitcdc67e27500fbde1fc42528c38842e5c5d785a51 (patch)
treecead0b412fdeb6c6bd89f1b45ed0f4d08429b145 /doc/develop/bootstd/script.rst
parent50e8089c1de107137c7a30fd5691ebd449f42e2d (diff)
led: fix coverity scan error
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 <[email protected]>
Diffstat (limited to 'doc/develop/bootstd/script.rst')
0 files changed, 0 insertions, 0 deletions