Skip to content

guard the reset range in mi_segment_huge_page_alloc - #1394

Open
David CARLIER (devnexen) wants to merge 1 commit into
microsoft:devfrom
devnexen:segment_cal_fix
Open

guard the reset range in mi_segment_huge_page_alloc#1394
David CARLIER (devnexen) wants to merge 1 commit into
microsoft:devfrom
devnexen:segment_cal_fix

Conversation

@devnexen

Copy link
Copy Markdown
Contributor

decommit_size is a ptrdiff_t passed as a size_t, so it wraps if the aligned block starts within sizeof(mi_block_t) of the page start.

decommit_size is a ptrdiff_t passed as a size_t, so it wraps if the aligned
block starts within sizeof(mi_block_t) of the page start.
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