ClamAV - Documentation is here: https://docs.clamav.net https://www.clamav.net/
Find a file
Andrew 319bfb51a5 Fix several coverity warnings
290424 Missing break in switch - In hash_match: Missing break
statement between cases in switch statement

290414 Resource leak - In cli_scanishield_msi: Leak of memory or
pointers to system resources. Memory leak in a fail case

288197 Resource leak - In decrypt_any: Leak of memory or pointers
to system resources. Memory leak in a fail case

290426 Resource leak - In cli_magic_scan: Leak of memory or pointers
to system resources. Leaked a file prefix when running with
--save-temps

192923 Resource leak - In cli_scanrar: Leak of memory or pointers to
system resources. Leaked a file descriptor if a virus was found in
a RAR file comment

225146 Resource leak - In cli_scanegg: Leak of memory or pointers
to system resources. Leaked a file descriptor if unable to write
a comment file to disk

290425 Resource leak - In scan_common: Leak of memory or pointers
to system resources. Memory leaks in various fail cases.

Also changes cli_scanrar to write out the file comment only if
--leave-temps is specified and scan the buffer (like what is done
in cli_scanegg) instead of writing the file out, scanning that,
and then deleting the file if --leave-temps is not specified.

The unit tests stopped working when correcting an issue with a
switch statement that determined what type of signature had matched
on a Google SafeBrowsing GDB rule. Looking into the unit tests, it
looks like the code had always assumed that the test cases would be
detected by a malware test rule in unit_tests/input/daily.gdb, but
now some of the tests get matched on the phishing test rule.
I updated the test logic to be more clear, and added tests for both
cases now.

Fix some memory leaks in libclamav/scanners.c
2020-07-15 08:39:32 -07:00
clamav-milter autojunk'd 2020-03-30 10:00:23 -07:00
clambc Docs: Warn against running untrusted bytecode 2020-07-09 15:38:15 -07:00
clamconf autojunk'd 2020-03-30 10:00:23 -07:00
clamd bb10979: multi-threaded reload minor corrections 2020-07-01 22:06:15 -07:00
clamdscan clamd clients: Mitigate move/remove symlink attack 2020-07-01 22:21:40 -07:00
clamdtop Minor updates from testing / code review 2020-06-17 16:02:39 -04:00
clamonacc clamd clients: Mitigate move/remove symlink attack 2020-07-01 22:21:40 -07:00
clamscan Docs: Warn against running untrusted bytecode 2020-07-09 15:38:15 -07:00
clamsubmit bb12504: Custom CA paths for freshclam, clamsubmit 2020-03-27 12:13:11 -07:00
config clamonacc - update autotools scripts to get clamd and onacc building; autojunk'd 2019-10-02 16:08:26 -04:00
database autojunk'd 2020-03-30 10:00:23 -07:00
docs Docs: Warn against running untrusted bytecode 2020-07-09 15:38:15 -07:00
etc Docs: Warn against running untrusted bytecode 2020-07-09 15:38:15 -07:00
examples Update copyright dates for 2020 2020-01-03 15:44:07 -05:00
freshclam More Coverity bug fixes 2020-06-17 16:02:39 -04:00
fuzz Update copyright dates for 2020 2020-01-03 15:44:07 -05:00
libclamav Fix several coverity warnings 2020-07-15 08:39:32 -07:00
libclammspack Updated libmspack 0.8alpha to 0.10.1alpha. Only different from vanilla is that we add a config.h.in file. 2019-10-02 16:08:24 -04:00
libclamunrar Updated UnRAR 5.7.5 to 5.9.2. 2020-05-01 14:22:17 -07:00
libclamunrar_iface Fix file access issue if in low privelege process 2020-01-23 17:42:33 -08:00
libfreshclam More Coverity bug fixes 2020-06-17 16:02:39 -04:00
libltdl autojunk'd 2019-11-06 09:50:38 -08:00
llvm/lib/Target Merge LLVM upstream r90002 2009-11-27 12:44:52 +02:00
m4 autotools: Fix shell compatibility issue 2020-05-01 08:04:30 -04:00
shared clamd clients: Mitigate move/remove symlink attack 2020-07-01 22:21:40 -07:00
sigtool More Coverity bug fixes 2020-06-17 16:02:39 -04:00
test autojunk'd 2019-11-06 09:50:38 -08:00
unit_tests Fix several coverity warnings 2020-07-15 08:39:32 -07:00
win32 Docs: Warn against running untrusted bytecode 2020-07-09 15:38:15 -07:00
.clang-format Formatting touch-up 2020-01-03 15:53:29 -05:00
.gitattributes Add .gitattributes to set ChangeLog merge driver. 2009-07-13 19:47:47 +03:00
.gitignore Documentation improvements regarding ClamAV installation, initial setup. 2018-12-02 23:07:03 -05:00
aclocal.m4 autojunk'd 2019-10-02 16:08:28 -04:00
ChangeLog.md Documentation update and cleanup. Transition to MarkDown files for improved rendering on GitHub.com 2018-03-06 17:43:54 -05:00
clam-format Formatting touch-up 2020-01-03 15:53:29 -05:00
clamav-config.h.in Autojunk'd 2019-10-02 16:08:31 -04:00
clamav-config.in remove old CVS-stuff and make the repository look more like SVN 2007-02-17 19:02:20 +00:00
clamav-types.h.in Update copyright dates for 2020 2020-01-03 15:44:07 -05:00
clamav-version.h.in Update copyright dates for 2020 2020-01-03 15:44:07 -05:00
configure Autojunk 2020-05-01 08:04:30 -04:00
configure.ac Update copyright dates for 2020 2020-01-03 15:44:07 -05:00
COPYING Add verbiage regarding linking OpenSSL 2014-04-17 09:29:47 -04:00
COPYING.bzip2 Merging the post0.92 stuff 2007-12-13 19:45:38 +00:00
COPYING.curl clamonacc - changing libcurl config version check for clamonacc to key from curl-config 2019-10-02 16:08:28 -04:00
COPYING.file re-enable text detection (ASCII, UTF8, UTF16) 2008-01-07 14:20:38 +00:00
COPYING.getopt shared, clamconf: drop old stuff; replace getopt.[ch] with my_getopt 2009-01-02 17:04:11 +00:00
COPYING.LGPL re-include RAR code 2007-12-12 21:46:34 +00:00
COPYING.llvm Fix typo, use the correct path for LLVM's LICENSE.TXT. 2010-04-09 14:31:27 +03:00
COPYING.lzma update lzma licence 2009-08-05 23:35:58 +02:00
COPYING.pcre added pcre source for windows build; needs trimming 2015-05-29 17:10:19 -04:00
COPYING.regex COPYING.BSD -> COPYING.regex; add COPYING.sha256 2009-03-01 16:19:45 +00:00
COPYING.unrar re-include RAR code 2007-12-12 21:46:34 +00:00
COPYING.YARA Add licence file COPYING.YARA. 2015-05-01 12:12:59 -04:00
COPYING.zlib revert nsis zlibs 2008-02-14 02:12:13 +00:00
INSTALL.md Documentation update and cleanup. Transition to MarkDown files for improved rendering on GitHub.com 2018-03-06 17:43:54 -05:00
Jenkinsfile Jenkins: Expose branch name for downstream pipelines 2020-06-30 09:27:15 -07:00
libclamav.pc.in Improve pkgconfig. Patch supplied by Andreas Cadhalpun. 2015-09-09 17:58:04 -04:00
Makefile.am Update copyright dates for 2020 2020-01-03 15:44:07 -05:00
Makefile.in Autojunk 2020-05-01 08:04:30 -04:00
NEWS.md bb10979: multi-threaded reload minor corrections 2020-07-01 22:06:15 -07:00
platform.h.in fixes cvd load error on some i386 builds caused by -D_FILE_OFFSET_BITS=64 and a long story 2012-11-02 12:15:45 -07:00
README.md Moved the UserManual markdown content to the Cisco-Talos clamav-faq Github repository. 2019-10-02 16:08:18 -04:00

ClamAV

ClamAV® is an open source antivirus engine for detecting trojans, viruses, malware & other malicious threats.

Documentation & FAQ

Official documentation can be found online at ClamAV.net. Our source code release tarballs also includes a copy of the documentation for offline reading.

ClamAV Signatures

Anyone can learn to read and write ClamAV signatures. Take a look at the signature writing documentation and phishing signature writing documentation to get started!

Installation Instructions

UNIX

Build from Source on Linux/Unix/Mac

For basic compile and install instructions on Linux/Unix platforms, check out the install instructions.

For detailed instructions specific to building ClamAV please investigate our the Linux/Unix/Mac Install instructions in the User Manual.

Install from a binary package

For binary package distribution installation instructions, head over to our website.

Windows

Build from Source on Windows

The instructions for building ClamAV from source on Windows is located in the Win32 README.

Using an Install Package

We provide an installer to install ClamAV on Windows to "C:\Program Files". This install method will require you to have Adminstrator priveleges.

We also provide a "Portable Install Package" (i.e. a zip of the required files) for users that may wish to run ClamAV without installing it to a system-owned directory.

For details on how to use either option, head over to the Windows Install instructions in the User Manual.

Upgrading from a previous version

Some tips on how to upgrade from a previous version of ClamAV.

ClamAV News

For information about the features in this and prior releases, read the news.

Catch up on the latest about ClamAV by reading our blog and follow us on Twitter @clamav.

Join the ClamAV Community

The best way to get in touch with the ClamAV community is to join our our mailing lists, and tune to #clamav on IRC.

Want to make a contribution?

The ClamAV development team welcomes code contributions, improvements to our documentation, and also bug reports. Thanks for joining us!

Credits

The ClamAV Team