View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002321 | Xdebug | Uncategorized | public | 2025-02-24 07:27 | 2025-03-10 14:46 |
| Reporter | Vojta | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Product Version | 3.4.1 | ||||
| Fixed in Version | 3.4.2 | ||||
| Summary | 0002321: Segfault when null is assigned to a superglobal | ||||
| Description | PHP crashes with segmentation fault, when null is assigned to $_POST. This problem occurs only when xdebug is enabled. | ||||
| Steps To Reproduce | echo '$_POST=null;\n$x=1;\n' | php -a | ||||
| Tags | No tags attached. | ||||
| Operating System | Linux | ||||
| PHP Version | 8.3.10-8.3.19 | ||||
|
|
|
|
|
I could not reproduce this with your test case, but I could with a similar equivalent one. This PR should fix it: https://github.com/xdebug/xdebug/pull/1001 |
|
|
This is now fixed in GIT for 3.4.2, of which I'll make a release soon. |
|
|
Version 3.4.2 fixed my issue, thank you. |