Skip to content
Commit a4db1072 authored by Jan Kara's avatar Jan Kara
Browse files

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: default avatar <syzbot+77779c9b52ab78154b08@syzkaller.appspotmail.com>
Fixes: 11c514a9 ("quota: Sanity-check quota file headers on load")
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 36bbbd0e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment