linux-stable/fs/ntfs3
Su Hui 6777f23bca fs/ntfs3: Avoid possible memory leak
[ Upstream commit e4494770a5 ]

smatch warn:
fs/ntfs3/fslog.c:2172 last_log_lsn() warn: possible memory leak of 'page_bufs'
Jump to label 'out' to free 'page_bufs' and is more consistent with
other code.

Signed-off-by: Su Hui <suhui@nfschina.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-08 14:08:59 +01:00
..
lib
Kconfig fs: build the legacy direct I/O code conditionally 2023-01-26 10:30:56 -07:00
Makefile
attrib.c fs/ntfs3: Fix NULL pointer dereference on error in attr_allocate_frame() 2023-11-08 14:08:58 +01:00
attrlist.c fs/ntfs3: Use kvmalloc instead of kmalloc(... __GFP_NOWARN) 2023-11-08 14:08:58 +01:00
bitfunc.c fs/ntfs3: Add ntfs_bitmap_weight_le function and refactoring 2022-11-14 19:50:42 +03:00
bitmap.c fs/ntfs3: Use kvmalloc instead of kmalloc(... __GFP_NOWARN) 2023-11-08 14:08:58 +01:00
debug.h
dir.c fs/ntfs3: Fix directory element type detection 2023-11-08 14:08:59 +01:00
file.c driver ntfs3 for linux 6.5 2023-07-07 14:59:38 -07:00
frecord.c fs/ntfs3: Fix possible NULL-ptr-deref in ni_readpage_cmpr() 2023-11-08 14:08:58 +01:00
fslog.c fs/ntfs3: Avoid possible memory leak 2023-11-08 14:08:59 +01:00
fsntfs.c fs/ntfs3: Write immediately updated ntfs state 2023-11-08 14:08:58 +01:00
index.c fs/ntfs3: Fix possible null-pointer dereference in hdr_find_e() 2023-10-25 12:16:11 +02:00
inode.c fs/ntfs3: Code refactoring 2023-07-03 00:21:27 +04:00
lznt.c fs/ntfs3: Code formatting 2023-07-03 00:21:27 +04:00
namei.c fs/ntfs3: Code formatting 2023-07-03 00:21:27 +04:00
ntfs.h fs/ntfs3: Add ability to format new mft records with bigger/smaller header 2023-07-03 00:21:28 +04:00
ntfs_fs.h fs/ntfs3: Fix shift-out-of-bounds in ntfs_fill_super 2023-10-25 12:16:11 +02:00
record.c fs/ntfs3: Add more attributes checks in mi_enum_attr() 2023-11-08 14:08:58 +01:00
run.c fs/ntfs3: Code formatting 2023-07-03 00:21:27 +04:00
super.c fs/ntfs3: Do not allow to change label if volume is read-only 2023-11-08 14:08:58 +01:00
upcase.c fs/ntfs3: Add option "nocase" 2022-09-30 17:39:47 +03:00
xattr.c fs/ntfs3: fix panic about slab-out-of-bounds caused by ntfs_list_ea() 2023-10-25 12:16:11 +02:00