f2fs-tools/tools
zangyangyang1 a2f4d30336 f2fs_io: Fix integer multiplication overflow error in fiemap
When using fiemap to obtain the block address of files
larger than 2GB ((2147483647+1) bytes), an integer
multiplication overflow error will occur.
This issue is caused by the following code:
    start = atoi(argv[1]) * F2FS_BLKSIZE;
    length = atoi(argv[2]) * F2FS_BLKSIZE;

Signed-off-by: zangyangyang1 <zangyangyang1@xiaomi.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2023-05-30 15:52:55 -07:00
..
f2fs_io f2fs_io: Fix integer multiplication overflow error in fiemap 2023-05-30 15:52:55 -07:00
f2fs_io_parse.c f2fs-tools: fix a few spelling errors in f2fs-tools 2020-12-07 09:25:14 -08:00
f2fscrypt.8 f2fs-tools: fix a few spelling errors in f2fs-tools 2020-12-07 09:25:14 -08:00
f2fscrypt.c Remove unnecessary config.h 2022-05-25 15:40:30 -07:00
fibmap.c f2fs-tools: fix cannot get bdev information 2022-06-24 17:30:30 -07:00
Makefile.am f2fs-tools: Remove deprecated f2fstat 2023-02-07 10:37:15 -08:00
sha512.c Remove unnecessary config.h 2022-05-25 15:40:30 -07:00