diff options
author | 2024-03-06 06:20:30 -0800 | |
---|---|---|
committer | 2024-03-06 06:29:01 -0800 | |
commit | 7e80eb792bd7377a20f204943ac31c77d859be89 (patch) | |
tree | 76be9f96652a818009cf268c97c068aa8351a8e3 /scripts/gdb/linux/utils.py | |
parent | nvme: host: fix double-free of struct nvme_id_ns in ns_update_nuse() (diff) | |
download | linux-rng-7e80eb792bd7377a20f204943ac31c77d859be89.tar.xz linux-rng-7e80eb792bd7377a20f204943ac31c77d859be89.zip |
nvme: clear caller pointer on identify failure
The memory allocated for the identification is freed on failure. Set
it to NULL so the caller doesn't have a pointer to that freed address.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions