November 6, 2008
View 6a21552

have configure define NDEBUG unless we use --enable-debug, instead of having to #ifndef CL_DEBUG #define NDEBUG #endif in each .c file that uses assert. If you want assertions enabled you'll need to use --enable-debug to configure, as until now, no change there.

Török Edvin authored on 2008/11/06 23:27:18
November 4, 2008
View ad0fd72

* libclamav/matcher-ac.c (cli_ac_addsig): need to use mpool allocated memory for ->str * libclamav/mpool.c (mp_malloc, cli_mp_hex2str, check_all): introduce hex2str wrapper * libclamav/mpool.h (mp_t, cli_mp_hex2str): introduce hex2str wrapper * libclamav/regex_list.c (add_hash): need to use mpool allocated memory for arg to bm_addpatt

Török Edvin authored on 2008/11/04 19:40:31
View 563582a

fix unit tests when mpool is activated

Török Edvin authored on 2008/11/04 04:26:57
October 22, 2008
View e21657d

a faster and more compact allocator

aCaB authored on 2008/10/22 08:55:11
October 20, 2008
View 1e2969a

reenable non-mpooll builds

aCaB authored on 2008/10/20 02:57:09
View d22176e

MERGE COMPLETE

aCaB authored on 2008/10/20 02:27:37
View 0d9dbde

some leaks fixed

aCaB authored on 2008/10/20 01:16:49
October 19, 2008
View b36e9f8

mempool for regex_list/phishcheck

Török Edvin authored on 2008/10/19 21:27:59
View 29f2416

fix hexnew allocation, mempool for regex_list

Török Edvin authored on 2008/10/19 21:13:24
October 18, 2008
View a5746c2

TODO: - make regex* and hash* behave properly (either include or exclude from the pool entirely) - cleanup the ifdefs and make a single macro - fixup the proto for dconf (re-enables make check in mpool-mode) - check the possibility to entirely wipe frees from error paths in mpool-mode (this totally simplifies the code)

aCaB authored on 2008/10/18 21:03:08
View 885c2bf

builds with and without mpools (#define USE_MPOOL) but it's still very broked

aCaB authored on 2008/10/18 10:04:14
View 0728972

(hoepfully) completed db load, regexes and hashes missing need to recheck strlen(hex2string) bugs, need to figure how to hangle regexes and hashes: edwiiiiiiin!!! :D

aCaB authored on 2008/10/18 09:16:23
October 8, 2008
View ed65443

fix whitespace

Török Edvin authored on 2008/10/08 05:04:50
September 16, 2008
View 3baee50

convert a checked fixture into an unchecked fixture, it is sufficient if that setup code is run once, this speeds up the tests. fix some helgrind warnings (the phishcheck struct is going to be freed anyway, so writing something to it doesn't help anyway)

Török Edvin authored on 2008/09/16 19:32:20
August 25, 2008
View 341faf6

libclamav: drop obsolete code in matcher-ac

Tomasz Kojm authored on 2008/08/25 23:07:18