mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-07 09:17:29 +00:00
- restore correct window_size
This commit is contained in:
1 parent
eeba0b5681
commit
f330c8ab4e
1 file changed
+1
-1
+1
-1
@@ -1570,7 +1570,7 @@ static int phar_open_from_fp(php_stream* fp, char *fname, int fname_len, char *a
|
||||
const char gz_magic[] = "\x1f\x8b\x08";
|
||||
const char bz_magic[] = "BZh";
|
||||
char *pos, test = '\0';
|
||||
const int window_size = 1024 + sizeof(token);
|
||||
const int window_size = 1024;
|
||||
char buffer[1024 + sizeof(token)]; /* a 1024 byte window + the size of the halt_compiler token (moving window) */
|
||||
const long readsize = sizeof(buffer) - sizeof(token);
|
||||
const long tokenlen = sizeof(token) - 1;
|
||||
|
||||
Reference in new issue
Block a user