commit | ce6e18ba7f7f07d2a26b0a6d0b2afdfc2b946498 | [log] [tgz] |
---|---|---|
author | Rongjing Liao <liaor@codeaurora.org> | Wed Apr 15 20:48:24 2020 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu Jun 11 09:44:57 2020 -0700 |
tree | 835b60da3d72bef55eaececb6b430e24683fb85c | |
parent | 59c374a5e5c5dd138ee9b689e7b2254f2aeab411 [diff] |
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