Commit Graph

20 Commits

Author SHA1 Message Date
Tomasz Kojm
cc447ac82c configure, libclamav: fix compile issues on IRIX (bb#1532) 2009-08-04 23:17:28 +02:00
Török Edvin
a1c9ad2cf3 fix distcheck.
git-svn: trunk@4836
2009-02-19 08:50:04 +00:00
Török Edvin
fe389c841d reorder fields (bb #1144)
git-svn: trunk@4830
2009-02-18 19:53:28 +00:00
Török Edvin
5cd3f734a9 add lots of warnings flags to 'make distcheck',
and turn some warnings into errors (bb #1092)

git-svn: trunk@4129
2008-08-21 20:21:43 +00:00
aCaB
937ade082c fix collisions in ole2/vba
git-svn: trunk@4068
2008-08-03 14:30:33 +00:00
Török Edvin
2e11bcdfd9 performance improvements for URL matching (bb #725, bb #650):
* use a suffix AC-trie and a shift-or FSM to filter
* rewrite the URL regex in C
* use a perfect hash to lookup TLD and ccTLD, instead of a regex
* TODO: suffixes having a common prefix: loop over all of them
	cli_ac_free: multiple virname pointing to same location


git-svn: trunk@3978
2008-07-23 13:51:57 +00:00
Török Edvin
ca12025309 optimize hashtab_find
git-svn: trunk@3892
2008-06-17 16:44:55 +00:00
Török Edvin
6bba75b225 hashtab_insert should return pointer to newly inserted element. Fix grow bug.
git-svn: trunk@3891
2008-06-16 21:21:11 +00:00
Török Edvin
53321a4cb3 avoid using C99 flexible array members (bb #1039)
git-svn: trunk@3875
2008-06-02 15:43:46 +00:00
Tomasz Kojm
72ce4b70eb improve handling of PDF, CAB, RTF, OLE2 and HTML files (sync with branch/0.93)
git-svn: trunk@3862
2008-05-27 16:30:47 +00:00
Tomasz Kojm
2023340a41 update copyrights and stick more files to GPLv2; move and add more credits to the AUTHORS file; add COPYING.BSD
git-svn: trunk@3749
2008-04-02 15:24:51 +00:00
Török Edvin
c3671221da introduce hashset_* functions
use a faster hash function
use hashset to load mdb signatures
regenerate files due to hash function change
enable hash function profiling during generation



git-svn: trunk@3589
2008-02-06 18:53:23 +00:00
Török Edvin
b8a505eeda optimize u16_normalize, encode as hex entities (Ȁ)
update dependencies to rebuild on hashtab.c change
support keys with common prefix by checking match length
update due to hashtab change


git-svn: trunk@3536
2008-01-23 20:19:14 +00:00
Török Edvin
b0b8398b48 * contrib/entitynorm:
* use fewer entities, browsers don't support all either.
		       	* update to generate code for new entconv.
		       	* no need for configure, use just a simple Makefile
			 (it is an internal tool)
  libclamav/entconv.c, hashtab.c, htmlnorm.c:
			* don't allocate memory for each entity_norm call.
			* don't touch length of mmaped area (bb #785)
			* update htmlnorm to use new entity_norm


git-svn: trunk@3515
2008-01-21 15:52:21 +00:00
Török Edvin
0bc4d4742a fix a gcc warning (bb #786). Thanks to Gianluigi Tiesi <sherpya*netfarm.it>
git-svn: trunk@3513
2008-01-21 14:29:49 +00:00
Török Edvin
38a0019993 stick to GPLv2
git-svn: trunk@3121
2007-06-30 11:50:56 +00:00
Török Edvin
462e8e5eb3 apply next set of patches for enabling phishing code
git-svn: trunk@3043
2007-05-01 16:46:52 +00:00
Török Edvin
43ecd9a14b #include cleanup, Code cleanup, remove commented-out code, fix some gcc -W* warnings
git-svn: trunk@2931
2007-03-11 11:14:35 +00:00
Török Edvin
3c882206b1 Fix entity list generator to support more entities, including &amp; (bb #391)
Include new entitylist generated using contrib/entitynorm/generate_entitylist (bb #391)
Fix bug in growing hash tables (must use hash on new  table) 


git-svn: trunk@2920
2007-03-08 20:30:49 +00:00
Sven Strickroth
a99111f050 remove old CVS-stuff and make the repository look more like SVN
git-svn: trunk@2755
2007-02-17 19:02:20 +00:00