diff options
author | Ming Lei <[email protected]> | 2020-12-21 12:33:35 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-01-05 11:35:17 -0700 |
commit | aebf5db917055b38f4945ed6d621d9f07a44ff30 (patch) | |
tree | cbe567d6e39da630210e8b9284cfaed3db72aa91 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 6d4d273588378c65915acaf7b2ee74e9dd9c130a (diff) |
block: fix use-after-free in disk_part_iter_next
Make sure that bdgrab() is done on the 'block_device' instance before
referring to it for avoiding use-after-free.
Cc: <[email protected]>
Reported-by: [email protected]
Signed-off-by: Ming Lei <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions