Edit report at https://bugs.php.net/bug.php?id=55037&edit=1
ID: 55037 Updated by: [email protected] Reported by: crrodriguez at opensuse dot org Summary: php_zval_filter_recursive segfault -Status: Feedback +Status: No Feedback Type: Bug Package: Filter related Operating System: Linux PHP Version: 5.3SVN-2011-06-12 (SVN) New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2011-06-12 03:31:40] [email protected] Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. ------------------------------------------------------------------------ [2011-06-12 03:18:48] crrodriguez at opensuse dot org 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: -------------- ------------------------------ ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=55037&edit=1
