Skip to content

Conversation

sj-i
Copy link
Contributor

@sj-i sj-i commented Oct 20, 2023

The destructions of FFI objects were not notified to their weak references.
This resulted in invalid pointers when an FFI object was destroyed before its weak references.

@dstogov
Copy link
Member

dstogov commented Oct 23, 2023

@iluuu1994 @arnaud-lb could you please review this

@arnaud-lb arnaud-lb merged commit 04b35a4 into php:PHP-8.1 Oct 28, 2023
arnaud-lb added a commit that referenced this pull request Oct 28, 2023
* PHP-8.1:
  [ci skip] NEWS
  Fix segfault caused by weak references to FFI objects (#12488)
arnaud-lb added a commit that referenced this pull request Oct 28, 2023
* PHP-8.2:
  [ci skip] NEWS
  [ci skip] NEWS
  Fix segfault caused by weak references to FFI objects (#12488)
arnaud-lb added a commit that referenced this pull request Oct 28, 2023
* PHP-8.3:
  [ci skip] NEWS
  [ci skip] NEWS
  [ci skip] NEWS
  Fix segfault caused by weak references to FFI objects (#12488)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants