View Issue Details

IDProjectCategoryView StatusLast Update
0001873XdebugUncategorizedpublic2020-10-30 15:28
Reporterderick Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version3.0.0beta1 
Target Version3.0.0RC1Fixed in Version3.0.0RC1 
Summary0001873: xdebug_info() segfaults if the diagnostic buffer is empty
Description

When xdebug_info() is run, but the library hasn't allocated the buffer yet, a segfault occurs.

Steps To Reproduce

Set xdebug.mode=off
Run php -r 'xdebug_info();'

TagsNo tags attached.
Operating System
PHP Version7.4.0-7.4.4