diff options
| author | Ashish Kumar Dhanotiya <adhanoti@codeaurora.org> | 2018-05-11 12:14:04 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-05-14 02:52:25 -0700 |
| commit | edf67de61d00f2732812ee61a06f8754d8684c93 (patch) | |
| tree | 770ac8376b4c0529b74e7e752f8b26c5ee241f0e /lib/cpu-notifier-error-inject.c | |
| parent | 777e17cd8733f10195939b6b97db473fb8de874c (diff) | |
qcacmn: Avoid NULL pointer access in qdf_seq_write api
There is no NULL check in qdf_seq_write api after mem alloc.
Buffer is dereferenced without this NULL check.
Add a NULL check after mem alloc and then only dereferece
the buffer.
Change-Id: I6c478c60f481f299cb50cae6a519a1458e82859b
CRs-Fixed: 2240367
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
