diff options
| author | 2017-11-21 15:05:17 +0100 | |
|---|---|---|
| committer | 2017-11-27 09:20:37 +0100 | |
| commit | 3ba5515bf4eecbec08fedde5e35bdabb153c83be (patch) | |
| tree | 972a415f09c6e0fc40234deab94b897765b07ee5 /tools/perf/scripts/python/netdev-times.py | |
| parent | staging: most: core: fix data type (diff) | |
staging: most: core: check value returned by match function
This patch adds a check for the pointer returned by the function
match_component. It is needed to prevent a NULL pointer dereference in
case the provided component name does not match any list entry.
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
