diff options
author | Jan Kara <jack@suse.cz> | 2020-12-22 14:09:53 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2021-01-05 16:42:18 +0300 |
commit | a4db1072e1a3bd7a8d9c356e1902b13ac5deb8ef (patch) | |
tree | 6f9fc68d5b3bc429a18598e9558881af5fa7cff2 /block/keyslot-manager.c | |
parent | 36bbbd0e234d817938bdc52121a0f5473b3e58f5 (diff) | |
download | linux-a4db1072e1a3bd7a8d9c356e1902b13ac5deb8ef.tar.xz |
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>
Diffstat (limited to 'block/keyslot-manager.c')
0 files changed, 0 insertions, 0 deletions