commit | a4db1072e1a3bd7a8d9c356e1902b13ac5deb8ef | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Tue Dec 22 12:09:53 2020 +0100 |
committer | Jan Kara <jack@suse.cz> | Tue Jan 05 14:42:18 2021 +0100 |
tree | 6f9fc68d5b3bc429a18598e9558881af5fa7cff2 | |
parent | 36bbbd0e234d817938bdc52121a0f5473b3e58f5 [diff] |
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: 11c514a99bb9 ("quota: Sanity-check quota file headers on load") Signed-off-by: Jan Kara <jack@suse.cz>