March 3, 2019
View 9180468

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 8, 2019
View 80fd907

Removing problematic call to convert file descriptors to filepaths. Added filename and tempfile names to scandesc calls in clamd. Added a general scan option to treat the scan engine as unprivileged, meaning that the scan engine will not have read access to the file. Added check to drop a temp file for RAR's where the we don't have read access to the filepath provided (i.e. unprivileged is set, or access() check fails).

Micah Snyder authored on 2019/02/08 05:03:43
January 26, 2019
View c442ca9

Updating and cleaning up copyright notices in 0.101 branch.

Micah Snyder authored on 2019/01/26 00:15:50
December 7, 2018
View 11e6453

Bumping the version from 0.101.0 to 0.101.1 and adding notes to NEWS.md to explain the need for 0.101.1.

Micah Snyder authored on 2018/12/07 03:13:01
December 6, 2018
View 95b2d68

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
November 17, 2018
View 2f28382

Updated version string to 0.101-rc and incremented the FLEVEL to 101.

Micah Snyder (micasnyd) authored on 2018/11/17 00:41:48
October 10, 2018
View f61e92d

Changing numerous scan options' names, primarily those of heuristic signatature alert options. Original options (command line and clamd) will remain as deprecated & undocumented for a couple releases. Added 2 extra scan options to allow users to differentiate between alerting on encrypted archives vs encrypted documents (bb11911).

Micah Snyder (micasnyd) authored on 2018/10/10 22:02:28
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
July 21, 2018
View d7979d4

Restructured scan options flags from a single bitflag field to a structure containing multiple bitflag fields. This also required adding a new function to the bytecode API to get scan options a la carte, and modifying the existing function to hand back scan options in the old/deprecated uint32_t bitflag format. Re-generated bytecode iface header files.

Micah Snyder authored on 2018/07/21 11:28:48
July 7, 2018
View 9957ff3

Adding bytecode functionlity level for 0.100.1. Incrementing the CL_FLEVEL to 100 for 0.101.

Micah Snyder authored on 2018/07/07 04:41:59
April 27, 2018
View 7f1ddab

Proposed fix to warnings on big endian AIX builds that may have been indicative of truncated readint64 return values.

Micah Snyder (micasnyd) authored on 2018/04/27 11:16:23
March 9, 2018
View 4a36d20

Bumping the FLEVEL to 91 for 0.100.0-rc

Micah Snyder authored on 2018/03/09 02:31:53
January 25, 2018
View 8a0fa1a

bumping the FLEVEL for 0.100

Micah Snyder authored on 2018/01/25 03:43:59
August 17, 2017
View 47a544d

m4 - rework of strndup and strnlen function absence handling

Mickey Sola authored on 2017/08/17 06:03:39
View e09d884

eliminated a large number of warnings, many of which had to do with mixing types. i switched some types to size_t and a couple to ptrdiff_t to make things more consistent, but there is a huge amount of work to be done to make types consistent. int, unsigned int, unsigned, off_t, and other types are ill-suited to storing buffer lengths or memory addresses.

Micah Snyder authored on 2017/08/17 06:31:45