diff options
author | Richard Weinberger <richard@nod.at> | 2019-10-24 10:25:35 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2019-11-17 22:22:53 +0100 |
commit | 91cbf01178c37086b32148c53e24b04cb77557cf (patch) | |
tree | 7157e992467542d9a4125399eadea2e0bcc6d9fc /fs/coda | |
parent | 7cc7720f06ab7102834140710cd2ae56b142d7ce (diff) | |
download | linux-91cbf01178c37086b32148c53e24b04cb77557cf.tar.bz2 |
Revert "ubifs: Fix memory leak bug in alloc_ubifs_info() error path"
This reverts commit 9163e0184bd7d5f779934d34581843f699ad2ffd.
At the point when ubifs_fill_super() runs, we have already a reference
to the super block. So upon deactivate_locked_super() c will get
free()'ed via ->kill_sb().
Cc: Wenwen Wang <wenwen@cs.uga.edu>
Fixes: 9163e0184bd7 ("ubifs: Fix memory leak bug in alloc_ubifs_info() error path")
Reported-by: https://twitter.com/grsecurity/status/1180609139359277056
Signed-off-by: Richard Weinberger <richard@nod.at>
Tested-by: Romain Izard <romain.izard.pro@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/coda')
0 files changed, 0 insertions, 0 deletions