[SRU] stack smashing detected when calling xmlrpc_set_type
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php |
Unknown
|
Unknown
|
|||
php5 (Ubuntu) |
Fix Released
|
Undecided
|
Chuck Short | ||
Hardy |
Fix Released
|
Undecided
|
Unassigned | ||
Intrepid |
Fix Released
|
Undecided
|
Marc Deslauriers | ||
Jaunty |
Fix Released
|
Undecided
|
Marc Deslauriers |
Bug Description
Binary package hint: php5-xmlrpc
$ lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04
php5-xmlrpc:
Installed: 5.2.4-2ubuntu5.1
Candidate: 5.2.4-2ubuntu5.1
Version table:
*** 5.2.4-2ubuntu5.1 0
500 http://
100 /var/lib/
5.2.4-2ubuntu5 0
500 http://
The following script reproduces:
<?php
$params = array(new DateTime());
$params[0] = $params[
?>
$ php xmlrpc_datetime.php
*** stack smashing detected ***: php terminated
======= Backtrace: =========
/lib/tls/
/lib/tls/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
php[0x82f35eb]
php(execute+
php(zend_
php(php_
php(main+
/lib/tls/
php[0x8097ec1]
======= Memory map: ========
08048000-0855e000 r-xp 00000000 08:04 323708 /usr/bin/php5
0855e000-08594000 rw-p 00516000 08:04 323708 /usr/bin/php5
08594000-08732000 rw-p 08594000 00:00 0 [heap]
b7178000-b717c000 r-xp 00000000 08:04 2997 /lib/tls/
b717c000-b717e000 rw-p 00003000 08:04 2997 /lib/tls/
b717e000-b7187000 r-xp 00000000 08:04 2994 /lib/tls/
b7187000-b7189000 rw-p 00008000 08:04 2994 /lib/tls/
b7189000-b71bc000 r-xp 00000000 08:04 40256 /usr/lib/
b71bc000-b71bd000 rw-p 00033000 08:04 40256 /usr/lib/
b71bd000-b71cd000 r-xp 00000000 08:04 27924 /usr/lib/
b71cd000-b71ce000 rw-p 0000f000 08:04 27924 /usr/lib/
b71e6000-b71ec000 r-xp 00000000 08:04 323704 /usr/lib/
b71ec000-b71ed000 rw-p 00005000 08:04 323704 /usr/lib/
b71ed000-b71ff000 r-xp 00000000 08:04 323720 /usr/lib/
b71ff000-b7200000 rw-p 00012000 08:04 323720 /usr/lib/
b7200000-b721e000 r-xp 00000000 08:04 32549 /usr/lib/
b721e000-b721f000 rw-p 0001e000 08:04 32549 /usr/lib/
b721f000-b7236000 r-xp 00000000 08:04 323735 /usr/lib/
b7236000-b7237000 rw-p 00017000 08:04 323735 /usr/lib/
b7237000-b724e000 r-xp 00000000 08:04 323746 /usr/lib/
b724e000-b7250000 rw-p 00016000 08:04 323746 /usr/lib/
b7250000-b73ec000 r-xp 00000000 08:04 90534 /usr/lib/
b73ec000-b742f000 rw-p 0019b000 08:04 90534 /usr/lib/
b742f000-b7430000 rw-p b742f000 00:00 0
b7433000-b7446000 r-xp 00000000 08:04 323769 /usr/lib/
b7446000-b7448000 rw-p 00012000 08:04 323769 /usr/lib/
b7448000-b7493000 r-xp 00000000 08:04 3077 /lib/libgcrypt.
b7493000-b7495000 rw-p 0004a000 08:04 3077 /lib/libgcrypt.
b7495000-b74a4000 r-xp 00000000 08:04 39957 /usr/lib/
b74a4000-b74a5000 rw-p 0000e000 08:04 39957 /usr/lib/
b74a5000-b7516000 r-xp 00000000 08:04 627694 /usr/lib/
b7516000-b751b000 rw-p 00071000 08:04 627694 /usr/lib/
b751b000-b7531000 r-xp 00000000 08:04 30923 /usr/lib/
b7531000-b7532000 rw-p 00015000 08:04 30923 /usr/lib/
b7532000-b753e000 r-xp 00000000 08:04 358399 /usr/lib/
b753e000-b753f000 rw-p 0000b000 08:04 358399 /usr/lib/
b753f000-b757b000 r-xp 00000000 08:04 358400 /usr/lib/
b757b000-b757d000 rw-p 0003b000 08:04 358400 /usr/lib/
b757d000-b757e000 rw-p b757d000 00:00 0
b757e000-b75ae000 r-xp 00000000 08:04 41008 /usr/lib/
b75ae000-b75af000 rw-p 0002f000 08:04 41008 /usr/lib/
b75af000-b75ea000 r-xp 00000000 08:04 41074 /usr/lib/
b75ea000-b75eb000 rw-p 0003b000 08:04 41074 /usr/lib/
b75f0000-b75f6000 r-xp 00000000 08:04 323736 /usr/lib/
b75f6000-b75f7000 rw-p 00005000 08:04 323736 /usr/lib/
b75f7000-b7602000 r-xp 00000000 08:04 323745 /usr/lib/
b7602000-b7603000 rw-p 0000a000 08:04 323745 /usr/lib/
b7603000-b7628000 r-xp 00000000 08:04 39913 /usr/lib/
b7628000-b762a000 rw-p 00025000 08:04 39913 /usr/lib/
b762a000-b7630000 rw-p b762a000 00:00 0
b7633000-b7639000 r-xp 00000000 08:04 323747 /usr/lib/
b7639000-b763a000 rw-p 00005000 08:04 323747 /usr/lib/
b763a000-b7647000 r-xp 00000000 08:04 323754 /usr/lib/
b7647000-b7648000 rw-p 0000d000 08:04 323754 /usr/lib/
b7648000-b7651000 r-xp 00000000 08:04 91233 /lib/libpam.
b7651000-b7652000 rw-p 00008000 08:04 91233 /lib/libpam.
b7652000-b7755000 r-xp 00000000 08:04 32594 /usr/lib/
b7755000-b775c000 rw-p 00102000 08:04 32594 /usr/lib/
b775c000-b775d000 rw-p b775c000 00:00 0
b775d000-b7773000 r-xp 00000000 08:04 29854 /usr/lib/
b7773000-b7774000 rw-p 00016000 08:04 29854 /usr/lib/
b7774000-b777b000 r--s 00000000 08:04 31126 /usr/lib/
b777b000-b77ba000 r--p 00000000 08:04 35546 /usr/lib/
b77d5000-b77df000 r-xp 00000000 08:04 3693 /lib/libgcc_s.so.1
b77df000-b77e0000 rw-p 0000a000 08:04 3693 /lib/libgcc_s.so.1
b77f8000-b77fa000 rw-p b77f8000 00:00 0
bAborted
Changed in php5 (Ubuntu Intrepid): | |
assignee: | nobody → Marc Deslauriers (mdeslaur) |
Changed in php5 (Ubuntu Jaunty): | |
assignee: | Chuck Short (zulcss) → Marc Deslauriers (mdeslaur) |
Seems to have ignored my package choice...