Commit 2951a151 authored by Rongjing Liao's avatar Rongjing Liao Committed by Gerrit - the friendly Code Review server
Browse files

cld80211-lib: add null check for pointer *nla_data

The code logic should be checking the return value of
function 'nla_nest_start'. And code which invokes function
'cld80211_msg_alloc' will dereference pointer '*nla_data'.
To aovid null pointer dereference, need to add null check
before use.

Change-Id: Iaac52b4615e5d9103477ed50afc9d5718671c66a
CRs-Fixed: 2664794
parent 68a0628e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment