Commit Graph

1484 Commits

Author SHA1 Message Date
Tomasz Kojm
aca9ea82df libclamav: handle relative offsets with cli_ac_data; fix offset logic 2009-08-21 15:55:10 +02:00
aCaB
5ac8c7dcff ishield: s/free(hdr)/IS_FREE_HDR/ 2009-08-21 02:18:35 +02:00
aCaB
295f1d1f8b build system upgrade - bb#1528 2009-08-21 00:57:55 +02:00
Tomasz Kojm
f28db33f85 libclamav/matcher-bm.c: micro-optimization 2009-08-20 00:35:22 +02:00
Tomasz Kojm
f1e02ed252 libclamav/cpio.c: wrap unistd.h, reported by Nigel Horne 2009-08-18 23:53:04 +02:00
aCaB
700cc7f702 convert 7z EOL to unix for compat with suncc 2009-08-17 13:56:45 +02:00
Tomasz Kojm
33872a43de libclamav: improve handling of signature offsets 2009-08-14 14:38:13 +02:00
aCaB
25c241ef61 workaround "Byte" clash in lzma/7z (bb#805 - regression) 2009-08-11 02:07:28 +02:00
aCaB
2dc233533d 7z: cosmetic fixes 2009-08-10 22:37:18 +02:00
aCaB
125086e5ef sync test files in /contrib 2009-08-10 22:08:19 +02:00
aCaB
5ddab8fe12 add 7z support 2009-08-10 15:32:28 +02:00
Tomasz Kojm
6a4dd9dc6b clamd, clamscan, libclamav: drop support for MailFollowURLs (bb#1677) 2009-08-06 22:29:13 +02:00
Tomasz Kojm
a866b077aa clamd/clamd.c: ignore SIGHUP and SIGUSR2 during initial setup (bb#1671) 2009-08-05 18:34:21 +02:00
Tomasz Kojm
2086dc5cab clamd, clamscan: add support for CrossFilesystems/--cross-fs (bb#1607) 2009-08-05 16:27:48 +02:00
Tomasz Kojm
cc447ac82c configure, libclamav: fix compile issues on IRIX (bb#1532) 2009-08-04 23:17:28 +02:00
Tomasz Kojm
cd9f5c6a1b libclamav/macho.c: wrap unistd.h, reported by Nigel Horne 2009-08-04 20:26:25 +02:00
Tomasz Kojm
039c95658d libclamav/readdb.c: make the parser more sensitive to errors in numerical fields 2009-08-04 20:22:03 +02:00
Tomasz Kojm
99ca7f53f8 freshclam, libclamav: work around possible race condition during db updates (bb#1624) 2009-08-04 15:14:22 +02:00
Tomasz Kojm
4aa1842a1c freshclam/manager.c: fix confusing error message (bb#1648) 2009-08-03 15:23:35 +02:00
Tomasz Kojm
8201d79da4 libclamav/unzip.c: fix detection of encrypted zip files embedded into other files (bb#1660) 2009-08-03 14:50:13 +02:00
Török Edvin
ac17fc6cdb fix SIGBUS on Sparc.
Need to use the alignment of the largest possible type that we access, which is
uint64_t in this case.
void* can be 32-bits, and uint64_t still requires 64-bit alignment on Sparc,
when compiling for 32-bits (default).
2009-08-02 14:49:05 +03:00
Tomasz Kojm
51bbedb132 libclamav, clamd: handle file exclusion in cli_ftw() (bb#1656) 2009-07-31 21:28:55 +02:00
Török Edvin
e53ef4464b Fix unit-test failure on Solaris. 2009-07-31 15:30:47 +03:00
aCaB
3d478af12a fix check for pe32+ 2009-07-31 12:52:41 +02:00
Tomasz Kojm
19c788af04 clamscan, clamd, libclamav: load cvd files on-the-fly (without unpacking them to /tmp) by default 2009-07-28 20:36:38 +02:00
Tomasz Kojm
a6a9845602 libclamav: improve loading speed of compressed databases (bb#1105) 2009-07-28 20:23:31 +02:00
Tomasz Kojm
0feb74bf66 libclamav/macho.c: improve detection of Universal Binaries 2009-07-27 13:54:20 +02:00
Tomasz Kojm
e0b395b3c7 libclamav/macho.c: fix section alignment (bb#1667) 2009-07-27 12:28:42 +02:00
aCaB
f235c57a8b wrap unistd in shared/actions.c 2009-07-26 18:56:13 +02:00
aCaB
11643ef796 check IS scan return, add IS testfiles 2009-07-19 16:22:05 +02:00
Török Edvin
627b76269a Safebrowsing.cvd load speed was very slow, taking up to 20s.
Improve load speed to ~3s by using another hash.
Also silence some .pdb load debug messages.
2009-07-17 13:55:15 +03:00
aCaB
0c8d736899 fix typo, workaround crappy preprocessors (bb#1658) 2009-07-17 02:30:21 +02:00
Tomasz Kojm
d6f52e0904 libclamav/cab.c: downgrade warning message (bb#1659) 2009-07-16 23:02:11 +02:00
aCaB
86d59b249e fix portability issues for fseeko, sysconf(_SC_PAGESIZE), getpagesize() (bb#1658) 2009-07-16 14:21:25 +02:00
Török Edvin
d0b31fa38c Make yC able to handle more samples and variants. 2009-07-15 23:37:43 +03:00
Tomasz Kojm
68dbfcd9e7 clamd: honour value of 0 in Max* options 2009-07-15 19:37:30 +02:00
Tomasz Kojm
09dc3ecb56 clamscan: honour value of 0 in --max-* options (bb#1650) 2009-07-15 19:25:41 +02:00
Török Edvin
92740b7383 Fix unit tests when run as root (bb #1635). 2009-07-15 16:25:27 +03:00
aCaB
4cda88ccac libclamav/ishield.c: fix distcheck, patch from edwin 2009-07-15 12:51:32 +02:00
Tomasz Kojm
8adcd36671 Merge branch 'master' of ssh://tkojm@git.clam.sourcefire.com/var/lib/git/clamav-devel
Conflicts:
	ChangeLog
2009-07-15 12:36:59 +02:00
Tomasz Kojm
cd0d6a0bf2 clamd, clamav-milter: make pid files globally readable (bb#1642) 2009-07-15 12:34:52 +02:00
aCaB
9c3c24ca6e use mmap for big files, fix some leaks, some portability fixes 2009-07-15 12:34:50 +02:00
Tomasz Kojm
2f767ff7a8 libclamav/filetypes.c: fix off-by-one error (bb#1639) 2009-07-15 11:21:36 +02:00
Tomasz Kojm
e1f64911f3 libclamav/mspack.c: fix valgrind warnings about use of uninitialized values (bb#1655) 2009-07-15 08:49:04 +02:00
aCaB
d11228db8f merge preliminary IS support 2009-07-14 23:44:03 +02:00
Tomasz Kojm
3222a09656 libclamav: add support for Universal Binaries
(archives with Mach-O files for different architectures, bb#1592)
2009-07-14 18:19:54 +02:00
Tomasz Kojm
4c82fd9fd0 docs/signatures.pdf: cover Mach-O files 2009-07-13 21:41:59 +02:00
Tomasz Kojm
8af7ccd0af libclamav: handle Mach-O files with type-9 signatures;
all special offsets are supported for PPC32/64 and x86 executables; for ARM and other archs only section based extensions (Sx[+-]n, SL[+-]n) are supported atm
2009-07-13 21:29:46 +02:00
Török Edvin
d99c0c4245 bytecode: add unit tests and ChangeLog. 2009-07-13 19:40:25 +03:00
Tomasz Kojm
907ce30cae libclamav/macho.c: handle LC_THREAD; calculate EP 2009-07-13 16:07:08 +02:00