Skip to content

Conversation

@nyuware
Copy link
Contributor

@nyuware nyuware commented Mar 4, 2024

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.

Fixes : #792

@nyuware nyuware force-pushed the s_log_block_size_fixup branch from 6936a27 to eb1930f Compare March 4, 2024 11:27
@qkaiser qkaiser force-pushed the s_log_block_size_fixup branch from eb1930f to c7a1efd Compare March 4, 2024 11:28
@qkaiser
Copy link
Contributor

qkaiser commented Mar 4, 2024

Makes perfect sense since 1024 << 6 = 65536

@qkaiser qkaiser self-requested a review March 4, 2024 11:31
@qkaiser qkaiser added enhancement New feature or request format:filesystem fuzzing Issues identified through fuzzing labels Mar 4, 2024
@nyuware nyuware force-pushed the s_log_block_size_fixup branch 2 times, most recently from 5cf45a1 to f57ce5c Compare March 4, 2024 12:20
@qkaiser qkaiser force-pushed the s_log_block_size_fixup branch from f57ce5c to e5aa15e Compare March 4, 2024 12:27
@qkaiser qkaiser enabled auto-merge March 4, 2024 12:27
@qkaiser qkaiser merged commit 8eb0f21 into onekey-sec:main Mar 4, 2024
@nyuware nyuware deleted the s_log_block_size_fixup branch March 4, 2024 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request format:filesystem fuzzing Issues identified through fuzzing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

unblob:search_chunks_fuzzer: Out-of-memory in search_chunks_fuzzer

2 participants