mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
5bd9d99d10
hfs_find_init() may fail with ENOMEM, but there are places, where the returned value is not checked. The consequences can be very unpleasant, e.g. kfree uninitialized pointer and inappropriate mutex unlocking. The patch adds checks for errors in hfs_find_init(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Christoph Hellwig <hch@lst.de> |
||
---|---|---|
.. | ||
bfind.c | ||
bitmap.c | ||
bnode.c | ||
brec.c | ||
btree.c | ||
catalog.c | ||
dir.c | ||
extents.c | ||
hfsplus_fs.h | ||
hfsplus_raw.h | ||
inode.c | ||
ioctl.c | ||
Kconfig | ||
Makefile | ||
options.c | ||
part_tbl.c | ||
super.c | ||
tables.c | ||
unicode.c | ||
wrapper.c |