Skip to content

Conversation

@XnLogicaL
Copy link

Fix a conditional overflow where the undersized mi_stat_s::page_bins array (sized MI_BIN_HUGE+1) overflows if _mi_page_bin() returns a value larger than MI_BIN_HUGE. This behavior most commonly occurs when a large amount of temporary mi_heap objects are created/destroyed.

See this issue for more info on the crash/UB.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant