[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b
aCaB
acab at clamav.net
Sun Apr 4 01:08:12 UTC 2010
The following commit has been merged in the debian/unstable branch:
commit ebf10d4af3a7052e37d8048b220ff73d7ed0a32e
Author: aCaB <acab at clamav.net>
Date: Sat Oct 24 15:08:58 2009 +0200
raise mpool max poolsize to 8M
diff --git a/ChangeLog b/ChangeLog
index ffbe77d..e1dcf5e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat Oct 24 15:06:50 CEST 2009 (acab)
+------------------------------------
+ * libclamav/mpool.c: increase max pool to 8M to allow loading huge custom dbs
+
Sat Oct 24 14:27:10 EEST 2009 (edwin)
------------------------------------
* clamd/scanner.c, libclamav/others_common.c: fix error path leak (bb #1711)
diff --git a/libclamav/mpool.c b/libclamav/mpool.c
index 0f9666f..186447a 100644
--- a/libclamav/mpool.c
+++ b/libclamav/mpool.c
@@ -117,6 +117,9 @@ static const unsigned int fragsz[] = {
507976, /* 9 0 USE */
525976, /* 1 0 USE */
1048576, /* 0 0 USE/POW2 */
+2097152,
+4194304,
+8388608,
/* MAX_ALLOCATION is 184549376 but that's really not need here */
};
@@ -182,6 +185,9 @@ static const unsigned int fragsz[] = {
262144, /* 0 0 POW2 */
525752, /* 1 0 USE */
1048576, /* 0 0 USE/POW2 */
+2097152,
+4194304,
+8388608,
};
#endif
#define FRAGSBITS (sizeof(fragsz)/sizeof(fragsz[0]))
--
Debian repository for ClamAV
More information about the Pkg-clamav-commits
mailing list