1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 00:48:25 +02:00

Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix bug #67865
This commit is contained in:
Michael Wallner
2014-08-21 22:42:14 +02:00
2 changed files with 2 additions and 2 deletions
+1
View File
@@ -34,6 +34,7 @@ PHP NEWS
- Zlib:
. Fixed bug #67724 (chained zlib filters silently fail with large amounts of
data). (Mike)
. Fixed bug #67865 (internal corruption phar error). Mike
21 Aug 2014, PHP 5.5.16
+1 -2
View File
@@ -302,8 +302,7 @@ static php_stream_filter *php_zlib_filter_create(const char *filtername, zval *f
data->strm.zalloc = (alloc_func) php_zlib_alloc;
data->strm.zfree = (free_func) php_zlib_free;
data->strm.avail_out = data->outbuf_len = 0x8000;
data->inbuf_len = 2048;
data->strm.avail_out = data->outbuf_len = data->inbuf_len = 0x8000;
data->strm.next_in = data->inbuf = (Bytef *) pemalloc(data->inbuf_len, persistent);
if (!data->inbuf) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed allocating %zd bytes", data->inbuf_len);