diff options
| author | Sandeep Puligilla <spuligil@codeaurora.org> | 2016-04-28 11:40:26 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-05-04 21:17:59 -0700 |
| commit | eca12f2624e6b189a8afabb2b0723477d04c7087 (patch) | |
| tree | 60905021fdc6f5d013ea7f635ece1c5ecdda3f1e /uapi/linux/osapi_linux.h | |
| parent | bf3280a42a137d195740e547381c066631cd6018 (diff) | |
qcacld-3.1: Fix NULL pointer dereference
API is trying to access the wmi descriptor
even though it is failed to allocate.
- Add a NULL pointer verification check before
accessing the wmi descriptor.
- Return failure to UMAC if the wmi failed to
provide the wmi descriptor.
Change-Id: I1ca8670c43e795d874d4e57bca8577b5fb90468a
CRs-Fixed: 1009636
Diffstat (limited to 'uapi/linux/osapi_linux.h')
0 files changed, 0 insertions, 0 deletions
