summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorAndrey Vatoropin <a.vatoropin@crpt.ru>2025-03-18 16:42:18 +0300
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2025-04-28 12:17:08 +0300
commitaf5cab0e5b6f8edb0be51a9f47f3f620e0b4fd70 (patch)
treecddc18ecb8340e8340a35af85ed8a81c912895f6 /scripts/lib
parent4665a0da497b1bd42569e5bc6da4cd9ce82f9c25 (diff)
downloadlinux-af5cab0e5b6f8edb0be51a9f47f3f620e0b4fd70.tar.xz
fs/ntfs3: handle hdr_first_de() return value
The hdr_first_de() function returns a pointer to a struct NTFS_DE. This pointer may be NULL. To handle the NULL error effectively, it is important to implement an error handler. This will help manage potential errors consistently. Additionally, error handling for the return value already exists at other points where this function is called. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: 82cae269cfa9 ("fs/ntfs3: Add initialization of super block") Signed-off-by: Andrey Vatoropin <a.vatoropin@crpt.ru> Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions