Török Edvin
0ef9c88167
add some valgrind suppressions (bb #1189 )
...
git-svn: trunk@4219
17 years ago
aCaB
01022e6131
milter: segv on error path x2
...
git-svn: trunk@4218
17 years ago
aCaB
468c21733f
milter: segv on error path
...
git-svn: trunk@4217
17 years ago
Török Edvin
2865ac2b93
fix matching across scanbuffer boundaries for type 7 signatures (bb #1210 ).
...
git-svn: trunk@4216
17 years ago
Török Edvin
dc36f0d70c
strip spaces from URL before checking that it is a URL
...
git-svn: trunk@4215
17 years ago
Török Edvin
048725d0d6
wrap screnc output in script tags, so that the HTML normalizer will normalize
...
it as javascript, and match some more samples with existing signatures
git-svn: trunk@4214
17 years ago
Török Edvin
3434c9bad2
scan the 'javascript' file using type 3 signatures.
...
There is no CL_TYPE_SCRIPT target, so it was previously scanning them
with type 0 (should have been CL_TYPE_TEXT_ASCII for type 7).
I changed it to type 3 to better make use of existing JS signatures.
git-svn: trunk@4213
17 years ago
aCaB
50d4069630
milter: don't access _res when linking with mt lresolv
...
git-svn: trunk@4212
17 years ago
Török Edvin
cfeeb3270f
Scan textpart attachments on the fly,
...
don't wait till we concatenate all textparts. (bb #1205 )
git-svn: trunk@4211
17 years ago
Tomasz Kojm
6dbc66020e
sigtool/vba.c: fix possible use of uninitialized value (bb#1201)
...
git-svn: trunk@4210
17 years ago
Török Edvin
ab90350cc3
fix make distcheck: add files to extradist
...
git-svn: trunk@4209
17 years ago
Tomasz Kojm
03a2b7828c
update some spam
...
git-svn: trunk@4208
17 years ago
Tomasz Kojm
3b934d1e49
libclamav/matcher-ac.c: improve detection and reordering of zero-only subpatterns (bb#1188)
...
git-svn: trunk@4207
17 years ago
Tomasz Kojm
ec98179939
libclamav/ole2_extract.c: handle files with unusual parameters (bb#954)
...
git-svn: trunk@4206
17 years ago
Török Edvin
e0ac8b2093
Fix unit test timeout on slower boxes.
...
Don't use fail_unless in a loop, because it actually calls fail_unless each time,
and we had a 512k buffer to compare.
git-svn: trunk@4205
17 years ago
Török Edvin
35251e019f
add missing testfiles
...
git-svn: trunk@4204
17 years ago
Török Edvin
7d4b5f164a
use clistrdup/free instead of blobs (bb #828 )
...
git-svn: trunk@4203
17 years ago
Török Edvin
6a53bbdf9a
JS normalizer fixes (bb #1155 )
...
git-svn: trunk@4202
17 years ago
Török Edvin
1279faf61e
add htmlnorm unit tests and fix jsnorm space normalization
...
git-svn: trunk@4201
17 years ago
Török Edvin
5a87c9909f
fix typo
...
git-svn: trunk@4200
17 years ago
Tomasz Kojm
45941d27b4
better fix
...
git-svn: trunk@4199
17 years ago
Tomasz Kojm
db689c39a7
configure: use AF_UNSPEC when testing getaddrinfo() (bb#1196)
...
git-svn: trunk@4198
17 years ago
Török Edvin
945655bd9f
revert last commit
...
git-svn: trunk@4197
17 years ago
Török Edvin
37bc3097b1
more reliable linking with bzip2,
...
$LIBBZ2_PREFIX is not always set.
git-svn: trunk@4196
17 years ago
Török Edvin
eb0e3c98bb
some more portabiility fixes
...
git-svn: trunk@4195
17 years ago
Török Edvin
650ea26e62
portability fixes
...
git-svn: trunk@4194
17 years ago
Török Edvin
85398f3ed8
fix overlapping arguments in disasm/debug (bb #1150 )
...
move copt out of main, so that valgrind is not reporting false leaks
make distcheck works now
git-svn: trunk@4193
17 years ago
Török Edvin
ab893c9888
regenerate configure
...
git-svn: trunk@4192
17 years ago
Török Edvin
e54e2ce176
fix typo
...
git-svn: trunk@4191
17 years ago
Tomasz Kojm
8e70b4dbc2
freshclam/manager.c: fix version check for builds compiled with --enable-experimental (bb#1174)
...
git-svn: trunk@4190
17 years ago
Tomasz Kojm
e863785852
enable ScanPDF by default (bb#1179)
...
git-svn: trunk@4189
17 years ago
Török Edvin
e791981b01
add missing die statements
...
git-svn: trunk@4188
17 years ago
Török Edvin
fef2b55de6
use clamdscan to relod instead of netcat
...
git-svn: trunk@4187
17 years ago
Tomasz Kojm
7801f6dbdf
check return code from read
...
git-svn: trunk@4186
17 years ago
Tomasz Kojm
c1c9d9f928
clamdscan: add support for --reload (bb#1098)
...
git-svn: trunk@4185
17 years ago
Tomasz Kojm
6ff9caf417
libclamav/mbox.c: mail-follow-urls was not RFC compliant (bb#1192)
...
git-svn: trunk@4184
17 years ago
Török Edvin
81040d73db
bb #1160
...
git-svn: trunk@4183
17 years ago
Török Edvin
1642ffba29
fix some races in check_clamd.sh
...
add more valgrind suppressions
better log parsing for valgrind
add mutex to prevent multiple simultaneous forks (bb #1187 )
git-svn: trunk@4182
17 years ago
Török Edvin
f45111e58f
use abs_scrdir
...
run clamd tests in parallel by using a different test subdir for each
git-svn: trunk@4181
17 years ago
Török Edvin
3baee5029c
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)
git-svn: trunk@4180
17 years ago
Török Edvin
e9e40c70bc
some parallelization of unit tests
...
git-svn: trunk@4179
17 years ago
Török Edvin
346f7a4ec7
start only 2 clamd instances for the unit test,
...
and use it to test multiple features.
Add better RELOAD test.
git-svn: trunk@4178
17 years ago
Török Edvin
73aeb57efe
add a script to contrib that builds clamav with mudflap and other checks (bb #1092 )
...
fix ac_cv usage in m4/acinclude.m4
fixes for unit_tests/
git-svn: trunk@4177
17 years ago
Török Edvin
c82d362edc
add electric-fence/duma tests if available (bb #1092 )
...
git-svn: trunk@4176
17 years ago
Török Edvin
b8edbb880d
clamd/thrmgr.c: fix valgrind warning (bb #1184 )
...
unit_tests: add more valgrind tests, add a reload and a multiscan test (bb #1092 )
git-svn: trunk@4175
17 years ago
Török Edvin
8622d6b360
fix typo causing build failure
...
git-svn: trunk@4174
17 years ago
Tomasz Kojm
b17efc993a
libclamav/pdf.c: fix write error with specific files (bb#1181)
...
git-svn: trunk@4173
17 years ago
Török Edvin
15d67313c4
allow 'make check' to work even if check is not installed
...
by skipping checks that require it. (bb #1157 )
if configure is not able to find check, you can use
--with-libcheck-prefix, instead of CHECK_CFLAGS and
CHECK_LIBS.
remove accidental AC_DEFINE GETHOSTBYNAME_R_6 from last commit.
git-svn: trunk@4172
17 years ago
Tomasz Kojm
3027857c52
configure: use getaddrinfo() whenever available (can be disabled with
...
--disable-getaddrinfo); --disable-ipv6 now only disables support for
IPv6 addresses in getaddrinfo() (bb#1165)
git-svn: trunk@4171
17 years ago
aCaB
6d48ea885a
update libtool - bb#1162
...
git-svn: trunk@4170
17 years ago