Skip to content
Unverified Commit aa4b92c5 authored by Danila Chernetsov's avatar Danila Chernetsov Committed by Christian Brauner
Browse files

ntfs: do not dereference a null ctx on error



In ntfs_mft_data_extend_allocation_nolock(), if an error condition occurs
prior to 'ctx' being set to a non-NULL value, avoid dereferencing the NULL
'ctx' pointer in error handling.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: default avatarDanila Chernetsov <listdansp@mail.ru>
Reviewed-by: default avatarNamjae Jeon <linkinjeon@kernel.org>
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 6405fee9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment