mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 22:44:27 +08:00
90bf3e28ef
The error handling on a nullb->disk allocation currently jumps to
out_cleanup_disk that calls blk_cleanup_disk with a null pointer causing
a null pointer dereference issue. Fix this by jumping to out_cleanup_tags
instead.
Addresses-Coverity: ("Dereference after null check")
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
main.c | ||
Makefile | ||
null_blk.h | ||
trace.c | ||
trace.h | ||
zoned.c |