|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-06-12 03:31 UTC] felipe@php.net
-Status: Open
+Status: Feedback
[2011-06-12 03:31 UTC] felipe@php.net
[2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 21:00:01 2025 UTC |
Description: ------------ Hi: php_zval_filter_recursive segfaults once in a while, with the following backtrace Test script: --------------- Program terminated with signal 11, Segmentation fault. #0 0x00007fb81e3a58a2 in php_zval_filter_recursive (value=0x7fb823d86768, filter=140736822777868, flags=140736822777848, options=0x7fb823d86790, copy=<value optimized out>, charset=0x0) at /usr/src/debug/php-5.3.6.201106102115/ext/filter/filter.c:524 529 if (Z_TYPE_PP(element) == IS_ARRAY) { (gdb) bt full #0 0x00007fb81e3a58a2 in php_zval_filter_recursive (value=0x7fb823d86768, filter=140736822777868, flags=140736822777848, options=0x7fb823d86790, copy=<value optimized out>, charset=0x0) at /usr/src/debug/php-5.3.6.201106102115/ext/filter/filter.c:524 element = 0x0 pos = 0x7fb823d86790 #1 0x0000000000000000 in ?? () Im not familiar with the code so Im not sure if checking element != NULL is a correct fix., Expected result: ---------------- ----------- Actual result: -------------- ------------------------------