Skip to content
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

Fix bug in ets:select_replace on 'compressed' tables #2763

Conversation

sverker
Copy link
Contributor

@sverker sverker commented Sep 22, 2020

The temporary uncompressed copy was deallocated too early,
before the replacing objects was constructed as a copy of the
match result which in turn is referring matched variables
in to the temporary copy.
into 'sverker/21/ets-select_replace-compressed/OTP-16874'
into 'sverker/22/ets-select_replace-compressed/OTP-16874'
@sverker sverker self-assigned this Sep 22, 2020
@sverker sverker added fix team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI labels Sep 22, 2020
@sverker sverker merged commit b166e4b into erlang:maint Sep 28, 2020
@sverker sverker deleted the sverker/22/ets-select_replace-compressed/ERL-1356/OTP-16874 branch June 16, 2022 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant