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

Skip to content
Commit ebea2d97 authored by Chris Lew's avatar Chris Lew Committed by Dhoat Harpal
Browse files

net: ipc_router: Validate return from skb_peek



The skb_peek and skb_peek_tail functions can return NULL if the skb
list is empty. Check the return value before using the skb.

CRs-Fixed: 2121368
Change-Id: If14320104ec37b8b7504e930ed8fd06e72d08724
Signed-off-by: default avatarChris Lew <clew@codeaurora.org>
parent 8e181ea4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment