increase COMPRESSOR_BUFFER_SIZE to avoid segfaults

This commit is contained in:
kelson42 2012-11-22 20:14:12 +00:00
parent 888b5920e6
commit 1fe4e185f4

View File

@ -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;