mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
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 | ||