diff options
| author | Dan Carpenter <[email protected]> | 2021-08-03 18:56:25 +0300 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-08-05 23:21:08 -0400 |
| commit | e3d2612f583ba6e234cb7fe4559132c8f28905f1 (patch) | |
| tree | bc122bebb32cc0985baafeafa4f520c4c530381e /tools/perf/scripts/python | |
| parent | 40fd8845c025c33629e469f1383151096a21d524 (diff) | |
scsi: qla2xxx: Fix use after free in debug code
The sp->free(sp); call frees "sp" and then the debug code dereferences
it on the next line. Swap the order.
Link: https://lore.kernel.org/r/20210803155625.GA22735@kili
Fixes: 84318a9f01ce ("scsi: qla2xxx: edif: Add send, receive, and accept for auth_els")
Reviewed-by: Ewan D. Milne <[email protected]>
Reviewed-by: Himanshu Madhani <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions