Commit Graph

1965 Commits

Author SHA1 Message Date
Tomasz Kojm
78d42efe1f libclamav/mew.c: harden boundary check on e8/e9 fixup 2011-06-09 08:34:21 +02:00
aCaB
24ab4ad529 bb#2838 (2/2) 2011-06-08 15:27:43 +02:00
aCaB
656dfd0b86 bb#2818 2011-05-26 14:20:57 +02:00
Tomasz Kojm
ff552617b2 freshclam/manager.c: fix return code of Rfc2822DateTime() (bb#2809) 2011-05-12 13:03:34 +02:00
Tomasz Kojm
cdddd014ff sigtool: add support for building unsigned dbs (--unsigned)
libclamav: handle unsigned db files (.cud)
2011-05-10 21:29:49 +02:00
Török Edvin
7606789f91 Better detection for encrypted PDFs (bb #2448)
If --block-encrypted is specified then we can detect Encrypted.PDF if:
 - PDF is encrypted with R 2,3,4 or 5
 - PDF is not displayable without specifying a password

If PDF is encrypted, but is displayable without specifying a password, then it
is not detected as Encrypted.PDF.
2011-05-07 18:14:58 +03:00
Török Edvin
0c79cc5529 Support building with external LLVM 2.9, and drop support for building with external 2.8
Internal version is an LLVM 2.8 with 2 patches backported from LLVM 2.9 to fix a
crash on AVX chips.
So drop support for building with external LLVM 2.8, and add support for
building with external LLVM 2.9 instead.

Caveat:
 stack smashing protection is broken on LLVM 2.9 so it is disabled

Example on Debian:
apt-get install llvm-2.9-dev
./configure --enable-llvm --with-system-llvm=/usr/bin/llvm-config-2.9
2011-05-06 16:16:33 +03:00
Tomasz Kojm
0f4639ec76 clamd: log request ip address for instream scans #bb2592
On behalf of acab
2011-05-05 16:15:57 -07:00
Török Edvin
7820abe406 LLVM: don't assert on AVX chips (cherry-pick from upstream), bb #2763
LLVM was claiming it cannot lower MEMBARRIER on chips with AVX, because
some debugging code was left behind that deactivated SSE2, even though these
chips do have SSE2.
Also regenerate the codegen tables.

Author: Nate Begeman <natebegeman@mac.com>
Date:   Fri Dec 3 21:54:14 2010 +0000

    Remove SSE1-4 disable when AVX is enabled.  While this may be useful for development,
    it completely breaks scalar fp in xmm regs when AVX is enabled.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120843 91177308-0d34-0410-b5e6-96231b3b80d8
2011-05-04 14:11:08 +03:00
Tomasz Kojm
1f95d81c17 sigtool: properly normalize html files (bb#2764) 2011-05-03 22:52:51 -07:00
Tomasz Kojm
1a697e4b2e sigtool/sigtool.c: fix formatting of hash dbs (bb#2765) 2011-05-03 16:16:53 -07:00
Tomasz Kojm
a3a0367b38 freshclam: add mirror statistics mechanism 2011-04-27 15:09:05 +02:00
aCaB
8ab47ebe4e win32: UTF #6 - clamd proto 2011-04-18 17:25:23 +02:00
aCaB
c68a45e127 win32: UTF #5 - globbing 2011-04-17 16:11:04 +02:00
aCaB
254cecefad win32: UTF8 #3 - make mprintf UTF8 aware 2011-04-16 18:58:00 +02:00
Török Edvin
f53a115ee5 libclamav: make sure TLS key is initializer (bb #2588)
Thanks to Cameron Brown for the detailed analysis of the bug.
2011-04-14 21:30:23 +03:00
Török Edvin
d5db07a9c7 configure: check for enable_extended_FILE_stdio (bb #2542) 2011-04-14 13:53:03 +03:00
Tomasz Kojm
ac47dac79d libclamav: add basic GIF validator 2011-04-11 17:23:14 +02:00
aCaB
82c8e3365c bb#2695 2011-04-09 17:21:22 +02:00
aCaB
1f5288658f forgotten changelog entry for bb#2544 2011-04-09 13:33:45 +02:00
aCaB
f5933780cc bb#2544 2011-04-09 03:58:23 +02:00
Tomasz Kojm
419a9d3d6f libclamav: add PNG validator based on pngcheck 2011-04-07 18:19:19 +02:00
Tomasz Kojm
b44fb658ba libclamav: add basic JPEG validator 2011-04-05 16:33:38 +02:00
Tomasz Kojm
35b242b95d libclamav/swf.c: scan images and binary blobs 2011-03-30 16:02:41 +02:00
Tomasz Kojm
44a3e21aae libclamav: add skeleton code for SWF parser
libclamav/others.h: bump f-level
2011-03-28 20:25:40 +02:00
Tomasz Kojm
2c57b06a88 sigtool, freshclam: put .info on top of container to speed up loading 2011-03-17 17:47:17 +01:00
Tomasz Kojm
105950c49e sigtool: fix --verify-cdiff 2011-03-16 15:54:12 +01:00
Tomasz Kojm
467ab203c6 sigtool: allow arbitrary names for --build 2011-03-15 17:59:52 +01:00
Tomasz Kojm
7b324eb346 libclamav: optimize handling of {n} wildcards (bb#1796) 2011-03-10 15:55:13 +01:00
Tomasz Kojm
eab93adf31 clamdscan: fix file exclusion (bb#2579) 2011-03-09 15:43:21 +01:00
aCaB
c27d40568a Extend prescan_cb with file type
WARNING: THIS BREAKS THE ABI! - See clamav.h
2011-03-04 18:27:32 +01:00
Tomasz Kojm
bc3b9efc5b clamd: add new option ClamukoExcludeUID (bb#2260) 2011-02-28 21:49:11 +01:00
Tomasz Kojm
a955d4c619 libclamav/elf.c: fix incorrect detection of Broken.Executable (bb#2580) 2011-02-25 14:51:31 +01:00
Tomasz Kojm
13d52e4f8a shared/output.c: fix empty lines in syslog (bb#2578) 2011-02-24 14:53:55 +01:00
Tomasz Kojm
27c451d04d clamd: update description of ReadTimeout (bb#2565) 2011-02-21 18:19:55 +01:00
Tomasz Kojm
62315ce69a clamd: add new config option BytecodeUnsigned (bb#2537); drop
"None" from BytecodeSecurity
clamscan: add new switch --bytecode-unsigned and drop --bytecode-trust-all
2011-02-17 19:17:35 +01:00
Tomasz Kojm
a771899ab6 sigtool/sigtool.c: improve handling of bytecode.info (bb#2292) 2011-02-15 19:20:05 +01:00
Tomasz Kojm
0f80e3982d sigtool/sigtool.c: handle all signature formats with --(list|find)-sigs (bb#2534) 2011-02-11 13:17:33 +01:00
aCaB
8a6c292152 make solaris linker happy 2011-02-08 02:43:44 +01:00
Tomasz Kojm
19a4d3cd13 0.97 2011-02-07 17:53:02 +01:00
Tomasz Kojm
d21fb8d975 libclamav/vba_extract.c: fix error path double free (bb#2486) 2011-02-07 17:26:45 +01:00
Török Edvin
450466f9d4 Fix some missed safebrowsing URLs (bb #2514).
Some hostkey prefixes are missing from the DB, so just drop the hostkey prefix
filtering, and always lookup the full hashes.
2011-02-04 16:56:30 +02:00
Tomasz Kojm
e766ee04ae libclamav/matcher-bm.c: fix error message (bb#2513) 2011-02-04 14:35:57 +01:00
aCaB
e010aa7a2f fix leaking virusnames in hm_free 2011-02-03 16:47:47 +01:00
Tomasz Kojm
fca421f62e 0.97rc 2011-01-31 17:04:31 +01:00
aCaB
68d8ba5f64 bb#2341 2011-01-21 15:07:06 +01:00
Tomasz Kojm
6f4847aacf shared/optparser: when size limit is disabled set it to 4GB (bb#2471) 2011-01-20 15:34:55 +01:00
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