| commit | aa4b92c5234878d55da96d387ea4d3695ca5e4ab | [log] [tgz] |
|---|---|---|
| author | Danila Chernetsov <listdansp@mail.ru> | Fri May 19 00:21:46 2023 +0900 |
| committer | Christian Brauner <brauner@kernel.org> | Wed May 24 11:10:14 2023 +0200 |
| tree | c3cdd6c37ba8497c40835cdd84bcd29d257eb4f0 | |
| parent | 6405fee9b0d04ea8a5a2a7fa671f8f45765d8dcb [diff] |
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: Danila Chernetsov <listdansp@mail.ru> Reviewed-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Christian Brauner <brauner@kernel.org>