fs/ntfs3: Add null pointer checks
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Thu, 29 Dec 2022 11:44:43 +0000 (15:44 +0400)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Mon, 27 Mar 2023 12:59:14 +0000 (16:59 +0400)
commitfc4992458e0aa2d2e82a25c922e6ac36c2d91083
tree893b5deb614ec3f569c11afbbbb39ad1fb48a02e
parente479f0a62a2a4358f25d0d0b60c333e6d881d7c6
fs/ntfs3: Add null pointer checks

Added null pointer checks in function ntfs_security_init.
Also added le32_to_cpu in functions ntfs_security_init and indx_read.

Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/fsntfs.c
fs/ntfs3/index.c