diff options
| author | Pan Bian <[email protected]> | 2017-04-23 19:53:58 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-04-28 12:00:21 +0200 |
| commit | 9e96652756ad647b7bcc03cb99ffc9756d7b5f93 (patch) | |
| tree | 9f93fff01688ae35a51f97a307ef7df2afdaa83c /scripts/gdb/linux/proc.py | |
| parent | 3c2bf0bd08123f3497bd3e84bd9088c937b0cb40 (diff) | |
staging: wilc1000: fix unchecked return value
Function dev_alloc_skb() will return a NULL pointer if there is no
enough memory. However, in function WILC_WFI_mon_xmit(), its return
value is used without validation. This may result in a bad memory access
bug. This patch fixes the bug.
Signed-off-by: Pan Bian <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions