diff options
| author | Stefan Wahren <[email protected]> | 2022-01-23 21:02:22 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-01-25 16:30:16 +0100 |
| commit | ca225857faf237234d2fffe5d1919467dfadd822 (patch) | |
| tree | 1730e8694ab39fbed1e5906c98701b6f2606d047 /tools/perf/scripts/python/bin/flamegraph-record | |
| parent | aa899e686d442c63d50f4d369cc02dbbf0941cb0 (diff) | |
staging: vchiq_core: handle NULL result of find_service_by_handle
In case of an invalid handle the function find_servive_by_handle
returns NULL. So take care of this and avoid a NULL pointer dereference.
Reviewed-by: Nicolas Saenz Julienne <[email protected]>
Signed-off-by: Stefan Wahren <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions