July 10, 2019
View 1c996e8

bb12238 - Removing support for deprecated readdir_r() function. The readdir() function is thread safe so long as you don't share a dir object between threads. If you do, it requires a mutex.

Micah Snyder (micasnyd) authored on 2019/07/10 01:21:34
March 3, 2019
View 155eaaa

bb12284 - Fix to prevent path traversal when using cli_genfname() to generate filenames that may retain path and filename information. Changed scanrar so that it will no longer retain path information for extracted files.

Micah Snyder authored on 2019/03/03 03:05:17
January 26, 2019
View 52cddcb

Updating and cleaning up copyright notices.

Micah Snyder authored on 2019/01/26 00:15:50
December 20, 2018
View 2b5c743

bb12232: Message should have been printed at the debug level instead of error level.

Micah Snyder (micasnyd) authored on 2018/12/20 04:33:32
December 6, 2018
View b3e82e5

Replacing libclamav/cltypes.h with clamav-types.h.in, which generates a header clamav-types.h that we install alongside clamav.h.

Micah Snyder authored on 2018/12/06 10:46:20
December 4, 2018
View 72fd33c

clang-format'd using new .clang-format rules.

Micah Snyder authored on 2018/12/04 02:40:13
November 17, 2018
View 9ad3762

Fixing variable name in #else condition that broke the build on freebsd, other non-linux, non-mac, non-windows os's.

Micah Snyder authored on 2018/11/17 05:37:21
November 16, 2018
View fef9404

bb12220: Converting strnlen() calls to cli_strnlen() for systems such as Solaris 10 where strnlen() is not available. Adding #else clause to cli_get_filepath_from_filedesc() for platforms where we have not implemented a mechanism to determine the filename from the file descriptor.

Micah Snyder (micasnyd) authored on 2018/11/16 23:24:10
November 15, 2018
View 479a9a2

Fixes for issues identified by coverity.

Micah Snyder authored on 2018/11/15 06:58:30
September 25, 2018
View 9739293

Removing unRAR SFX Check from scanners.c. Flawed feature was skipping scans of files in RAR archives that had the same CRC in the RAR file entry header as a previously scanned entry. Archives CRC's cannot be trusted. Removing the SFX Check eliminated false negatives in regression testing.

Micah Snyder authored on 2018/09/25 04:01:22
July 31, 2018
View d39cb65

Updating libclamunrar from legacy C implementation to modern unrar 5.6.5. API changes and supporting changes included to pass the filepath of the scanned file into libclamav through the cli_ctx structure, required by the unrar library to open archives. The filename argument may be optional for the scandesc scanning variant, but libclamav will make a best effort to identify the filename from the file descriptor if it was not provided. In addition, included the ability to prefix temp file and directory names with file basenames.

Micah Snyder authored on 2018/07/31 09:19:28
March 28, 2018
View 964a1e7

Converting http urls to https urls. Primary focus was on clamav.net urls. I updated a couple others and fixes a few broken links as well. There are many (non-clamav.net) urls I didn't address, especially in 3rd party or contrib code.

Micah Snyder authored on 2018/03/28 02:06:46
August 17, 2017
View 47a544d

m4 - rework of strndup and strnlen function absence handling

Mickey Sola authored on 2017/08/17 06:03:39
July 29, 2017
View cd7c9a4

solaris - adding strnlen and strndup implementations to ensure compatability with versions <= 10

Mickey Sola authored on 2017/07/29 00:34:26
July 14, 2016
View 67f8441

implement cli_strndup and cli_mpool_strndup

Kevin Lin authored on 2016/07/14 04:52:17