May 4, 2019
View 0efcd55

Assortment of warning fixes.

Micah Snyder authored on 2019/05/04 07:25:17
March 6, 2019
View f18ae5b

Clean up of PDF object finding logic. Changes include recording object sizes as objects are found, identifying object streams in the object parsing section instead of the PDF parsing section, and limiting of stream and other object parsing to the size of the object instead of the size of the PDF. It is also easier to read and includes more inline documentation.

Micah Snyder authored on 2019/03/06 11:15:41
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
January 26, 2019
View e1cbc27

Updating and cleaning up copyright notices.

Micah Snyder authored on 2019/01/26 00:15:50
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
September 25, 2018
View ac09aa7

bcomp - general fixups and cleanup for byte compare code

Mickey Sola authored on 2018/09/25 01:24:07
August 16, 2018
View 2f7b1eb

bb4007 - adding pcre byte sequence comparison functions

Mickey Sola authored on 2018/08/16 06:04:25
August 15, 2018
View 1158b28

Added new pdf object stream parsing capability.

Micah Snyder (micasnyd) authored on 2018/08/15 06:00:31
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
June 13, 2018
View e39e6d9

Replacing strntol with strntoul to ensure proper (un)signedness when parsing numbers from PDFs.

Micah Snyder authored on 2018/06/13 09:47:21
June 3, 2018
View 91c8f9e

bb12133: Wrapping cli_strntol to provide easy error detection. Applying cli_strntol_wrap with error checking. Adding logic to identify when a parsing error is in fact a new revision of the PDF.

Micah Snyder authored on 2018/06/03 09:58:35
June 2, 2018
View ef9239d

bb12133: Implementing cli_strntol based on gnu gcc's strtol implementation with modifications to limit string buffer length for non-null terminated strings. Using cli_strntol in pdf.c for added safety.

Micah Snyder authored on 2018/06/02 03:23:25
March 6, 2018
View 6289eda

Eliminating AUTHORS file, and moving acknowledgements for various source code contributions to the file comment blocks for the individual files, as appropriate.

Micah Snyder authored on 2018/03/06 06:34:35
August 31, 2017
View 915614e

strn - adding configuration option to force use of internal strn functions for use when crosscompiling binaries against older libraries

Mickey Sola authored on 2017/08/31 04:24:23