aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLv Yunlong <[email protected]>2021-03-10 22:46:36 -0800
committerMartin K. Petersen <[email protected]>2021-03-15 22:50:49 -0400
commitc8c165dea4c8f5ad67b1240861e4f6c5395fa4ac (patch)
tree3c856f5652495b01837d926807af944a5de4e988 /tools/perf/scripts/python/export-to-postgresql.py
parent2bb817712e2f77486d6ee17e7efaf91997a685f8 (diff)
scsi: st: Fix a use after free in st_open()
In st_open(), if STp->in_use is true, STp will be freed by scsi_tape_put(). However, STp is still used by DEBC_printk() after. It is better to DEBC_printk() before scsi_tape_put(). Link: https://lore.kernel.org/r/[email protected] Acked-by: Kai Mäkisara <[email protected]> Signed-off-by: Lv Yunlong <[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