php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21685 xmlrpc_decode() causes segfault
Submitted: 2003-01-16 04:52 UTC Modified: 2003-01-31 13:52 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: mfladischer at abis dot co dot at Assigned:
Status: No Feedback Package: XMLRPC-EPI related
PHP Version: 4CVS-2003-01-16 (stable) OS: Redhat Linux 7.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mfladischer at abis dot co dot at
New email:
PHP Version: OS:

 

 [2003-01-16 04:52 UTC] mfladischer at abis dot co dot at
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'

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-16 04:53 UTC] derick@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
 [2003-01-17 06:02 UTC] mfladischer at abis dot co dot at
Backtrace:

#0  0x081caea6 in zif_xmlrpc_decode (ht=1, return_value=0x84f0774, this_ptr=0x0, return_value_used=1) at /usr/src/cvs/php4/ext/xmlrpc/xmlrpc-epi-php.c:776
#1  0x0822e22b in execute (op_array=0x84f1314) at /usr/src/cvs/php4/Zend/zend_execute.c:1596
#2  0x0821be34 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/src/cvs/php4/Zend/zend.c:925
#3  0x081e3dd7 in php_execute_script (primary_file=0xbffffab0) at /usr/src/cvs/php4/main/main.c:1691
#4  0x08235dde in main (argc=2, argv=0xbffffb54) at /usr/src/cvs/php4/sapi/cli/php_cli.c:753
#5  0x401524ce in __libc_start_main () from /lib/libc.so.6
 [2003-01-17 09:13 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Cannot replicate with latest snapshot.
 [2003-01-31 13:52 UTC] sniper@php.net
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.


 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Dec 05 15:03:33 2021 UTC