Skip to content

Adjust depth calculation of map<K, V> type#12760

Open
alexcrichton wants to merge 1 commit intobytecodealliance:mainfrom
alexcrichton:adjust-map-depth
Open

Adjust depth calculation of map<K, V> type#12760
alexcrichton wants to merge 1 commit intobytecodealliance:mainfrom
alexcrichton:adjust-map-depth

Conversation

@alexcrichton
Copy link
Member

Previously it added 2 but this meant that it was out-of-sync with the fuzz test case generator which only accounted for 1 for each level of map. There's no need to have an extra layer for maps, so adjust the depth to add 1 instead of 2 which fixes the fuzz test case in question.

Previously it added 2 but this meant that it was out-of-sync with the
fuzz test case generator which only accounted for 1 for each level of
map. There's no need to have an extra layer for maps, so adjust the
depth to add 1 instead of 2 which fixes the fuzz test case in question.
@alexcrichton alexcrichton requested a review from a team as a code owner March 11, 2026 17:02
@alexcrichton alexcrichton requested review from cfallin and removed request for a team March 11, 2026 17:02
@alexcrichton alexcrichton added the fuzz-bug Bugs found by a fuzzer label Mar 11, 2026
@alexcrichton
Copy link
Member Author

cc @yordis (to make you aware)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fuzz-bug Bugs found by a fuzzer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants