commit | e9d4709fcc26353df12070566970f080e651f0c9 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Wed Mar 04 14:01:44 2020 +0100 |
committer | Jan Kara <jack@suse.cz> | Fri Aug 28 17:11:53 2020 +0200 |
tree | 9c185b418e25b9dbb1118bba75d13fc9c78b5016 | |
parent | 256ccb9baeaba2b1a4ed5324c02b8d723497ca5a [diff] |
reiserfs: Fix memory leak in reiserfs_parse_options() When a usrjquota or grpjquota mount option is used multiple times, we will leak memory allocated for the file name. Make sure the last setting is used and all the previous ones are properly freed. Reported-by: syzbot+c9e294bbe0333a6b7640@syzkaller.appspotmail.com Signed-off-by: Jan Kara <jack@suse.cz>