Jan Kara 96826c805a quota: Fix memory leak when handling corrupted quota file
[ Upstream commit a4db1072e1a3bd7a8d9c356e1902b13ac5deb8ef ]

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: 11c514a99bb9 ("quota: Sanity-check quota file headers on load")
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-04 09:39:42 +01:00
..
2020-11-05 11:08:53 +01:00
2019-08-06 19:06:51 +02:00
2020-10-30 10:38:28 +01:00
2021-01-30 13:32:13 +01:00
2018-08-17 16:20:28 -07:00
2020-11-18 19:18:49 +01:00
2018-08-18 11:44:53 -07:00
2020-11-05 11:08:50 +01:00
2021-01-30 13:32:13 +01:00
2020-06-22 09:05:01 +02:00
2020-03-05 16:42:12 +01:00
2021-01-30 13:32:11 +01:00
2018-08-21 18:19:09 -07:00
2020-03-25 08:06:14 +01:00