#35633 [NEW]: gzdeflate function causes Apache Segmentation fault
| From: | krang at krang dot org dot uk | Date: | Sun, 11 Dec 2005 16:36:37 +0000 |
| Subject: | #35633 [NEW]: gzdeflate function causes Apache Segmentation fault | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-90230@lists.php.net to get a copy of this message | ||
From: krang at krang dot org dot uk
Operating system: Red Hat 9
PHP version: 4.4.1
PHP Bug Type: Zlib Related
Bug description: gzdeflate function causes Apache Segmentation fault
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 bug report at http://bugs.php.net/?id=35633&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35633&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35633&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35633&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=35633&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35633&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35633&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35633&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35633&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35633&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35633&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35633&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35633&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35633&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35633&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35633&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35633&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35633&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35633&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35633&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35633&r=mysqlcfg