You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Segmentation fault in ext/spl/spl_directory.c #16477
Activity
Girgias commentedon Oct 17, 2024
Smaller reproducible:
The issue seems to possibly be with
get_class_methods()as if I set$method = '__debugInfo'explicitly it, it works.Girgias commentedon Oct 17, 2024
Okay I figured out the issue:
The constructor when it fails sets
intern->u.file.open_mode = NULL;which causes the null deref afterwards.Fix phpGH-16477 (Segmentation fault when calling __debugInfo() after …
Fix GH-16477 (Segmentation fault when calling __debugInfo() after fai…
Merge branch 'PHP-8.2' into PHP-8.3
Fix GH-16477 (Segmentation fault when calling __debugInfo() after fai…
Merge branch 'PHP-8.2' into PHP-8.3
Fix GH-16477 (Segmentation fault when calling __debugInfo() after fai…
Merge branch 'PHP-8.3' into PHP-8.4
Merge branch 'PHP-8.4'