diff options
author | Tobias Klauser <[email protected]> | 2016-02-03 13:39:43 -0500 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2016-02-25 11:55:27 +0200 |
commit | 98e27cbd9453cd99403ee5f929a11a1000a3090b (patch) | |
tree | aa5a863ee59e93b8ac9b717adebe52786b4bc92a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | c1edece3c22be23cee3b28f74aecd1736ee816a1 (diff) |
rtl8xxxu: Check return value of kmemdup()
In rtl8xxxu_load_firmware() check the return value of kmemdup() and
error out with -ENOMEM in case of NULL to prevent a NULL pointer
dereference.
Signed-off-by: Tobias Klauser <[email protected]>
Signed-off-by: Jes Sorensen <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions