]> 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:34:54 +0000 (13:34 +0100)
commit947c3f3d31ea185ddc8e7f198873f17d36deb24c
tree381906094fd8ed8a54eda599303bb9a70a8234f1
parent323b0ab3f235f043c1be616ad495b57169bb4b18
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