php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42217 gzcompress/gzcompress fails with size > 65535 (6mb)
Submitted: 2007-08-06 06:23 UTC Modified: 2008-07-25 01:00 UTC
Votes:8
Avg. Score:4.4 ± 0.9
Reproduced:6 of 6 (100.0%)
Same Version:3 (50.0%)
Same OS:3 (50.0%)
From: vodkaproof at gmail dot com Assigned:
Status: No Feedback Package: Zlib related
PHP Version: 4.4.7 OS: debian
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: vodkaproof at gmail dot com
New email:
PHP Version: OS:

 

 [2007-08-06 06:23 UTC] vodkaproof at gmail dot com
Description:
------------
$big_string = <string larger than 65535(6MB) in size>

$big_string = gzcompress ($big_string, 1);
$big_string = gzuncompress ($big_string);

print $big_string;

The resulting $big_string is cut off after 65535 bytes. 

Bug report was created but ignored.
http://bugs.php.net/bug.php?id=32306


I didn't know of this bug, now I have 200gb of corrupted mysql records. It will take weeks to recover.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-25 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 01:01:30 2024 UTC