jparise / php-python

Embedded Python Extension for PHP
http://pecl.php.net/package/python
MIT License
68 stars 16 forks source link

Ported: Bug #56107 segfault with python.so 0.7.0 #3

Open nickl- opened 12 years ago

nickl- commented 12 years ago

Bug #56107 segfault with python.so 0.7.0

Submitted: 2004-06-20 15:51 UTC Modified: 2004-06-29 12:57 UTC
From: christian at freemails dot at Assigned:
Status: Open Package: python (PECL) PHP Version: unknown OS: Linux 2.6.5 Private report: No CVE-ID:

[2004-06-20 15:51 UTC] christian at freemails dot at

Description:

If I load python.so php crashs with a segfault. This happens with 0.7.0 but not with 0.6.0. (I tried both on my machine but of course I can only guess)

Reproduce code:

<?php 
dl("python");
phpinfo();
 ?>

Actual result:

Starting program: /usr/bin/php torrent.php

Program received signal SIGSEGV, Segmentation fault.
0x4137c825 in strtok () from /lib/libc.so.6
(gdb) bt
#0  0x4137c825 in strtok () from /lib/libc.so.6

[2004-06-29 12:57 UTC] christian at freemails dot at well, this was tested with 4.3.7, so I can�t say anything about older releases. Just as note