Package: php5
Version: 5.2.0-8+etch13
Severity: normal

This is PHP bug number #40191, fixed in major versions:
http://bugs.php.net/bug.php?id=40191

Description:
------------
when using array_unique to unify an ArrayObject, PHP runs into a
segfault.

Reproduce code:
---------------
<?php
$arrObj = new ArrayObject();
$arrObj->append('foo');
$arrObj->append('bar');
$arrObj->append('foo');

$arr = array_unique($arrObj);
?>

Expected result:
----------------
array (
  [0] => 'foo',
  [1] => 'bar'
)

or Error

Actual result:
--------------
Segfault

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-xen
Locale: lang=it...@euro, lc_ctype=it...@euro (charmap=ISO-8859-15)

Versions of packages php5 depends on:
ii  php5-cgi                  5.2.0-8+etch13 server-side, HTML-embedded scripti
ii  php5-common               5.2.0-8+etch13 Common files for packages built fr

php5 recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to