sst-linux/fs/ntfs3
Dan Carpenter 1a14e9718a fs/ntfs3: Fix a couple integer overflows on 32bit systems
[ Upstream commit 5ad414f4df2294b28836b5b7b69787659d6aa708 ]

On 32bit systems the "off + sizeof(struct NTFS_DE)" addition can
have an integer wrapping issue.  Fix it by using size_add().

Fixes: 82cae269cf ("fs/ntfs3: Add initialization of super block")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-04-10 14:33:36 +02:00
..
lib
attrib.c fs/ntfs3: Change new sparse cluster processing 2025-03-28 21:59:02 +01:00
attrlist.c
bitfunc.c
bitmap.c
debug.h
dir.c
file.c fs/ntfs3: Change new sparse cluster processing 2025-03-28 21:59:02 +01:00
frecord.c fs/ntfs3: Change new sparse cluster processing 2025-03-28 21:59:02 +01:00
fslog.c
fsntfs.c
index.c fs/ntfs3: Fix a couple integer overflows on 32bit systems 2025-04-10 14:33:36 +02:00
inode.c fs/ntfs3: Change new sparse cluster processing 2025-03-28 21:59:02 +01:00
Kconfig
lznt.c
Makefile
namei.c fs/ntfs3: Fix possible deadlock in mi_read 2024-11-08 16:26:43 +01:00
ntfs_fs.h fs/ntfs3: Change new sparse cluster processing 2025-03-28 21:59:02 +01:00
ntfs.h
record.c fs/ntfs3: Add rough attr alloc_size check 2025-03-13 12:53:25 +01:00
run.c
super.c fs/ntfs3: Fix shift-out-of-bounds in ntfs_fill_super 2025-03-28 21:58:48 +01:00
upcase.c
xattr.c