mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-05 19:24:48 +00:00
![]() 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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
sqfs.c | ||
sqfs_decompressor.c | ||
sqfs_decompressor.h | ||
sqfs_dir.c | ||
sqfs_filesystem.h | ||
sqfs_inode.c | ||
sqfs_utils.h |