fs/ntfs3: Add NULL ptr dereference checking at the end of attr_allocate_frame()

[ Upstream commit aaab47f204 ]

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>
This commit is contained in:
Konstantin Komarov 2023-11-28 11:09:34 +03:00 • committed by Greg Kroah-Hartman
commit 50545eb6cd