diff options
| author | Kangjie Lu <[email protected]> | 2018-12-22 16:58:06 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-01-15 16:08:28 +0100 |
| commit | 0a54ea9f481f1a2ca5a171e91ddaacb75040f287 (patch) | |
| tree | a6d08dbb59397a94b470c57d6e863ff03c30f72b /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | e4abc2488073a1e2764313feac5312622c7f04f9 (diff) | |
staging: rtlwifi: rtl8822b: fix a missing check of alloc_skb
__netdev_alloc_skb() return NULl when it fails. skb_put() further uses
it even when the allocation fails, leading to NULL pointer dereference.
The fix inserts a check for the return value of __netdev_alloc_skb().
Signed-off-by: Kangjie Lu <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions