ext4: fix buffer leak in ext4_expand_extra_isize_ea() on error path
authorVasily Averin <vvs@virtuozzo.com>
Wed, 7 Nov 2018 16:14:35 +0000 (11:14 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2018 08:24:13 +0000 (09:24 +0100)
commitbe7e29ce83f689887c198eeb45b2a81ba6497ea4
treeda1f1639b6679d7d572c3b8c52bf3219d9e99137
parent4096fc0912778196f04d66fef5189a897dba0131
ext4: fix buffer leak in ext4_expand_extra_isize_ea() on error path

commit 53692ec074d00589c2cf1d6d17ca76ad0adce6ec upstream.

Fixes: de05ca852679 ("ext4: move call to ext4_error() into ...")
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org # 4.17
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/xattr.c