ext4: fix buffer leak in __ext4_read_dirblock() on error path
authorVasily Averin <vvs@virtuozzo.com>
Thu, 8 Nov 2018 03:36:23 +0000 (22:36 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2018 08:24:13 +0000 (09:24 +0100)
commit68b908750ea4cb285aef4f58ed89056e3b0039db
treeccdcb75bf2a8b6e6644348c01216ec747c08aae5
parentbe7e29ce83f689887c198eeb45b2a81ba6497ea4
ext4: fix buffer leak in __ext4_read_dirblock() on error path

commit de59fae0043f07de5d25e02ca360f7d57bfa5866 upstream.

Fixes: dc6982ff4db1 ("ext4: refactor code to read directory blocks ...")
Signed-off-by: Vasily Averin <vvs@virtuozzo.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org # 3.9
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/namei.c