u-boot/fs/squashfs
Joao Marcos Costa 59fd62d71c fs/squashfs: fix potential integer overflows
The length of buffers used to read inode tables, directory tables, and
reading a file are calculated as: number of blocks * block size, and
such plain multiplication is prone to overflowing (thus unsafe).

Replace it by __builtin_mul_overflow, i.e. safe math.

Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
2025-02-24 08:49:04 -06:00
..
Kconfig include/u-boot, lib/zlib: add sources for zlib decompression 2020-08-07 22:31:32 -04:00
Makefile global: Rename SPL_ to XPL_ 2024-10-11 11:44:48 -06:00
sqfs.c fs/squashfs: fix potential integer overflows 2025-02-24 08:49:04 -06:00
sqfs_decompressor.c fs/squashfs: enable LZ4 compression support 2023-11-16 18:53:09 -05:00
sqfs_decompressor.h fs/squashfs: remove unused declarations 2023-11-16 18:53:09 -05:00
sqfs_dir.c squashfs: Fix compilation on big endian systems 2022-06-03 11:15:24 -04:00
sqfs_filesystem.h fs/squashfs: remove unused declarations 2023-11-16 18:53:09 -05:00
sqfs_inode.c squashfs: Fix sqfs_inode_size() for xattr related SQFS_LSYMLINK_TYPE 2025-01-18 08:29:10 -06:00
sqfs_utils.h fs/squashfs: remove unused declarations 2023-11-16 18:53:09 -05:00