Bug 1131979 - Segfault running ZendFramework test suite (php_wddx_serialize_var)
Summary: Segfault running ZendFramework test suite (php_wddx_serialize_var)
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: php
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Web Stack Team
QA Contact: David Kutálek
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-20 13:01 UTC by Remi Collet
Modified: 2016-11-03 21:07 UTC (History)
3 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2016-11-03 21:07:06 UTC


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2598 normal SHIPPED_LIVE Moderate: php security and bug fix update 2016-11-03 12:12:00 UTC
PHP Bug Tracker 67873 None None None Never

Description Remi Collet 2014-08-20 13:01:04 UTC
From ZendFramework sources:

phpunit ZendTest/Serializer/Adapter/WddxTest.php

Backtrace:
(gdb) bt
#0  0x00007ffff4728989 in raise () from /lib64/libc.so.6
#1  0x00007ffff472a098 in abort () from /lib64/libc.so.6
#2  0x00007ffff4769197 in __libc_message () from /lib64/libc.so.6
#3  0x00007ffff4800cb7 in __fortify_fail () from /lib64/libc.so.6
#4  0x00007ffff4800c80 in __stack_chk_fail () from /lib64/libc.so.6
#5  0x00007fffe1d1c667 in php_wddx_serialize_var (packet=packet@entry=0x5555563e3a10, var=<optimized out>, name=name@entry=0x0, name_len=name_len@entry=0)
    at /usr/src/debug/php-5.4.16/ext/wddx/wddx.c:687
#6  0x00007fffe1d1e0f4 in zif_wddx_serialize_value (ht=<optimized out>, return_value=0x5555563e19c0, return_value_ptr=<optimized out>, 
    this_ptr=<optimized out>, return_value_used=<optimized out>) at /usr/src/debug/php-5.4.16/ext/wddx/wddx.c:1173

Fixed in 5.5+ 
http://git.php.net/?p=php-src.git;a=patch;h=95ea1e7ca787537a93c25c401dba010d51aa8d59

Comment 9 errata-xmlrpc 2016-11-03 21:07:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2016-2598.html


Note You need to log in before you can comment on or make changes to this bug.