Török Edvin
a3299bb76b
fix whitespace
...
git-svn: trunk@4240
17 years ago
Török Edvin
b105842c5c
when --disable-gcc-vcheck is set, set CFLAGS to O0 and
...
append -broken-compiler to the VERSION (bb #684 )
introduce VERSION_SUFFIX for easier handling, and convert -exp to use it
git-svn: trunk@4239
17 years ago
aCaB
e4453e9f88
zmd desc uptaded in the docs
...
git-svn: trunk@4238
17 years ago
Tomasz Kojm
d61aeda265
clamdscan: properly handle --infected (bb#1221)
...
git-svn: trunk@4237
17 years ago
Tomasz Kojm
04fa4e9d01
shared/options.c: handle obsolete options in cmdline parser (bb#1213)
...
git-svn: trunk@4236
17 years ago
Török Edvin
ed65443330
fix whitespace
...
git-svn: trunk@4235
17 years ago
Török Edvin
034743fdbe
suppress a false positive race
...
* ChangeLog:
git-svn: trunk@4234
17 years ago
Török Edvin
133dd2e940
When RAR is disabled, allow make check to succeed, and print only a warning (bb #1212 )
...
* ChangeLog:
git-svn: trunk@4233
17 years ago
Tomasz Kojm
fc086460b0
fix typo
...
git-svn: trunk@4232
17 years ago
Tomasz Kojm
dec7ffce08
shared/cfgparser.c, clamdconf: gently deprecate obsolete options (bb#1213)
...
git-svn: trunk@4231
17 years ago
aCaB
aa9a0f4b75
partially revert previous
...
git-svn: trunk@4230
17 years ago
aCaB
1405207a2b
bb#1219
...
git-svn: trunk@4229
17 years ago
aCaB
b346e3629a
zip fixes
...
git-svn: trunk@4228
17 years ago
Török Edvin
51d1895aef
fix len calculation (bug introduced in previous commit).
...
git-svn: trunk@4227
17 years ago
Török Edvin
7bc225961a
Fix EOL algorithm:
...
- instead of the costly algorithm: try to match with \n and retry a match with \r if failed
- try matching without \n\r, and lookback one char and test for \n\r, move on to next match if failed
- also assume objects are sequential, and look for indirect objects ahead, instead of looking from the beginning each time,
if optimization fails, search for the indirect object from the beginning till current pos
This reduces scan time of sample from bb #1217 to 4 seconds from 8 minutes!
git-svn: trunk@4226
17 years ago
aCaB
be3fa18daf
properly close descriptors before forking - bb#1137
...
git-svn: trunk@4225
17 years ago
Török Edvin
ae685a75c1
link to libclamunrar_iface explicitly to
...
allow non-rpath builds to work. (bb #1203 )
Thanks to James Ralston <ralston*pobox.com>
git-svn: trunk@4224
17 years ago
Török Edvin
7f3ca52841
fix build failure when using LDFLAGS="-Wl,--as-needed" (bb #1204 )
...
thanks to Nathan Brink <ohnobinki*ohnopublishing.net>
git-svn: trunk@4223
17 years ago
aCaB
524cd0eceb
milter: use usr1 instead of hup
...
git-svn: trunk@4222
17 years ago
Török Edvin
46c354ee47
fix cross-compilation.
...
Note that when cross-compiling some checks cannot be run, so we assume
no mmap, no ipv6.
The resulting binary won't be able to detect some files.
git-svn: trunk@4221
17 years ago
Török Edvin
ff9845c02b
--phishing-ssl and --phishing-cloak should work even if the host is not in the .pdb (bb #1211 )
...
git-svn: trunk@4220
17 years ago
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