Commit Graph

51 Commits

Author SHA1 Message Date
Tomasz Kojm
6a4dd9dc6b clamd, clamscan, libclamav: drop support for MailFollowURLs (bb#1677) 2009-08-06 22:29:13 +02:00
Tomasz Kojm
0b4c0baae0 configure: don't define HAVE_ZLIB_H
git-svn: trunk@4987
2009-03-24 18:43:04 +00:00
Török Edvin
e68d70e7e0 strerror/strerror_r->cli_strerror which is always thread safe.
git-svn: trunk@4927
2009-03-11 19:11:09 +00:00
Tomasz Kojm
871177cdd9 return codes cleanup (bb#1159)
git-svn: trunk@4749
2009-02-12 13:53:23 +00:00
Tomasz Kojm
33068e0973 libclamav: drop cl_settempdir(); use cl_engine_set() with CL_ENGINE_TMPDIR and CL_ENGINE_KEEPTMP instead
git-svn: trunk@4416
2008-11-14 22:23:39 +00:00
aCaB
1405207a2b bb#1219
git-svn: trunk@4229
2008-10-07 13:35:21 +00:00
Török Edvin
51d1895aef fix len calculation (bug introduced in previous commit).
git-svn: trunk@4227
2008-10-07 09:02:22 +00:00
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
2008-10-06 18:36:42 +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
5cd3f734a9 add lots of warnings flags to 'make distcheck',
and turn some warnings into errors (bb #1092)

git-svn: trunk@4129
2008-08-21 20:21:43 +00:00
aCaB
6f4674537c count dups in pdf
git-svn: trunk@4101
2008-08-11 16:04:11 +00:00
Tomasz Kojm
72ce4b70eb improve handling of PDF, CAB, RTF, OLE2 and HTML files (sync with branch/0.93)
git-svn: trunk@3862
2008-05-27 16:30:47 +00:00
aCaB
997a0e0b86 hardfail on unlink failure
git-svn: trunk@3775
2008-04-08 17:45:05 +00:00
Tomasz Kojm
2023340a41 update copyrights and stick more files to GPLv2; move and add more credits to the AUTHORS file; add COPYING.BSD
git-svn: trunk@3749
2008-04-02 15:24:51 +00:00
aCaB
c0a95e0ce6 bb#384 - unlink
git-svn: trunk@3747
2008-04-02 11:13:16 +00:00
Tomasz Kojm
db9d275cea --leave-temps didn't work without --debug (bb#874)
git-svn: trunk@3702
2008-03-10 13:47:04 +00:00
Tomasz Kojm
e74cdbc21b fix handling of md5 digests (bb#866)
git-svn: trunk@3687
2008-03-03 11:14:58 +00:00
aCaB
965220979f warnings in pdf and tar
git-svn: trunk@3632
2008-02-14 15:38:59 +00:00
aCaB
d0d1afd7c7 untar OTF
git-svn: trunk@3631
2008-02-14 15:24:07 +00:00
Nigel Horne
a5afcb6772 Fix compilation error on Cygwin
git-svn: trunk@3623
2008-02-12 11:33:47 +00:00
aCaB
d070d47570 otf pdf scanning
git-svn: trunk@3620
2008-02-12 00:58:49 +00:00
aCaB
41273d0802 quick fix for edwin
git-svn: trunk@3617
2008-02-11 21:15:15 +00:00
aCaB
86e209d667 more limits
git-svn: trunk@3616
2008-02-11 20:19:20 +00:00
aCaB
d91ab809a2 initial rewrite of limits
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3591 77e5149b-7576-45b1-b177-96237e5ba77b
2008-02-06 21:19:10 +00:00
aCaB
b80ae27752 newlimits started
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3556 77e5149b-7576-45b1-b177-96237e5ba77b
2008-01-29 03:27:30 +00:00
aCaB
dbfb485b80 Zip module failure in pdf files - bb#617
git-svn: trunk@3547
2008-01-26 19:25:29 +00:00
Nigel Horne
9fe789f8b8 Many changes since 0.92
git-svn: trunk@3407
2007-12-13 16:18:18 +00:00
Nigel Horne
001ad879f6 Now honours --max-files
git-svn: trunk@3339
2007-10-30 17:26:29 +00:00
Nigel Horne
3470220caa Bug 698
git-svn: trunk@3338
2007-10-30 16:31:51 +00:00
Nigel Horne
21e605f4e5 Finish 0.91.2 consistency work
git-svn: trunk@3208
2007-09-06 17:09:12 +00:00
Nigel Horne
8affc4062b Various cleanups
git-svn: trunk@3207
2007-09-06 12:22:16 +00:00
Nigel Horne
ba74b33339 Code clean up
git-svn: trunk@3205
2007-09-04 16:34:00 +00:00
Nigel Horne
a474daaa07 Further tidy of bugs 614 and 618
git-svn: trunk@3182
2007-08-21 13:19:41 +00:00
Nigel Horne
d97810016b Bug 618, --block-max not always honoured
git-svn: trunk@3173
2007-08-18 13:23:20 +00:00
Nigel Horne
510212e42f SPF checking no longer experimentalSPF checking no longer experimental
git-svn: trunk@3166
2007-08-09 11:25:43 +00:00
Nigel Horne
7f49ea4b7e Fix warnings on HP-UX
git-svn: trunk@3140
2007-07-11 10:16:30 +00:00
Nigel Horne
9443ec4a2a Remove compilation warnings on some Linux
git-svn: trunk@3102
2007-06-18 18:57:57 +00:00
Nigel Horne
b432851f57 Fix OOM, pointed out by TK
git-svn: trunk@3066
2007-05-26 11:11:02 +00:00
Nigel Horne
f0506577f3 Bug 459
git-svn: trunk@3021
2007-04-16 11:52:03 +00:00
Nigel Horne
7fc055e63b Improved handling of very small files
git-svn: trunk@3016
2007-04-12 13:22:18 +00:00
Nigel Horne
07d7cd815c Don't save temps
git-svn: trunk@3000
2007-03-30 21:24:33 +00:00
Nigel Horne
918f7aaa19 Bug 396
git-svn: trunk@2999
2007-03-30 21:18:37 +00:00
Nigel Horne
9e3242ca4c Better diagnostics
git-svn: trunk@2997
2007-03-30 11:32:32 +00:00
Nigel Horne
bf3e447176 Fix fd leak on empty objects
git-svn: trunk@2928
2007-03-10 01:18:38 +00:00
Nigel Horne
f97bcc8a6b Blame encoders not clamAV
git-svn: trunk@2927
2007-03-10 00:34:19 +00:00
Nigel Horne
39327ef2b6 Bug 396
git-svn: trunk@2926
2007-03-09 22:39:06 +00:00
Nigel Horne
83d14d9a1a Fix compilation error on machines without mmap
git-svn: trunk@2886
2007-03-01 16:20:46 +00:00
Nigel Horne
1299feef6d Spell check
git-svn: trunk@2883
2007-03-01 11:10:01 +00:00
Nigel Horne
1eceda0efe Try with both real and calculated Length fields
git-svn: trunk@2882
2007-03-01 11:06:37 +00:00
Nigel Horne
ed6446ff91 Remove warning on FreeBSD4.11
git-svn: trunk@2863
2007-02-25 00:43:49 +00:00