Skip to content

Fix #78438: Corruption when __unserializing deeply nested structures #4608

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Aug 22, 2019

When storing two temporary variables for delayed __unserialize() calls,
we have to make sure that both fit into the same linked list element.

We also remove VAR_DTOR_ENTRIES_MAX completely in favor of
VAR_ENTRIES_MAX.

When storing two temporary variables for delayed __unserialize() calls,
we have to make sure that both fit into the same linked list element.

We also remove `VAR_DTOR_ENTRIES_MAX` completely in favor of
`VAR_ENTRIES_MAX`.
@cmb69 cmb69 changed the title Fix #78438: Corruption when __unserializing deeply nested structures [WiP] Fix #78438: Corruption when __unserializing deeply nested structures Aug 22, 2019
@cmb69 cmb69 changed the title [WiP] Fix #78438: Corruption when __unserializing deeply nested structures Fix #78438: Corruption when __unserializing deeply nested structures Aug 23, 2019
@cmb69
Copy link
Member Author

cmb69 commented Aug 23, 2019

Thanks! Applied as ca265eb.

@cmb69 cmb69 closed this Aug 23, 2019
@cmb69 cmb69 deleted the fix-78438 branch August 23, 2019 09:44
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.

2 participants