diff options
| author | Ameer Hamza <[email protected]> | 2022-01-25 12:11:41 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-02-06 12:03:06 +0000 |
| commit | d792a7a94c2c3ba045247266bee2e2bced7b495a (patch) | |
| tree | 40a58726dd5499b36693c8fe5145cf4a29b4d5bf /lib/string_helpers.c | |
| parent | perf annotate: Set error stream of objdump process for TUI (diff) | |
| download | kernel-d792a7a94c2c3ba045247266bee2e2bced7b495a.tar.gz kernel-d792a7a94c2c3ba045247266bee2e2bced7b495a.zip | |
perf session: Check for NULL pointer before dereference
Move NULL pointer check before dereferencing the variable.
Addresses-Coverity: 1497622 ("Derereference before null check")
Reviewed-by: James Clark <[email protected]>
Signed-off-by: Ameer Hamza <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Alexey Bayduraev <[email protected]>
Cc: German Gomez <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Leo Yan <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Riccardo Mancini <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
