Skip to content
Commit 6efb1b40 authored by sudarsan N's avatar sudarsan N Committed by Daniel DeGrasse
Browse files

drivers: spi_rtio: Fix potential null pointer dereference



Avoid accessing tx_bufs or rx_bufs when they are NULL by adding proper
conditional checks before dereferencing. This addresses Coverity issue

CID 516225 (CWE-476).

Signed-off-by: default avatarsudarsan N <sudarsansamy2002@gmail.com>
parent 7a80ef3e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment