View Issue Details

IDProjectCategoryView StatusLast Update
0000885Xdebugpublic2012-10-21 19:21
Reporterxiezhenye Assigned To 
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!