]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fs/ntfs3: Add NULL ptr dereference checking at the end of attr_allocate_frame()
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Tue, 28 Nov 2023 08:09:34 +0000 (11:09 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Mar 2024 12:21:46 +0000 (13:21 +0100)
commitee8db6475cb15c8122855f72ad4cfa5375af6a7b
tree563ee02901b11223ecb08c2c7aeee42763e86b09
parent56dacb722b76498c880aec32036946f03e2445f0
fs/ntfs3: Add NULL ptr dereference checking at the end of attr_allocate_frame()

[ Upstream commit aaab47f204aaf47838241d57bf8662c8840de60a ]

It is preferable to exit through the out: label because
internal debugging functions are located there.

Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/ntfs3/attrib.c