July 12, 2019
View 23e0b6d

Adds detection and heuristic alert for zips with overlapping files, preventing extraction of non-recursive zip bombs.

Micah Snyder authored on 2019/07/12 11:14:39
View 1d3cb0a

Adds unzip parser code readability improvements; doxygen function comments.

Micah Snyder authored on 2019/07/12 09:20:48
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
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 4, 2018
View 288057e

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

Micah Snyder authored on 2018/12/04 02:40:13
October 25, 2018
View 737cbae

Adjustment to Zip extraction logic to make Z_BUF_ERROR error code non-fatal, allowing scans of partially decompressed files.

Micah Snyder (micasnyd) authored on 2018/10/25 23:09:51
October 10, 2018
View c6cea23

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 01eebc1

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 048a88e

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
February 22, 2018
View 7cd9337

Spelling Adjustments (#30)

Josh Soref authored on 2018/02/22 05:00:59
April 19, 2017
View cbf5017

bb11805 fix multiple results. Refactor false positive and heuristic precedence logic.

Steven Morgan authored on 2017/04/19 01:03:36
July 15, 2016
View 1b9b5f6d

bb11605 - Update the error code to CL_ETMPFILE

Matthew Boedicker authored on 2016/07/15 08:26:16
June 9, 2016
View 7a30752

bb11580 - make cli_matchmeta() respect allmatch.

Steven Morgan authored on 2016/06/09 05:25:34
May 12, 2016
View 51b8cc3

unzip: check for ctx value as requests do not supply a ctx

Kevin Lin authored on 2016/05/12 03:48:58