September 8, 2019
View 635f911

Bug 12385 - MAX_PATH and PATH_MAX mismatch

arlecchino authored on 2019/09/08 22:39:51
August 23, 2019
View 2e06875

bb12370 - cli_strndup and other str* replacements must be built and exported for every OS to be used outside of libclamav on systems that don't have the original functions (e.g. strndup). This commit renames the macros to be uppercase, renames the replacement functions to be preceeded with two understores (e.g. __cli_strndup), and removes the ifdef's so that they are built regardless, because there are no ifdefs in libclamav.map.

Micah Snyder authored on 2019/08/23 05:51:01
July 10, 2019
View c31a98d

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
May 6, 2019
View 1a54797

Correction to temp name generator when prefix is used to remove possible leak of malloced string where length is 0.

Micah Snyder authored on 2019/05/06 03:54:20
May 5, 2019
View 6c03dc5

Argument and return types for fmap_readn(), cli_writen(), cli_readn() converted to use size_t instead of int.

Micah Snyder authored on 2019/05/05 04:54:54
March 3, 2019
View f8b3d2e

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
February 27, 2019
View 102cd43

Correcting types from int to cl_error_t where appropriate. Eliminating unused variables and referencing unused parameters to remove warnings.

Micah Snyder authored on 2019/02/27 14:47:38
January 26, 2019
View e1cbc27

Updating and cleaning up copyright notices.

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

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 e030ba4

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 288057e

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

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

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 8bfbb69

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 5087673

Fixes for issues identified by coverity.

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

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