View Issue Details

IDProjectCategoryView StatusLast Update
0002002XdebugTracingpublic2022-06-06 15:26
Reporterpounard Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version3.0.4 
Target Version3.2devFixed in Version3.2dev 
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

Issue History

Date Modified Username Field Change
2021-07-29 18:57 pounard New Issue
2021-08-06 17:53 derick Status new => confirmed
2021-08-06 17:53 derick Target Version => 3.1dev
2021-08-06 17:53 derick Note Added: 0005961
2021-08-18 09:09 derick Target Version 3.1dev => 3.2dev
2022-06-06 15:26 derick Assigned To => derick
2022-06-06 15:26 derick Status confirmed => closed
2022-06-06 15:26 derick Resolution open => fixed
2022-06-06 15:26 derick Fixed in Version => 3.2dev
2022-06-06 15:26 derick Note Added: 0006326