Tomasz Kojm
5b13eab860
HPUX fix (bb#1130)
...
git-svn: trunk@4093
17 years ago
Tomasz Kojm
a45c7039c1
shut up some gcc warnings
...
git-svn: trunk@4092
17 years ago
Tomasz Kojm
ec285505da
unit_tests/check_matchers.c: add tests for cli_(ac|bm)_scanbuff
...
git-svn: trunk@4091
17 years ago
Tomasz Kojm
f7677a216b
another BeOS fix
...
git-svn: trunk@4090
17 years ago
Tomasz Kojm
da5717a8c3
disable gethostbyname_r on BeOS
...
git-svn: trunk@4089
17 years ago
aCaB
3145cde0a6
fix format for ZMD sigs in debug stream
...
git-svn: trunk@4088
17 years ago
aCaB
55144c4766
work around non reentrant lresolv
...
git-svn: trunk@4087
17 years ago
aCaB
0217341d91
make milter compile even without resolv.h - bb#1125
...
git-svn: trunk@4086
17 years ago
aCaB
20699d4fed
make milter compile even without resolv.h - bb#1125
...
git-svn: trunk@4085
17 years ago
Tomasz Kojm
2624c77022
libclamav/ole2_extract: don't return CL_BREAK in cli_ole2_extract() (bb#1123)
...
git-svn: trunk@4084
17 years ago
Török Edvin
30a893af13
missed one
...
git-svn: trunk@4083
17 years ago
Török Edvin
ab9813e762
typo
...
git-svn: trunk@4082
17 years ago
Török Edvin
b4965c4861
fix typo
...
portability fix for clamd_fdscan
git-svn: trunk@4081
17 years ago
Török Edvin
c1a133a07b
add file descriptor passing support to clamdscan (from contrib/clamd_fdscan)
...
git-svn: trunk@4080
17 years ago
Török Edvin
3910124321
remove contrib/phishing/test, we now have a real unit test in unit_tests/
...
/usr/share/autotools-dev/examples/autogen says mkinstalldirs not needed, the
Makefiles define it as $(install_sh) -d, so remove.
git-svn: trunk@4079
17 years ago
Török Edvin
dfc0c031cb
if there is a version.h.static use that instead of output from svnversion
...
Makefile portability fixes
fix assert failure
add lcov to top level makefile
cleanup after lcov when you run make clean (bb #1112 )
fix parsing of [^.] character class
fix parsing of [r-t]
fix handling of @ for URL hashes
fix handling of &# inside URLs
drop some dead code
more unit tests for str
portability fixes
git-svn: trunk@4078
17 years ago
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