summaryrefslogtreecommitdiff
path: root/fs/ntfs3/lznt.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-08-24 10:50:15 +0300
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2021-08-27 17:05:14 +0300
commit8c83a4851da1c7eda83098ade238665b15774da3 (patch)
treec77fc57022d29785537bf4effe8fa2499d64afde /fs/ntfs3/lznt.c
parent04810f000afdbdd37825ca7f563f036119422cb7 (diff)
downloadlinux-8c83a4851da1c7eda83098ade238665b15774da3.tar.gz
linux-8c83a4851da1c7eda83098ade238665b15774da3.tar.bz2
linux-8c83a4851da1c7eda83098ade238665b15774da3.zip
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>
Diffstat (limited to 'fs/ntfs3/lznt.c')
0 files changed, 0 insertions, 0 deletions