Török Edvin
5874339ee0
Fix crash with IPV6 download in freshclam
...
git-svn: trunk@4077
17 years ago
Török Edvin
add738d28c
portability fixes
...
if there is a version.h.static use that instead of output from svnversion
use get_version(), tools outside libclamav shouldn't rely on libclamav version
exception: clamconf itself needs both, and the milter shows both
git-svn: trunk@4076
17 years ago
aCaB
945bb9a349
add test/clam.impl.zip
...
git-svn: trunk@4075
17 years ago
aCaB
5e07cfed01
unit tests for uniq
...
git-svn: trunk@4074
17 years ago
aCaB
ac90139491
add clam.ole.doc
...
git-svn: trunk@4073
17 years ago
Török Edvin
b51745f53e
another try at fixing the build
...
git-svn: trunk@4072
17 years ago
Török Edvin
a5f0eabf18
forgot to add file
...
git-svn: trunk@4071
17 years ago
Török Edvin
04f9bedf4b
use SVN revision in version info
...
TODO: replace every remaining use of VERSION with cl_retver()
git-svn: trunk@4070
17 years ago
aCaB
53ed2cb75c
uniq update
...
git-svn: trunk@4069
17 years ago
aCaB
937ade082c
fix collisions in ole2/vba
...
git-svn: trunk@4068
17 years ago
Török Edvin
e6f14011ef
fix crash in SO_search when len == 1
...
also skip matching too short strings (they won't match anyway)
git-svn: trunk@4067
17 years ago
Török Edvin
4a0bd44290
Multiscan queues a lot of scan tasks. If thread_idle wasn't zero when multiscan
...
started queueing, it will only spawn at most one thread, and keep queueing
without spawning more threads (because threads_idle now non-zero), but the idle
thread doesn't get a chance to pick up the tasks.
Fix this by testing whether we have enough idle threads to pick up the items in
the work queue. If there aren't then spawn some more until max limit is reached,
or we have enough idle threads to handle all tasks in the queue.
git-svn: trunk@4066
17 years ago
Tomasz Kojm
6484d65227
clamconf: handle multiple select options
...
git-svn: trunk@4065
17 years ago
Tomasz Kojm
4439627cfe
add Include/ExcludePUA
...
git-svn: trunk@4064
17 years ago
Tomasz Kojm
c657d4d8b3
man page update for PUA include/exclude
...
git-svn: trunk@4063
17 years ago
Török Edvin
e2354bdb46
fix infloop in screnc detection code (introduced around SVN r3945).
...
generic safeguard against infinite loops due to state == next_state
add testcase
git-svn: trunk@4062
17 years ago
Török Edvin
063ddd53f8
optimization: use the filter to avoid cli_bm_scanbuff calls
...
bugfix: SO_search returns -1 when it doesn't find a match,
code was assuming it returns 0.
git-svn: trunk@4061
17 years ago
Török Edvin
9a22341892
apply patch from bb #885
...
clamd is unusable on OpenBSD and some other BSD versions without it.
It has a C_BSD wrapper around it so it shouldn't affect anything else.
git-svn: trunk@4060
17 years ago
aCaB
8cc8f8100f
missing include in clamd.c
...
git-svn: trunk@4059
17 years ago
Török Edvin
fb6208fd12
fixes for bb #177 :
...
if all we have is a script in a html file still normalize it
keep global scope, we need it to parse variable names in the correct scope
git-svn: trunk@4058
17 years ago
Török Edvin
6ba8b9503c
lowercase JS parser output
...
git-svn: trunk@4057
17 years ago
Török Edvin
2e64bd9fc5
add test for cli_hex2str (bb #930 )
...
git-svn: trunk@4056
17 years ago
Török Edvin
cfef445ddc
use PATH_MAX instead of hardcoded limit (bb #930 )
...
git-svn: trunk@4055
17 years ago
Török Edvin
e107e8cff9
not needed, those email headers are broken,
...
and a MUA won't interpret them either.
git-svn: trunk@4054
17 years ago
Török Edvin
1126559f77
flag for U: lines, format is one of:
...
U:MD5
U1:MD5
U2:MD5
add unit test for md5 url match
git-svn: trunk@4053
17 years ago
Török Edvin
063bfe5e00
rename hashes -> md5_hashes
...
git-svn: trunk@4052
17 years ago
Török Edvin
b3b6f0e436
fix valgrind warning
...
git-svn: trunk@4051
17 years ago
Török Edvin
b43205cb6a
implement md5 URL match
...
git-svn: trunk@4050
17 years ago
Török Edvin
b611b5ff71
initial support for matching URLs against MD5 hashes
...
git-svn: trunk@4049
17 years ago
aCaB
91e8cee011
enable upx-lzma
...
git-svn: trunk@4048
17 years ago
Tomasz Kojm
bc86a381c3
libclamav: scan disasm data with type-8 sigs (bb#895)
...
git-svn: trunk@4047
17 years ago
Tomasz Kojm
b023c36d4b
libclamav: add support for loading specific PUA categories (bb#939)
...
clamd: new options ExcludePUA and IncludePUA
clamscan: new switches --exclude-pua and --include-pua
git-svn: trunk@4046
17 years ago
Török Edvin
970ab7d064
put back d_ino check
...
git-svn: trunk@4045
17 years ago
Török Edvin
1cb424e625
fix build error
...
git-svn: trunk@4044
17 years ago
Török Edvin
307e51c124
jsparse-keywords.gperf is an intermediate file, no need to have it in EXTRA_DIST
...
git-svn: trunk@4043
17 years ago
Török Edvin
1eb943f3fc
use automake for a basic check that the installed programs work.
...
currently only tests clamscan and sigtool
database: 0 sized .cvd files were still installed, because exit 0 didn't stop
the entire rule. fixed
git-svn: trunk@4042
17 years ago
Török Edvin
d66b881218
add missing header
...
git-svn: trunk@4041
17 years ago
Török Edvin
b6927a7c77
fix 'make distcheck':
...
add missing files to EXTRA_DIST, SOURCES
update CLEANFILES
.conf files and .cvd files are not removed during uninstall on purpose =>
whitelist them in distuninstallcheck
git-svn: trunk@4040
17 years ago
Török Edvin
29eb2189af
add more test files to test/
...
copy testfiles to contrib/test
git-svn: trunk@4039
17 years ago
Török Edvin
7a5545d11d
Some split testfiles were still detected.
...
Split them in a different way.
git-svn: trunk@4038
17 years ago
Török Edvin
7f0d1148d6
clamd, clamscan, libclamav: new option HeuristicScanPrecedence (bb #649 )
...
docs/: update docs for HeuristicScanPrecedence and ScanPartialMessages
unit_tests/: add test for HeuristicScanPrecedence
git-svn: trunk@4037
17 years ago
aCaB
f2b223fe33
upx/lzma
...
git-svn: trunk@4036
17 years ago
Török Edvin
8ee9a33349
fix wrong path
...
git-svn: trunk@4035
17 years ago
Török Edvin
751f84706b
avoid calling non-async-signal-safe functions between fork()
...
and exec() (bb #889 )
unit_tests: add unit-test for virusaction
git-svn: trunk@4034
17 years ago
Tomasz Kojm
9a03413e9b
clamscan, clamav-milter: catch and ignore SIGXFSZ; display warning if system limits are too restrictive (bb#994)
...
git-svn: trunk@4033
17 years ago
Török Edvin
340ed7f370
make script more perl like
...
git-svn: trunk@4032
17 years ago
Török Edvin
4270f93bcc
(bb #913 , #916 )
...
17 years ago
Török Edvin
88cea7b801
fix memory leak
...
git-svn: trunk@4030
17 years ago
Tomasz Kojm
5a66732fdc
clamd: revert patch from bb#1028 (bb#1113)
...
git-svn: trunk@4029
17 years ago
Török Edvin
2b9e5d2971
drop a redundant check from phishcheck.
...
enable debug output in unit tests, they are dumped to
unit_tests/test-stderr.log.
git-svn: trunk@4028
17 years ago