Commit Graph

547 Commits

Author SHA1 Message Date
Tomasz Kojm
6038397ea6 filetype detection improvements
git-svn: trunk@3662
2008-02-20 22:04:48 +00:00
Török Edvin
d5a5fef965 * libclamav/htmlnorm.c: generate only nocomment.html (always contains script too) and notags.html (bb #851)
* libclamav/hashtab.h:  len and data were reversed, invalidating entitylist.h
  * libclamav/filetypes_int.h: improve HTML filetype detection (bb #853)


git-svn: trunk@3660
2008-02-20 15:49:43 +00:00
Török Edvin
08f0150f16 don't scan comment.html and script.html.
add failsafe dconf option. (bb #851) 
set scanscript limit to 512k
TODO don't generate above 2 files
better condition for bb #849


git-svn: trunk@3659
2008-02-19 18:43:42 +00:00
Tomasz Kojm
d6bf90e6f0 only scan normalised text with type-7 sigs
git-svn: trunk@3655
2008-02-19 13:42:24 +00:00
Török Edvin
6385199511 textnorm.c: initialiaze each field
scanners.c: decrease limit on scanscript


git-svn: trunk@3652
2008-02-18 18:48:52 +00:00
aCaB
4caa694e8b use system zconf
git-svn: trunk@3651
2008-02-18 11:51:29 +00:00
Török Edvin
8f81a5f5f0 fix another out of memory condition (bb #849)
thanks to Gianluigi Tiesi <sherpya*netfarm.it>


git-svn: trunk@3650
2008-02-18 10:44:41 +00:00
Török Edvin
d23bc0306d fix out of memory handling (bb #849).
git-svn: trunk@3649
2008-02-18 09:23:36 +00:00
aCaB
215765049d bb#845
git-svn: trunk@3648
2008-02-17 23:22:00 +00:00
Tomasz Kojm
fa97314dd7 handle null ctx, required for sigtool (bb#846)
git-svn: trunk@3647
2008-02-17 10:06:14 +00:00
Török Edvin
aeebf2ea28 cannot use if in cli_dbgmsg() macro
git-svn: trunk@3646
2008-02-16 15:05:27 +00:00
Török Edvin
8a65cd5aba fix location of nsis headers, needed for 'make dist' to work
git-svn: trunk@3644
2008-02-16 11:05:40 +00:00
Török Edvin
7be8d871f6 replace cli_dbgmsg with a macro that avoids calling
the real function if we're not debugging. Statically
predict this branch as untaken.
updates due to above change


git-svn: trunk@3643
2008-02-15 20:45:51 +00:00
Török Edvin
c77ebdab69 need to include clamav-config.h (thanks Nigel)
git-svn: trunk@3639
2008-02-15 12:24:45 +00:00
Török Edvin
59838e6c64 change order of checks whitelist/isURL
git-svn: trunk@3637
2008-02-14 20:58:03 +00:00
Tomasz Kojm
6506412549 fix handling of root->ac_pattable (bb#837)
git-svn: trunk@3636
2008-02-14 20:45:18 +00:00
aCaB
08d0fdc5b1 check limits in ole2
git-svn: trunk@3635
2008-02-14 20:34:02 +00:00
aCaB
561b5297bd blob limits
git-svn: trunk@3633
2008-02-14 18:34:20 +00:00
aCaB
965220979f warnings in pdf and tar
git-svn: trunk@3632
2008-02-14 15:38:59 +00:00
aCaB
d0d1afd7c7 untar OTF
git-svn: trunk@3631
2008-02-14 15:24:07 +00:00
aCaB
84f4e2bbc0 revert nsis zlibs
git-svn: trunk@3630
2008-02-14 02:12:13 +00:00
Török Edvin
d6df9ffb5a use pthread_cond_* instead of usleep() in MULTISCAN (bb #758)
enable entconv by default
others.c: fix compiler warning
regex_list.c: remove unused code, because a better solution is scheduled for 0.94 (bb #725)


git-svn: trunk@3627
2008-02-13 10:57:33 +00:00
Tomasz Kojm
f0f7f92f9a merge security fixes
git-svn: trunk@3626
2008-02-13 10:34:58 +00:00
Török Edvin
ec774193d3 SVN r3619 broke phishing detection, fixed it
git-svn: trunk@3625
2008-02-13 10:24:51 +00:00
Nigel Horne
a5afcb6772 Fix compilation error on Cygwin
git-svn: trunk@3623
2008-02-12 11:33:47 +00:00
Nigel Horne
913f211edd Code tidy
git-svn: trunk@3622
2008-02-12 11:27:23 +00:00
aCaB
d070d47570 otf pdf scanning
git-svn: trunk@3620
2008-02-12 00:58:49 +00:00
Török Edvin
0664128a61 tagless version of HTML file (bb #162)
fix compiler warning


git-svn: trunk@3619
2008-02-11 21:41:58 +00:00
aCaB
2ac2095aa5 limits in scanbuff
git-svn: trunk@3618
2008-02-11 21:31:39 +00:00
aCaB
41273d0802 quick fix for edwin
git-svn: trunk@3617
2008-02-11 21:15:15 +00:00
aCaB
86e209d667 more limits
git-svn: trunk@3616
2008-02-11 20:19:20 +00:00
Tomasz Kojm
c754386654 mail: scan text attachments and decoded base64 bodies also with type 4 sigs (bb#378)
git-svn: trunk@3615
2008-02-11 18:34:28 +00:00
aCaB
e7a322eae4 newlimits merge
git-svn: trunk@3614
2008-02-11 17:38:21 +00:00
aCaB
a93ecd0957 fixme
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3612 77e5149b-7576-45b1-b177-96237e5ba77b
2008-02-11 16:48:34 +00:00
Török Edvin
f87a92ca87 replace getc() with getc_unlocked() when available. This
avoids a function call on systems that have getc_unlocked()
implemented as a macro.


git-svn: trunk@3611
2008-02-11 16:48:14 +00:00
aCaB
5a0c148d68 gotta love brackets
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3609 77e5149b-7576-45b1-b177-96237e5ba77b
2008-02-11 13:20:44 +00:00
aCaB
bbd6ca3fbb more limits and ole2 collision fixup
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3608 77e5149b-7576-45b1-b177-96237e5ba77b
2008-02-11 13:18:41 +00:00
Tomasz Kojm
7db77fbf36 improve I/O error handling in cli_filetype2 (bb#818)
git-svn: trunk@3605
2008-02-11 10:21:03 +00:00
aCaB
ec32d1d8cb oops
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3603 77e5149b-7576-45b1-b177-96237e5ba77b
2008-02-08 22:16:27 +00:00
aCaB
c17ed38ceb nsis
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3602 77e5149b-7576-45b1-b177-96237e5ba77b
2008-02-08 22:15:52 +00:00
Tomasz Kojm
ed9753e99d add support for signature whitelisting with daily.ign/local.ign (bb#779)
git-svn: trunk@3601
2008-02-08 19:32:45 +00:00
aCaB
2455584143 sync to trunk
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3599 77e5149b-7576-45b1-b177-96237e5ba77b
2008-02-08 17:50:44 +00:00
Török Edvin
282417339c quote macro arguments, group AC_C_* macros (bb #452),
thanks to Markus Elfring <Markus.Elfring*web.de>
move ld --version-script check after compiler checks
run autoreconf (new libtool)



git-svn: trunk@3598
2008-02-08 12:38:09 +00:00
aCaB
f7fb0b42d3 add new version
git-svn: trunk@3597
2008-02-08 12:14:59 +00:00
aCaB
6ce73a6c01 old file removed
git-svn: trunk@3596
2008-02-08 12:06:24 +00:00
Török Edvin
2a138cc577 reduce stack usage of cli_scanscript (bb #819)
git-svn: trunk@3595
2008-02-08 12:06:24 +00:00
aCaB
850db69e9e update limits
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3594 77e5149b-7576-45b1-b177-96237e5ba77b
2008-02-08 01:57:50 +00:00
aCaB
d91ab809a2 initial rewrite of limits
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3591 77e5149b-7576-45b1-b177-96237e5ba77b
2008-02-06 21:19:10 +00:00
Tomasz Kojm
6b656d3608 compatibility with new matcher extension
git-svn: trunk@3590
2008-02-06 20:48:34 +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