]> git.baikalelectronics.ru Git - kernel.git/commit
fs/ntfs3: Check for NULL pointers in ni_try_remove_attr_list
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Mon, 11 Oct 2021 16:43:29 +0000 (19:43 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Tue, 12 Oct 2021 15:53:03 +0000 (18:53 +0300)
commit7236a6be659f91fd49c2c4f2c90a94c89dd56665
tree353b2268ffe99bc471f4f5610b9bb5893c608f80
parentea71d2f53b2229282d2fff60f26a757222c06c43
fs/ntfs3: Check for NULL pointers in ni_try_remove_attr_list

Check for potential NULL pointers.
Print error message if found.
Thread, that leads to this commit:
https://lore.kernel.org/ntfs3/227c13e3-5a22-0cba-41eb-fcaf41940711@paragon-software.com/

Reported-by: Mohammad Rasim <mohammad.rasim96@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/frecord.c