]> git.ipfire.org Git - thirdparty/iw.git/commit
iw: avoid passing NULL to nla_data()
authorAmit Khatri <amit.khatri@samsung.com>
Thu, 13 Aug 2015 10:26:59 +0000 (10:26 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 13 Aug 2015 13:20:23 +0000 (15:20 +0200)
commit572e47a34d6d33d89d5d4e4fe675541cd8e8acfb
treeeb39208dd0c65366013c5c3da01bc4a16b0c9b3f
parent8b80a2b361e97e560a1300d693290b1d5a984316
iw: avoid passing NULL to nla_data()

The attr pointer is checked for NULL but the function
doesn't handle it appropriately - fix that.

Signed-off-by: Amit Khatri <amit.khatri@samsung.com>
Signed-off-by: Rahul Jain <rahul.jain@samsung.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
event.c