Skip to content

Commit

Permalink
More tweaks for more bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed May 17, 2024
1 parent 8f307a7 commit b51f8c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/fuzzing/src/generators/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ impl<'a> Arbitrary<'a> for Config {
// of memory so if we still are only allowing 0 pages of memory then
// increase that to one here.
if cfg.disallow_traps {
if pooling.max_memory_size == 0 {
if pooling.max_memory_size < (1 << 16) {
pooling.max_memory_size = 1 << 16;
cfg.max_memory32_pages = 1;
cfg.max_memory64_pages = 1;
Expand Down

0 comments on commit b51f8c6

Please sign in to comment.