mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-25 13:19:59 -04:00
increase COMPRESSOR_BUFFER_SIZE to avoid segfaults
This commit is contained in:
parent
888b5920e6
commit
1fe4e185f4
@ -147,7 +147,7 @@ bool isVerbose() {
|
||||
}
|
||||
|
||||
/* For compression */
|
||||
#define COMPRESSOR_BUFFER_SIZE 5000000
|
||||
#define COMPRESSOR_BUFFER_SIZE 10000000
|
||||
static Bytef *compr = (Bytef *)malloc(COMPRESSOR_BUFFER_SIZE);
|
||||
static uLongf comprLen;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user