commit | 8c83a4851da1c7eda83098ade238665b15774da3 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Aug 24 10:50:15 2021 +0300 |
committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | Fri Aug 27 17:05:14 2021 +0300 |
tree | c77fc57022d29785537bf4effe8fa2499d64afde | |
parent | 04810f000afdbdd37825ca7f563f036119422cb7 [diff] |
fs/ntfs3: Potential NULL dereference in hdr_find_split() The "e" pointer is dereferenced before it has been checked for NULL. Move the dereference after the NULL check to prevent an Oops. Fixes: 82cae269cfa9 ("fs/ntfs3: Add initialization of super block") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Kari Argillander <kari.argillander@gmail.com> Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>