diff options
| author | Christian Gromm <[email protected]> | 2017-11-21 15:05:17 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-11-27 09:20:37 +0100 |
| commit | 3ba5515bf4eecbec08fedde5e35bdabb153c83be (patch) | |
| tree | 972a415f09c6e0fc40234deab94b897765b07ee5 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 4e6d561d51f91ad465e127b6b5fabf1f1db01fc5 (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 <[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