Skip to content

Commit

Permalink
Add release notes for heap dependent finaliser use after free bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dipinhora committed Oct 7, 2024
1 parent fda99f3 commit b5635dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .release-notes/4522.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Fix use after free bug in actor heap finalisation that can lead to a segfault

The [0.45.2](https://github.com/ponylang/ponyc/releases/tag/0.45.2) release introduced an improvement to handling of objects with finalisers to make them more efficient to allocate on actor heaps. However, in the process it also introduced a potential for use after free situations that could lead to segfaults when running finalisers. With this change, we've reworked the implementation of the actor heap garbage collection to avoid the potential for use after free situations entirely.

0 comments on commit b5635dd

Please sign in to comment.