View Issue Details

IDProjectCategoryView StatusLast Update
0002002XdebugTracingpublic2022-12-08 18:50
Reporterpounard Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version3.0.4 
Target Version3.2devFixed in Version3.2.0 
Summary0002002: xdebug_trace_handler_t handler members are not always checked for NULL when executing
Description

As title states, when implementing a trace output, you cannot set to NULL all handlers you don't implement, because it will cause segfaults.

Steps To Reproduce

Implement a trace output using xdebug_trace_handler_t and set set some members to NULL.

Additional Information

See https://github.com/xdebug/xdebug/pull/761#discussion_r677636947 for the original report.

TagsNo tags attached.
Operating System
PHP Version8.0.0-8.0.4

Activities

derick

2021-08-06 17:53

administrator   ~0005961

https://github.com/xdebug/xdebug/pull/767

derick

2022-06-06 15:26

administrator   ~0006326

This was merged a while ago