View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002019 | Xdebug | Uncategorized | public | 2021-09-16 18:32 | 2021-10-04 09:29 |
| Reporter | patrickallaert | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Docker | OS | Alpine | ||
| Product Version | 3.0.4 | ||||
| Target Version | 3.1dev | Fixed in Version | 3.1.0 | ||
| Summary | 0002019: Xdebug crash because of uninitialized memory | ||||
| Description | On Alpine (using musl), memory is not zeroed when allocated. As of commit 9437d03a496fe11d0da0dbfa94ede3690bcbaace, XG_BASE(stack) is not initialized anymore. It may cause crashes because of invalid | ||||
| Steps To Reproduce | Develop an extension that is using zend_compile_file/zend_compile_string as part of RINIT and load it with xdebug on Alpine with PHP compiled with ZTS. Running PHP with that extension and xdebug will result in: #0 0x00007fbfa37d55ad in memset () from /lib/ld-musl-x86_64.so.1 | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 8.0.0-8.0.4 | ||||