Commit Graph

116 Commits (405829ee884f52c6031bbccc1078c83d0dae2450)

Author SHA1 Message Date
Micah Snyder 405829ee88 Refine max-allocation and safer-allocation function and macro names 1 year ago
Micah Snyder 902623972d Remove max-allocation limits where not required 1 year ago
Micah Snyder 8e04c25fec Rename clamav memory allocation functions 1 year ago
Micah Snyder 6d6e04ddf8 Optimization: replace limited allocation calls 1 year ago
Micah Snyder 9cb28e51e6 Bump copyright dates for 2024 1 year ago
Micah Snyder 7d66717f44 Fix benign compiler warning in logging macro 2 years ago
Razvan Cojocaru 64b4bd9ccc Fix printf() argument type mismatch warnings 2 years ago
Micah Snyder 6eebecc303 Bump copyright for 2023 2 years ago
Micah Snyder 059b9c8aa3 Clang-format touchup 3 years ago
Mickey Sola 317153435e CLAM-1775: increase max allocation size 3 years ago
Micah Snyder d9c8cab5be
Windows: Fix utf8 filepath issues 3 years ago
mko-x a21cc6dcd7
Add explicit log level parameter to application logging API 3 years ago
micasnyd ba0a21c31f Generate Rust-bindings for some internal C-headers 3 years ago
micasnyd 140c88aa4e Bump copyright for 2022 3 years ago
Micah Snyder de97ffc787 Minimize re-seeding random number generator 4 years ago
Mickey Sola 6cbb648113 Update rust logging inclusion based on feedback 4 years ago
Mickey Sola e8d78c9627 Add logging interface via the log crate for libclamav_rust modules 4 years ago
Micah Snyder 78f99bef34 ClamD: Fix clamdscan error with broken symlink on macOS 4 years ago
Andy Ragusa df3e859e50 Moved assignedment of 'mdir' before it is used. 4 years ago
Tim Gates 251befbdf3
docs: Fix a few typos 4 years ago
kang-grace e68b14efc9
clamdscan: Fix directory scan on Windows 4 years ago
Micah Snyder d46832d5cf clamav.net URL update for new docs, github issues 4 years ago
Micah Snyder 90e4d66f7c OLE2 / XLS document image extraction 4 years ago
Micah Snyder 9451224323 Test: ClamDScan ExcludePath; Valgrind 4 years ago
Micah Snyder fc34ad071b ClamDScan: --fdpass/--stream leak; ExcludePath issues 4 years ago
Andrew 81367e0829 Fixed several coverity warnings (error handling++) 4 years ago
Micah Snyder (micasnyd) 5adef25d8d clamdscan: Fix --fdpass -m & ExcludePath crash 4 years ago
Micah Snyder (micasnyd) b9ca6ea103 Update copyright dates for 2021 4 years ago
Micah Snyder (micasnyd) 3a7a20c323 Allow scans even if realpath lookup fails 4 years ago
Micah Snyder b589762814 Windows: Fix unicode filename and file share scans 5 years ago
Micah Snyder (micasnyd) 9e20cdf6ea Add CMake build tooling 5 years ago
Micah Snyder (micasnyd) 4f21133667 clamdscan: perform real-path checks in clamd 5 years ago
Micah Snyder 07a66adc75 Fix bug added in previous patch, fixup unit tests to use newly added sanitized_basename parameter. 5 years ago
Micah Snyder 860764eb16 Heuristic macro detection for imp VBA extraction 5 years ago
Micah Snyder (micasnyd) 407407c98c clamd clients: Mitigate move/remove symlink attack 5 years ago
Micah Snyder 053ce64c6f Reduce likelihood of tmp file name collisions 5 years ago
Micah Snyder c110392780 Change permission for new tmp files from RWX to RW 5 years ago
Micah Snyder 005cbf5a37 Record names of extracted files 5 years ago
Micah Snyder 9f2de39e04 New tmp sub-dir per scan; JSON meta improvements 5 years ago
Micah Snyder 206dbaefe8 Update copyright dates for 2020 5 years ago
Micah Snyder 03a5c6819d bb12391: Fixes error handling of cli_readn() in cli_filecopy(), preventing possible infinite loop. 6 years ago
arlecchino e0d29ffb58 Bug 12385 - MAX_PATH and PATH_MAX mismatch 6 years ago
Micah Snyder bcb4505e60 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. 6 years ago
Micah Snyder db8c65fc55 Correction to temp name generator when prefix is used to remove possible leak of malloced string where length is 0. 6 years ago
Micah Snyder 4524c398f3 Argument and return types for fmap_readn(), cli_writen(), cli_readn() converted to use size_t instead of int. 6 years ago
Micah Snyder 5f4f69102d Correcting types from int to cl_error_t where appropriate. Eliminating unused variables and referencing unused parameters to remove warnings. 6 years ago
Micah Snyder (micasnyd) 1c996e8872 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. 6 years ago
Micah Snyder 155eaaad8b 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. 6 years ago
Micah Snyder 479a9a235a Fixes for issues identified by coverity. 6 years ago
Micah Snyder 52cddcbcfd Updating and cleaning up copyright notices. 6 years ago