mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-24 19:10:26 +00:00
fs/ntfs3: Fix a couple integer overflows on 32bit systems
[ Upstream commit5ad414f4df] 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>
This commit is contained in:
parent
8109f57613
commit
284c954938
1 changed files with 2 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue