diff options
| author | Jianglei Nie <[email protected]> | 2022-03-03 09:51:15 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2022-03-08 22:32:31 -0500 |
| commit | 271add11994ba1a334859069367e04d2be2ebdd4 (patch) | |
| tree | 59f71dc5ce1127a2aacd75b4b0dfe4bca1fdb8ea /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 3fd07aecb75003fbcb0b7c3124d12f71ffd360d8 (diff) | |
scsi: libfc: Fix use after free in fc_exch_abts_resp()
fc_exch_release(ep) will decrease the ep's reference count. When the
reference count reaches zero, it is freed. But ep is still used in the
following code, which will lead to a use after free.
Return after the fc_exch_release() call to avoid use after free.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Jianglei Nie <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions