#35633 [Com]: gzdeflate function causes Apache Segmentation fault
ID: 35633
Comment by: judas dot iscariote at gmail dot com
Reported By: krang at krang dot org dot uk
Status: Open
Bug Type: Zlib Related
Operating System: Red Hat 9
PHP Version: 4.4.1
New Comment:
use:
http://snaps.php.net/php4-STABLE-latest.tar.bz2
Previous Comments:
------------------------------------------------------------------------
[2005-12-11 19:47:23] krang at krang dot org dot uk
I'm really sorry, I cant upgrade PHP that simply... The problem is
occurring on a production server with software which is not quite ready
for PHP 5.
------------------------------------------------------------------------
[2005-12-11 18:44:15] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
------------------------------------------------------------------------
[2005-12-11 17:36:37] krang at krang dot org dot uk
Description:
------------
Sorry, I don't know much about the gzdeflate() function, but it appears
in one of the libraries I use (pclzip.lib.php) to create zip files.
When it gets executed, it always causes a "Segmentation fault" on
Apache 1.3.34 (not sure about other versions)
I have re-compiled PHP 4.4.1, and done "make test" with no problems.
This is my configure line:
./configure
--prefix=/opt/php
--with-apxs=/opt/apache/bin/apxs
--with-config-file-path=/etc/
--with-jpeg-dir=/usr/local/
--with-zlib
--with-gd
--with-mysql=/opt/mysql/
--with-openssl
--with-kerberos
Reproduce code:
---------------
<?php
gzdeflate('smeg');
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35633&edit=1
Thread (7 messages)