#20535 [NEW]: zLib crashes when trying to gzuncompress
| From: | sroussey at network54 dot com | Date: | Thu, 21 Nov 2002 06:48:59 +0000 |
| Subject: | #20535 [NEW]: zLib crashes when trying to gzuncompress | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-25383@lists.php.net to get a copy of this message | ||
From: sroussey@network54.com
Operating system: RedHat 7.2
PHP version: 4.2.3
PHP Bug Type: Zlib Related
Bug description: zLib crashes when trying to gzuncompress
PHP crashes when using gzuncompress(). This happens rarely, but repeatably.
Most cases it is OK, but sometimes it crashes. I have one such string that
will make PHP and zLib crash. I will have to send it privately, however,
since it contains customer data (in compressed form).
There is a way around the problem: If I manually supply a large enough
length argument, it will not crash. Seems like it could be a boundary
condition, though maybe it is inside zLib itself.
Compiled and linked zLib is 1.1.4.
--
Edit bug report at http://bugs.php.net/?id=20535&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20535&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20535&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20535&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20535&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20535&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20535&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20535&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20535&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20535&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20535&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20535&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20535&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20535&r=isapi