linux-stable/fs/ntfs3
Dan Carpenter 81dcb3b804 fs/ntfs3: uninitialized variable in ntfs_set_acl_ex()
commit d4073595d0 upstream.

The goto out calls kfree(value) on an uninitialized pointer.  Just
return directly as the other error paths do.

Fixes: 460bbf2990 ("fs/ntfs3: Do not change mode if ntfs_set_ea failed")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-08-25 11:40:21 +02:00
..
lib fs/ntfs3: Add missing header and guards to lib/ headers 2021-09-13 19:41:44 +03:00
attrib.c fs/ntfs3: Keep prealloc for all types of files 2021-10-11 19:10:19 +03:00
attrlist.c fs/ntfs3: Add sync flag to ntfs_sb_write_run and al_update 2021-09-21 18:37:01 +03:00
bitfunc.c fs/ntfs3: Remove a useless shadowing variable 2021-09-23 19:05:46 +03:00
bitmap.c fs/ntfs3: Use min/max macros instated of ternary operators 2021-09-16 17:01:37 +03:00
debug.h fs/ntfs3. Add forward declarations for structs to debug.h 2021-09-13 19:41:43 +03:00
dir.c fs/ntfs3: Rework ntfs_utf16_to_nls 2021-10-11 19:28:04 +03:00
file.c fs/ntfs3: Check new size for limits 2022-06-09 10:22:28 +02:00
frecord.c fs/ntfs3: Fix fiemap + fix shrink file size (to remove preallocated space) 2022-06-09 10:22:28 +02:00
fslog.c fs/ntfs3: Don't clear upper bits accidentally in log_replay() 2022-08-25 11:40:17 +02:00
fsntfs.c fs/ntfs3: Fix NULL deref in ntfs_update_mftmirr 2022-08-25 11:40:16 +02:00
index.c fs/ntfs3: Fix using uninitialized value n when calling indx_read 2022-08-25 11:40:16 +02:00
inode.c fs/ntfs3: Fix missing i_op in ntfs_read_mft 2022-08-25 11:40:17 +02:00
Kconfig
lznt.c fs/ntfs3: Remove tabs before spaces from comment 2021-09-16 17:01:36 +03:00
Makefile
namei.c fs/ntfs3: Move ni_lock_dir and ni_unlock into ntfs_create_inode 2021-09-24 17:39:57 +03:00
ntfs.h fs/ntfs3: Change max hardlinks limit to 4000 2021-09-21 18:37:01 +03:00
ntfs_fs.h Fixed xfstests generic/016 generic/021 generic/022 generic/041 generic/274 generic/423, 2021-10-15 09:58:11 -04:00
record.c fs/ntfs3: Remove unneeded header files from c files 2021-09-13 19:41:46 +03:00
run.c fs/ntfs3: Remove unneeded header files from c files 2021-09-13 19:41:46 +03:00
super.c fs/ntfs3: Fix double free on remount 2022-08-25 11:40:17 +02:00
upcase.c fs/ntfs3: Change right headers to upcase.c 2021-09-13 19:41:45 +03:00
xattr.c fs/ntfs3: uninitialized variable in ntfs_set_acl_ex() 2022-08-25 11:40:21 +02:00