Commit graph

14 commits

Author SHA1 Message Date
Mickey Sola
46a35abe56 mass update of copyright headers 2015-09-17 13:41:26 -04:00
Shawn Webb
60d8d2c352 Move all the crypto API to clamav.h 2014-07-01 19:38:01 -04:00
Shawn Webb
b2e7c931d0 Use OpenSSL for hashing. 2014-02-08 00:31:12 -05:00
Török Edvin
569bdeebe8 Merge branch 'fmapify'
* fmapify: (54 commits)
  workaround for unrar not supporting fmap.
  stfu on large lzma allocs
  handle 7z encryption detection albeit post extraction and blockencrypted
  add 7z SFX support - bb#3063
  fix makefile for external LLVM 2.9
  fix wrong interaction between prescan_cb caching and postscan_cb
  bytecode_watchdog: fix use of unaddressable data
  UPgrade lzma SDK to version 9.20 Also fmapify
  export cl_fmap_close
  cli_map_scandesc convenience API
  Introduce cli_map_scandesc to scan a portion of the existing file
  fix utf16_to_utf8, and add testcase
  cli_utf16_to_utf8
  fmapify jpeg_exploit
  fmaify cli_scan_riff
  fmapify mydoom
  export filetype cb
  factor out common code
  fix mem API of new fmap
  unit tests for new fmap scan API
  ...

Conflicts:
	libclamav/Makefile.in
	libclamav/c++/Makefile.am
	libclamav/c++/Makefile.in
	libclamav/filetypes_int.h
	libclamav/scanners.c
	libclamav/str.c
	unit_tests/check_clamav.c
2012-01-04 15:52:33 +02:00
Török Edvin
0eafa898e9 fix utf16_to_utf8, and add testcase 2011-06-17 22:20:31 +03:00
Török Edvin
e4a0f2c94f fix compiler warnings (bb #1872, bb #1934, bb #1935) 2010-04-13 16:19:47 +03:00
Török Edvin
b6dab5a7d8 fix warning
git-svn: trunk@4975
2009-03-22 17:18:58 +00:00
Török Edvin
62b7686d21 fix trailing bytes in base64 decoding (bb #1388, thanks Thiyaga <mthiyaga*corp.untd.com>)
git-svn: trunk@4974
2009-03-22 16:55:41 +00:00
Török Edvin
15d67313c4 allow 'make check' to work even if check is not installed
by skipping checks that require it. (bb #1157)
if configure is not able to find check, you can use
--with-libcheck-prefix, instead of CHECK_CFLAGS and
CHECK_LIBS.
remove accidental AC_DEFINE GETHOSTBYNAME_R_6 from last commit.

git-svn: trunk@4172
2008-09-11 11:02:12 +00:00
Török Edvin
dfc0c031cb if there is a version.h.static use that instead of output from svnversion
Makefile portability fixes
fix assert failure
add lcov to top level makefile
cleanup after lcov when you run make clean (bb #1112)
fix parsing of [^.] character class
fix parsing of [r-t]
fix handling of @ for URL hashes
fix handling of &# inside URLs
drop some dead code
more unit tests for str
portability fixes

git-svn: trunk@4078
2008-08-04 12:44:16 +00:00
Török Edvin
2e64bd9fc5 add test for cli_hex2str (bb #930)
git-svn: trunk@4056
2008-08-01 14:50:38 +00:00
Török Edvin
5ee56e4103 split up regex_list.
begin testing for regex_suffix


git-svn: trunk@3985
2008-07-24 18:48:31 +00:00
Török Edvin
a39b29cbfe avoid misleading message when unit tests are disabled (bb #1090)
fix some compiler warnings


git-svn: trunk@3933
2008-07-10 13:29:32 +00:00
Török Edvin
e3c912e174 add missing file
git-svn: trunk@3931
2008-07-10 10:30:41 +00:00