WSL2-Linux-Kernel/fs/quota
Jan Kara a4db1072e1 quota: Fix memory leak when handling corrupted quota file
When checking corrupted quota file we can bail out and leak allocated
info structure. Properly free info structure on error return.

Reported-by: syzbot+77779c9b52ab78154b08@syzkaller.appspotmail.com
Fixes: 11c514a99b ("quota: Sanity-check quota file headers on load")
Signed-off-by: Jan Kara <jack@suse.cz>
2021-01-05 14:42:18 +01:00
..
Kconfig quota: simplify the quotactl compat handling 2020-09-17 13:00:46 -04:00
Makefile quota: simplify the quotactl compat handling 2020-09-17 13:00:46 -04:00
compat.h quota: simplify the quotactl compat handling 2020-09-17 13:00:46 -04:00
dquot.c fs: quota: fix array-index-out-of-bounds bug by passing correct argument to vfs_cleanup_quota_inode() 2020-12-09 10:07:10 +01:00
kqid.c
netlink.c
quota.c block: remove i_bdev 2020-12-01 14:53:39 -07:00
quota_tree.c quota: Don't overflow quota file offsets 2020-11-03 11:17:00 +01:00
quota_tree.h
quota_v1.c
quota_v2.c quota: Fix memory leak when handling corrupted quota file 2021-01-05 14:42:18 +01:00
quotaio_v1.h
quotaio_v2.h