mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
d52c499b47
Remove one of the calls to function bio_put(), so *bio* is only
freed once.
Notice that bio is being dereferenced in bio_put(), hence leading to
a use-after-free bug once *bio* has already been freed.
Addresses-Coverity-ID: 1475952 ("Use after free")
Fixes:
|
||
---|---|---|
.. | ||
core.c | ||
Kconfig | ||
Makefile | ||
pblk-cache.c | ||
pblk-core.c | ||
pblk-gc.c | ||
pblk-init.c | ||
pblk-map.c | ||
pblk-rb.c | ||
pblk-read.c | ||
pblk-recovery.c | ||
pblk-rl.c | ||
pblk-sysfs.c | ||
pblk-trace.h | ||
pblk-write.c | ||
pblk.h |