Skip to content

Fix potential use-after-free when reallocating cache#189

Merged
tevador merged 1 commit intomasterfrom
pr-set-cache
Jun 27, 2020
Merged

Fix potential use-after-free when reallocating cache#189
tevador merged 1 commit intomasterfrom
pr-set-cache

Conversation

@tevador
Copy link
Owner

@tevador tevador commented Jun 27, 2020

Happens when the cache is reallocated and intialized with the same key. The VM would keep the old pointer.

This fixes random crashes in test 91.

@tevador tevador mentioned this pull request Jun 27, 2020
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.

3 participants