diff options
author | Maurizio Lombardi <[email protected]> | 2023-01-31 17:38:42 +0100 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2023-02-01 14:18:46 +0100 |
commit | 6fbf13c0e24fd86ab2e4477cd8484a485b687421 (patch) | |
tree | f37bec06abb0db4ed0b435ea3e228798cb6abd51 /tools/perf/util/trace-event-scripting.c | |
parent | fd62678ab55cb01e11a404d302cdade222bf4022 (diff) |
nvme: clear the request_queue pointers on failure in nvme_alloc_io_tag_set
In nvme_alloc_io_tag_set(), the connect_q pointer should be set to NULL
in case of error to avoid potential invalid pointer dereferences.
Signed-off-by: Maurizio Lombardi <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions