Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ec24ad80 authored by Shrey Vijay's avatar Shrey Vijay
Browse files

slimbus: slim-msm-ngd: Fix corner case to avoid NULL access



For asynchronus read transfer, BAM RX callback can be received
before main thread completes ngd_xfer_msg function execution.

Keep a check to avoid accessing transfer structure, which
may get freed in early RX callback.

Signed-off-by: default avatarShrey Vijay <shreyv@codeaurora.org>
Change-Id: Ie96e669be9282687acd22365b68ac9f4ae659030
parent ddbece73
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment