#21685 [NEW]: xmlrpc_decode() causes segfault
| From: | mfladischer at abis dot co dot at | Date: | Thu, 16 Jan 2003 10:52:46 +0000 |
| Subject: | #21685 [NEW]: xmlrpc_decode() causes segfault | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-30247@lists.php.net to get a copy of this message | ||
From: mfladischer@abis.co.at
Operating system: Redhat Linux 7.3
PHP version: 4CVS-2003-01-16 (stable)
PHP Bug Type: XMLRPC-EPI related
Bug description: xmlrpc_decode() causes segfault
When using the xmlrpc_decode() function, the Apache2 (latest cvs) reports a
segfault in the error-log.
I've tested it with various xmlrpc-responses like:
<?php
xmlrpc_decode("
<?xml version=\"1.0\"?>
<methodResponse>
<params>
<param>
<value><string>South Dakota</string></value>
</param>
</params>
</methodResponse>
");
?>
Here is my ./configure :
'./configure' '--prefix=/usr' '--with-config-file-path=/etc/server'
'--with-apxs2=/usr/bin/apxs' '--with-pear=/home/httpd/include'
'--with-openssl' '--with-zlib' '--enable-bcmath'
'--with-bz2'
'--enable-calendar' '--enable-dio' '--enable-dbase'
'--enable-dx'
'--enable-exif' '--enable-ftp' '--enable-mime_magic=/etc/server/mime'
'--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock'
'--enable-shmop' '--enable-sockets' '--enable-sysvsem'
'--enable-sysvshm'
'--enable-wddx' '--enable-yp' '--with-xmlrpc'
'--with-mnogosearch=/usr'
'--with-curl' '--with-dom' '--with-dom-xslt'
'--with-dom-exslt'
'--with-imap' '--with-ldap' '--enable-cli=yes'
'--with-gettext'
'--with-gd' '--enable-gd-native-ttf' '--with-freetype-dir'
'--enable-dbase' '--with-pspell' '--with-pdflib'
'--with-iconv'
'--with-zlib-dir' '--with-jpeg-dir' '--with-expat-dir=/usr'
'--with-readline' '--with-mcrypt=/usr' '--with-unixodbc'
'--enable-dba'
'--with-db4' '--with-gdbm' '--with-gmp'
'--with-curlwrappers'
--
Edit bug report at http://bugs.php.net/?id=21685&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21685&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21685&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21685&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21685&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21685&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21685&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21685&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21685&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21685&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21685&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21685&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21685&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21685&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21685&r=gnused