Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fs/affs/super.c: bugfix / double free
Commit 842a859 ("affs: use ->kill_sb() to simplify ->put_super() and failure exits of ->mount()") adds .kill_sb which frees sbi but doesn't remove sbi free in case of parse_options error causing double free+random crash. Signed-off-by: Fabian Frederick <[email protected]> Cc: Alexander Viro <[email protected]> Cc: <[email protected]> [3.14.x] Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information