u-boot/fs
Heinrich Schuchardt 84032b6759 fs: fat: avoid multiplication overflow
The product of two 32 bit integers is a 32 bit integer. Hence
clustcount * bytesperclust may overflow on > 4 GiB devices.

Change the type of clustcount.

Fixes: cb8af8af5b ("fs: fat: support write with non-zero offset")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2023-08-14 17:55:53 -04:00
..
btrfs btrfs: fix some error checking for btrfs_decompress() 2023-08-08 17:41:52 -04:00
cbfs spl: Ensure all SPL symbols in Kconfig have some SPL dependency 2022-07-07 09:29:08 -04:00
cramfs cramfs: clean up some error messages 2023-08-08 17:41:52 -04:00
erofs fs/erofs: Remove an unnecessary assertion 2023-08-07 13:41:44 -04:00
ext4 fs: ext4: fix files seen as symlink during deletion 2023-03-30 15:09:59 -04:00
fat fs: fat: avoid multiplication overflow 2023-08-14 17:55:53 -04:00
jffs2 fs: jffs2: Move SYS_JFFS2_SORT_FRAGMENTS to Kconfig 2022-11-10 09:45:54 -05:00
reiserfs common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
sandbox bootstd: Use bootdev instead of bootdevice 2023-07-16 23:13:17 +08:00
squashfs lib: zstd: update to latest Linux zstd 1.5.2 2023-01-18 19:04:17 -05:00
ubifs ubifs: allow loading to above 4GiB 2023-06-06 10:37:25 +02:00
yaffs2 fs: yaffs2: Make yaffsfs_deviceList static 2023-04-25 15:31:27 -04:00
zfs common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
fs.c fs: Create functions to load and allocate a file 2023-07-14 12:54:51 -04:00
fs_internal.c fs: Quieten down the filesystems more 2022-10-17 21:17:12 -06:00
Kconfig bootstd: sandbox: Add a hostfs bootdev 2022-04-25 10:00:04 -04:00
Makefile fs: Add semihosting filesystem 2022-04-01 15:03:13 -04:00
semihostingfs.c semihosting: create file in smh_fs_write_at() 2023-05-31 17:23:01 -04:00