commit | 585bca68f89aa2a99e39f9234a10f825eb243589 | [log] [tgz] |
---|---|---|
author | Lukas Czerner <lczerner@redhat.com> | Thu Feb 20 20:54:29 2014 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Feb 20 20:54:34 2014 -0500 |
tree | 4db3452e39b02e41530f018f440265ca90686966 | |
parent | 5fe2bd60844cfe5d805e62a4316afaa5cd9d7c83 [diff] |
Set pointer to NULL after ext2fs_free ext2fs_free() does not set the ext2_filsys pointer to null so the caller is responsible to setting it himself if it is needed. This patch fixes some places where caller did not set ext2_filsys pointer to NULL after ext2fs_free() which might result in use after free. Fix it. Signed-off-by: Lukas Czerner <lczerner@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>