Closed nyuware closed 4 months ago
The maximum block size limit on a 64bit system is 65536. When creating a fake filesystem with mkfs.ext4 and setting the block size with -b 65536, the maximum value that s_log_block_size will reach is 6.
65536
mkfs.ext4
-b 65536
s_log_block_size
6
Fixes : https://github.com/onekey-sec/unblob/issues/792
Makes perfect sense since 1024 << 6 = 65536
1024 << 6 = 65536
The maximum block size limit on a 64bit system is
65536
. When creating a fake filesystem withmkfs.ext4
and setting the block size with-b 65536
, the maximum value thats_log_block_size
will reach is6
.Fixes : https://github.com/onekey-sec/unblob/issues/792