Commit Graph

4035 Commits

Author SHA1 Message Date
Török Edvin
35251e019f add missing testfiles
git-svn: trunk@4204
2008-09-24 07:32:47 +00:00
Török Edvin
7d4b5f164a use clistrdup/free instead of blobs (bb #828)
git-svn: trunk@4203
2008-09-23 20:52:33 +00:00
Török Edvin
6a53bbdf9a JS normalizer fixes (bb #1155)
git-svn: trunk@4202
2008-09-23 20:52:27 +00:00
Török Edvin
1279faf61e add htmlnorm unit tests and fix jsnorm space normalization
git-svn: trunk@4201
2008-09-23 20:52:22 +00:00
Török Edvin
5a87c9909f fix typo
git-svn: trunk@4200
2008-09-23 20:52:15 +00:00
Tomasz Kojm
45941d27b4 better fix
git-svn: trunk@4199
2008-09-22 21:35:29 +00:00
Tomasz Kojm
db689c39a7 configure: use AF_UNSPEC when testing getaddrinfo() (bb#1196)
git-svn: trunk@4198
2008-09-22 21:29:14 +00:00
Török Edvin
945655bd9f revert last commit
git-svn: trunk@4197
2008-09-22 14:46:14 +00:00
Török Edvin
37bc3097b1 more reliable linking with bzip2,
$LIBBZ2_PREFIX is not always set.

git-svn: trunk@4196
2008-09-22 14:08:49 +00:00
Török Edvin
eb0e3c98bb some more portabiility fixes
git-svn: trunk@4195
2008-09-22 11:03:55 +00:00
Török Edvin
650ea26e62 portability fixes
git-svn: trunk@4194
2008-09-22 10:28:14 +00:00
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
2008-09-18 14:54:36 +00:00
Török Edvin
ab893c9888 regenerate configure
git-svn: trunk@4192
2008-09-18 11:33:41 +00:00
Török Edvin
e54e2ce176 fix typo
git-svn: trunk@4191
2008-09-18 11:27:45 +00:00
Tomasz Kojm
8e70b4dbc2 freshclam/manager.c: fix version check for builds compiled with --enable-experimental (bb#1174)
git-svn: trunk@4190
2008-09-18 10:07:42 +00:00
Tomasz Kojm
e863785852 enable ScanPDF by default (bb#1179)
git-svn: trunk@4189
2008-09-18 09:45:47 +00:00
Török Edvin
e791981b01 add missing die statements
git-svn: trunk@4188
2008-09-18 08:54:43 +00:00
Török Edvin
fef2b55de6 use clamdscan to relod instead of netcat
git-svn: trunk@4187
2008-09-18 08:51:00 +00:00
Tomasz Kojm
7801f6dbdf check return code from read
git-svn: trunk@4186
2008-09-18 08:41:25 +00:00
Tomasz Kojm
c1c9d9f928 clamdscan: add support for --reload (bb#1098)
git-svn: trunk@4185
2008-09-18 08:17:47 +00:00
Tomasz Kojm
6ff9caf417 libclamav/mbox.c: mail-follow-urls was not RFC compliant (bb#1192)
git-svn: trunk@4184
2008-09-17 08:52:58 +00:00
Török Edvin
81040d73db bb #1160
git-svn: trunk@4183
2008-09-16 18:13:07 +00:00
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
2008-09-16 12:34:40 +00:00
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
2008-09-16 10:32:25 +00:00
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
2008-09-16 10:32:20 +00:00
Török Edvin
e9e40c70bc some parallelization of unit tests
git-svn: trunk@4179
2008-09-16 08:37:05 +00:00
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
2008-09-16 08:36:59 +00:00
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
2008-09-15 16:23:19 +00:00
Török Edvin
c82d362edc add electric-fence/duma tests if available (bb #1092)
git-svn: trunk@4176
2008-09-15 09:57:02 +00:00
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
2008-09-14 14:15:39 +00:00
Török Edvin
8622d6b360 fix typo causing build failure
git-svn: trunk@4174
2008-09-13 12:30:18 +00:00
Tomasz Kojm
b17efc993a libclamav/pdf.c: fix write error with specific files (bb#1181)
git-svn: trunk@4173
2008-09-11 19:42:38 +00:00
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
2008-09-11 11:02:12 +00:00
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
2008-09-10 18:11:00 +00:00
aCaB
6d48ea885a update libtool - bb#1162
git-svn: trunk@4170
2008-09-10 16:09:20 +00:00
Tomasz Kojm
edc677c179 clamd/server-th.c: fix handling of pthread_attr_init/pthread_create in ClamukoScanOnAccess (bb#1169)
git-svn: trunk@4169
2008-09-08 14:08:05 +00:00
Török Edvin
8f4cf10fc6 fix bzip2 cve test link problems (bb #1158)
git-svn: trunk@4168
2008-09-04 09:53:09 +00:00
Török Edvin
5f3d802a2d remove duplicate symbol
git-svn: trunk@4167
2008-09-03 07:06:45 +00:00
Tomasz Kojm
ce2ec4418a 0.94
git-svn: trunk@4165
2008-09-02 13:28:44 +00:00
Tomasz Kojm
3c8de8cc86 mention PUA url
git-svn: trunk@4164
2008-09-02 12:54:18 +00:00
Török Edvin
2d75763208 revert last commit, it breaks bzip2 detection in /usr/local
git-svn: trunk@4163
2008-09-02 11:52:53 +00:00
Török Edvin
8179270b95 if pkg-config cannot find check look in standard places for check
(such as /usr/local/lib)

git-svn: trunk@4162
2008-09-02 08:40:27 +00:00
Tomasz Kojm
87271c2fbf bump revision
git-svn: trunk@4161
2008-09-01 18:27:16 +00:00
Tomasz Kojm
ba1cbe022a libclamav/others.c: bump f-level
git-svn: trunk@4160
2008-09-01 18:24:47 +00:00
Tomasz Kojm
ee93a07e54 docs: update
git-svn: trunk@4159
2008-09-01 18:19:59 +00:00
Tomasz Kojm
92012beb43 libclamav/message.c, mbox.c: fix out-of-memory null dereference in mbox/message (bb#1141)
git-svn: trunk@4158
2008-09-01 17:35:12 +00:00
Tomasz Kojm
9c403bcec9 libclamav/chmunpack.c: fix possible invalid memory access (bb#1089)
git-svn: trunk@4157
2008-09-01 17:28:17 +00:00
Török Edvin
2582d3edcb enable scanscript for UTF* files too
git-svn: trunk@4156
2008-09-01 07:58:26 +00:00
aCaB
f1c7c6b3cf disasm endianess fixes
git-svn: trunk@4155
2008-08-31 13:32:42 +00:00
aCaB
47c92b5985 re-enable bigendian builds
git-svn: trunk@4154
2008-08-31 02:25:38 +00:00