View Issue Details

IDProjectCategoryView StatusLast Update
0000885Xdebugpublic2012-10-21 19:21
Reporterxiezhenye Assigned Toderick  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version2.2.1 
Summary0000885: missing validation point returned by strchr in xdebug_error_cb
Description

at /home/eric/package/xdebug-2.2.1/xdebug_stack.c:624

if error message is longer than PG(log_errors_max_len), tail \n may be missing.

then, seg fault will occurred

Steps To Reproduce

<?php

throw new Exception("long message ".str_repeat('.', 10240));

?>

run this code with xdebug will cause Segmentation fault

TagsNo tags attached.
Operating System
PHP Version5.4.4

Relationships

has duplicate 0000884 resolvedderick missing validation point returned by str:626in xdebug_error_cb 

Activities

derick

2012-10-21 19:21

administrator   ~0002370

Fixed for Xdebug 2.2.2, thanks for your report!

Issue History

Date Modified Username Field Change
2012-09-25 06:20 xiezhenye New Issue
2012-10-01 11:07 derick Relationship added has duplicate 0000884
2012-10-21 19:21 derick Note Added: 0002370
2012-10-21 19:21 derick Status new => closed
2012-10-21 19:21 derick Assigned To => derick
2012-10-21 19:21 derick Resolution open => fixed
2016-07-31 12:35 derick Category Debug client (console) => debugclient (debugging tool)
2016-07-31 12:35 derick Category debugclient (debugging tool) => (No Category)