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: 82cae269 ("fs/ntfs3: Add initialization of super block") Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Reviewed-by: NKari Argillander <kari.argillander@gmail.com> Signed-off-by: NKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Showing
想要评论请 注册 或 登录