View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002315 | Xdebug | Uncategorized | public | 2025-01-27 21:18 | 2025-03-09 16:08 |
| Reporter | nielsdos | Assigned To | derick | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 3.4.1 | ||||
| Fixed in Version | 3.4.2 | ||||
| Summary | 0002315: xdebug_dump_superglobals() leaks memory | ||||
| Description | xdebug_dump_superglobals() calls xdebug_get_printable_superglobals() twice and never frees the memory. | ||||
| Steps To Reproduce | Compile PHP with ASAN, and run the following command: | ||||
| Additional Information | I found this while exploring the xdebug code base. I have a local fix ready that I will PR. | ||||
| Tags | No tags attached. | ||||
| Operating System | Linux | ||||
| PHP Version | 8.3.10-8.3.19 | ||||
|
|
The pull request is now live at https://github.com/xdebug/xdebug/pull/990 |
|
|
Thanks! I have merged your PR. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-01-27 21:18 | nielsdos | New Issue | |
| 2025-01-27 21:23 | nielsdos | Note Added: 0007164 | |
| 2025-01-28 09:45 | derick | Assigned To | => derick |
| 2025-01-28 09:45 | derick | Status | new => closed |
| 2025-01-28 09:45 | derick | Resolution | open => fixed |
| 2025-01-28 09:45 | derick | Fixed in Version | => 3.4dev |
| 2025-01-28 09:45 | derick | Note Added: 0007165 | |
| 2025-03-09 16:08 | derick | Fixed in Version | 3.4dev => 3.4.2 |