1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 08:28:26 +02:00

MFH: Resolved bug #34240.

This commit is contained in:
Ilia Alshanetsky
2005-09-02 17:25:16 +00:00
parent abcfcd3f2e
commit 2b32ff53cd
+1 -1
View File
@@ -644,7 +644,7 @@ static int php_do_deflate(uint str_length, Bytef **p_buffer, uint *p_buffer_len,
if (do_end) {
err = deflate(&ZLIBG(stream), Z_FINISH);
buffer[outlen - ZLIBG(stream).avail_out] = '\0';
buffer[outlen + start_offset - ZLIBG(stream).avail_out] = '\0';
}
*p_buffer = buffer;