diff options
| author | Dan Carpenter <[email protected]> | 2025-02-16 20:52:00 +0000 |
|---|---|---|
| committer | Konstantin Komarov <[email protected]> | 2025-03-06 16:53:24 +0000 |
| commit | 5ad414f4df2294b28836b5b7b69787659d6aa708 (patch) | |
| tree | e0c06512de25004cbf5afe9b0feb2e2e43277727 /net/core/dev_api.c | |
| parent | fs/ntfs3: Update inode->i_mapping->a_ops on compression state (diff) | |
| download | kernel-5ad414f4df2294b28836b5b7b69787659d6aa708.tar.gz kernel-5ad414f4df2294b28836b5b7b69787659d6aa708.zip | |
fs/ntfs3: Fix a couple integer overflows on 32bit systems
On 32bit systems the "off + sizeof(struct NTFS_DE)" addition can
have an integer wrapping issue. Fix it by using size_add().
Fixes: 82cae269cfa9 ("fs/ntfs3: Add initialization of super block")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Konstantin Komarov <[email protected]>
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions
