Commit Graph

1918 Commits

Author SHA1 Message Date
Török Edvin
c19477ec23 Reduce bytecodetimeout to 5s instead of 60.
In case of buggy bytecode limits the amount of resources consumed.
2011-01-20 16:12:11 +02:00
Török Edvin
ecedf8a9f9 bytecode_vm: fix memset on bigendian arch (bb #2478).
Otherwise memset's count is always 0, and we are using uninitialized bytes,
causing bytecode to misbehave.
2011-01-20 16:10:30 +02:00
Török Edvin
4619289aef pdf: Fix missed detection (bb #2455). 2011-01-20 11:39:05 +02:00
Török Edvin
a91013cde7 pdf: fix another uninit (bb #2404). 2011-01-20 11:20:11 +02:00
Török Edvin
b5ed1fe6d3 pdf: fix uninit value (bb #2455). 2011-01-20 11:16:44 +02:00
Török Edvin
7d0f0d41af Port upstream LLVM commits to fix bb #8723.
commit 481d402ab03e163e180d2650fae13704858f8d81
Author: Eric Christopher <echristo@apple.com>
Date:   Fri Dec 3 07:45:22 2010 +0000

    Apparently OS X 10.4 doesn't have __crashreporter_info__.

    Try to fix building on the wayback machine.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120801 91177308-0d34-0410-b5e6-96231b3b80d8

commit 51e57139b3fdcf6b25453fa987463b33ff8f9adc
Author: Eric Christopher <echristo@apple.com>
Date:   Tue Dec 7 02:05:42 2010 +0000

    Two things: Fix testcase to use extern - otherwise the link will always
    succeed. Also make the testcase clearer as to what we're doing and
    emit a checking notification to the log.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121101 91177308-0d34-0410-b5e6-96231b3b80d8
2011-01-20 10:11:57 +02:00
Török Edvin
5007986ffd Fix build on Etch (bb #2399). 2011-01-20 10:03:55 +02:00
aCaB
d1885535af fix record check on dns query (win32 compat) 2011-01-20 03:30:08 +01:00
aCaB
14294b605d bb#2400 2011-01-19 12:17:34 +01:00
Tomasz Kojm
5c4f88a441 sigtool: handle .hs(b|u) and .ms(b|u) files 2011-01-18 16:21:44 +01:00
Tomasz Kojm
d5fde2eb61 sigtool: add new options --sha1 and --sha256 2011-01-18 15:00:37 +01:00
Tomasz Kojm
f820268196 freshclam: detect and fix corruptions of existing db files 2011-01-17 19:06:57 +01:00
aCaB
5581cf5f1c Merge multihash 2011-01-14 23:34:26 +01:00
Tomasz Kojm
8fe6ad4805 freshclam: verify integrity of all *.cvd files during each session 2011-01-14 15:53:29 +01:00
Török Edvin
bc0ef08bb7 Fix paranoid mode crash (bb #2434).
Only occurs if Paranoid mode is set in clamd.conf, or unsigned and signed
bytecode are loaded together in --enable-unsigned-bytecode mode.
2011-01-10 23:54:27 +02:00
Tomasz Kojm
478e8c3f01 sigtool: improve handling of spaces in cdiffs (bb#2090) 2011-01-10 18:57:11 +01:00
aCaB
7f67f2bbba make hashtab_clear properly clear the table 2011-01-06 14:54:12 +01:00
Tomasz Kojm
45388ac54e freshclam/manager.c: fix version warning (bb#2456) 2011-01-03 17:11:03 +01:00
Tomasz Kojm
b240ee01e3 libclamav: improve handling of HandlerType (bb#2298) 2011-01-03 16:42:04 +01:00
Tomasz Kojm
11dbe1959b libclamav/filetypes.c: improve detection of tar files 2010-12-30 15:04:02 +01:00
Tomasz Kojm
ee50848a50 libclamav/scanners.c: improve scanning of mail files in raw mode (bb#2244) 2010-12-29 14:37:55 +01:00
Tomasz Kojm
8c57a6c1b7 clamscan: add new options --follow-(dir|file)-symlinks (bb#1870) 2010-12-28 18:24:51 +01:00
Tomasz Kojm
53d41b9793 libclamav/blob.c: properly scan files when LeaveTemporaryFiles is enabled (bb#2447) 2010-12-28 13:05:00 +01:00
aCaB
ccaf037ab5 fix movzx/movsx disasm src size 2010-12-27 15:22:38 +01:00
Tomasz Kojm
54bf9b46c4 freshclam: fix again handling of relative db paths (bb#2240) 2010-12-22 12:12:18 +01:00
aCaB
0e6921fc92 fix bug # in the previous commit 2010-12-21 17:06:24 +01:00
aCaB
bfa37fb5ee bb#2129 2010-12-21 17:04:51 +01:00
Török Edvin
b907e8cf8c clamd: bump default MaxConnectionQueueLength to 200 2010-12-20 16:36:10 +02:00
aCaB
9c5765ead4 error path dbl free in cdiff.c 2010-12-17 17:12:31 +01:00
aCaB
4f1cdbdddd error path leaks and similar stuff 2010-12-17 14:26:33 +01:00
aCaB
43babe63b3 handle waitpid failure with EINTR 2010-12-16 15:32:29 +01:00
Tomasz Kojm
2e136dcd0d freshclam, clamd: handle EINTR during waitpid() (bb#2422) 2010-12-16 14:16:11 +01:00
Török Edvin
0fb6e8ae18 chm: fix crash on fstat failure (bb #2429). 2010-12-14 19:19:46 +02:00
Tomasz Kojm
0d71068897 libclamav: pass array with initial matches to bytecode (bb#2397) 2010-12-14 16:08:43 +01:00
Tomasz Kojm
c3ba5156a3 libclamav/msexpand.c: fix name clash on HP-UX (bb#2398) 2010-12-14 12:21:23 +01:00
Tomasz Kojm
8f779bfbd7 libclamav/scanners.c: ScanMail wasn't always honored (bb#2426) 2010-12-14 11:35:36 +01:00
Tomasz Kojm
b898103236 clamd: don't report file hashes to clients (bb#2409) 2010-12-09 13:50:42 +01:00
Tomasz Kojm
2e3e4acca4 libclamav: preserve callbacks during db reload (bb#2418) 2010-12-09 13:31:17 +01:00
Tomasz Kojm
b87fe3858e libclamav/matcher-ac.c: optimize handling of multi-part signatures (bb#2322) 2010-12-02 18:50:53 +01:00
Tomasz Kojm
14d80e0cbb 0.96.5 2010-11-30 14:12:17 +01:00
Török Edvin
019f195519 fix crashes (bb #2358, bb #2380, bb #2396).
Thanks to Arkadiusz Miskiewicz <arekm*maven.pl> for bb #2380.
2010-11-30 13:21:13 +02:00
aCaB
1f3db7f074 bb#2344 2010-11-30 12:13:01 +01:00
Tomasz Kojm
02e6b07495 libclamav: fix detection of embedded executables 2010-11-29 17:41:20 +01:00
Tomasz Kojm
8bf46d476b libclamav/matcher-ac.c: fix offset handling for sigs with {x-y} wildcards (bb#2393) 2010-11-24 23:53:16 +01:00
Tomasz Kojm
28dd47e027 freshclam/manager.c: fix error path infinite loop (bb#2389) 2010-11-23 12:45:15 +01:00
Török Edvin
a347ecc9c1 Fix RLIMIT_DATA (bb #1941).
Set limit only when >2GB (not when equal), and set it to 2GB, not 2MB.
Based on patch from Andreas Longwitz.
2010-11-23 13:14:58 +02:00
Tomasz Kojm
090057005c freshclam: improve mirror management 2010-11-15 16:04:55 +01:00
Tomasz Kojm
d72f003e79 libclamav: fix possible use of uninitialized values (bb#2291) 2010-11-12 15:49:24 +01:00
aCaB
50177b5cb3 bb#2307 2010-11-10 16:33:12 +01:00
Török Edvin
613a67af3b Updated embedded copy of LLVM to version 2.8 (bb #2327).
This fixes code generation for CPUs without CMOV, so we can reenable JIT for
these.
Dropped ARM since it was not used (so now it is used on X86 and PPC), and
tests/. So python is no longer required to run 'make check'.
By default the embedded copy is used, if you want to use system's LLVM 2.8 lib
then use ./configure --enable-llvm --with-system-llvm=/path/to/llvm-config.
2010-11-06 15:51:13 +02:00