Commit Graph

203 Commits (2e55c901b1b0571a340602ee2681255876f63f1a)

Author SHA1 Message Date
mko-x a21cc6dcd7
Add explicit log level parameter to application logging API 4 years ago
micasnyd 140c88aa4e Bump copyright for 2022 4 years ago
Yann E. MORIN 80f647339c mbox: do not use backtrace if using uClibc without backtrace support 4 years ago
Micah Snyder c5b91947c6 Fix leak in email parser when using gen-json option 4 years ago
Micah Snyder 0a24f70218 Rename Heuristics.Email.ExceedsMax alerts 4 years ago
Micah Snyder 4470547d06 Heuristics.Email.ExceedsMax* only alert if alert-exceeds-maxi 4 years ago
Micah Snyder db013a2bfd libclamav: Fix scan recursion tracking 4 years ago
Andy Ragusa 11b069db59 Added malloc error handling macros to ole2_extract 4 years ago
Micah Snyder cf63dad598 clamav.net URL update for new docs (2) 5 years ago
Micah Snyder (micasnyd) d9f0f030fc Fix debug-mode assert-crash in mail parser 5 years ago
Micah Snyder (micasnyd) 0c1ec30f9a fuzz-29504: Fix null-reference in mail parser 5 years ago
Andrew 81367e0829 Fixed several coverity warnings (error handling++) 5 years ago
Micah Snyder (micasnyd) b9ca6ea103 Update copyright dates for 2021 5 years ago
Micah Snyder afbf0b6180 Fix Windows text file EOL conversion issues 5 years ago
Andy Ragusa (aragusa) b849bbd02e Fixed signedness to avoid assert on calls to isspace in mbox.c 5 years ago
Micah Snyder 78c8cb0fe1 fuzz-20756: Fix memory leak in mail parser 5 years ago
Micah Snyder e0132def09 Formatting touchup 5 years ago
Micah Snyder c110392780 Change permission for new tmp files from RWX to RW 6 years ago
Micah Snyder 52098c5f57 Eliminate warnings in mail parser 6 years ago
Micah Snyder 11ef77007b Improve tmp sub-directory names 6 years ago
Micah Snyder 9b9999d778 Rename core scanning functions 6 years ago
Micah Snyder 9f2de39e04 New tmp sub-dir per scan; JSON meta improvements 6 years ago
Andy Ragusa (aragusa) 3616f1fcb9 Fixed memory leak reported by oss-fuzz. 6 years ago
Micah Snyder (micasnyd) 67b5bb6cd4 Fixes null-dereference in mail message parser. 6 years ago
Andy Ragusa 069ab18eec Modified mbox.c only mark files as infected with heuristic alerts if heuristic alerts are enabled. 6 years ago
Andy Ragusa 2399e541ef bb12380: Added limits to the mailbox parser. 6 years ago
Micah Snyder 206dbaefe8 Update copyright dates for 2020 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 97a0647e88 Additional variable type changes for correctness and to silence warnings. A handful of other minor changes to silence warnings. Corrected a number of function definitions so they return cl_error_t rather than int. 6 years ago
Micah Snyder ca8b4c466e Assortment of warning fixes. 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 cef54eaf8f Freshclam refresh. This update makes libcurl a hard requirement for ClamAV. 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
Micah Snyder 72fd33c8b2 clang-format'd using new .clang-format rules. 6 years ago
Micah Snyder 38fe8b69a0 Added .clang-format style rules, clam-format script to automate formatting of ClamAV code, and preparing select files so that clang-format does not alter carefully formatted sections. 6 years ago
Micah Snyder 8cf9b527b0 Updated win32 3rdparty libxml2 to version 2.9.8. 7 years ago
Micah Snyder d7979d4ff7 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. 7 years ago
Micah Snyder 964a1e7321 Converting http urls to https urls. Primary focus was on clamav.net urls. I updated a couple others and fixes a few broken links as well. There are many (non-clamav.net) urls I didn't address, especially in 3rd party or contrib code. 8 years ago
Micah Snyder 6289eda8e0 Eliminating AUTHORS file, and moving acknowledgements for various source code contributions to the file comment blocks for the individual files, as appropriate. 8 years ago
Josh Soref 7cd9337a70 Spelling Adjustments (#30) 8 years ago
Mickey Sola f75c04b0c4 bb11941 - fixing UAF in mbox exportBounceMessage. Original patch submitted by Suleman Ali 8 years ago
Micah Snyder 7cf2a70104 b11939: adding fix as recommended by bug reporter along with a couple extra lines to ensure freed pointers are set to NULL. 8 years ago
Mickey Sola d1100be31a bb11940 - fixing heap overflow in rfc2037. Patch submitted by Suleman Ali 8 years ago
Mickey Sola 39c89d14a6 bb11945 - fixing null dereference of blob pointer 8 years ago
Micah Snyder 77326673e2 Adding missing -1 that enables trimming of trailing spaces in mbox parsing code. 8 years ago
Steven Morgan ee6fb5fbf0 add some null argument checks before using the json api. 8 years ago
Micah Snyder ce2dcb5392 bb11432 - cleaning up additional warning messages. 8 years ago
Micah Snyder 4cd97da451 eliminating warnings, mostly with regards to signed vs unsigned comparisons, some of which could have been functional bugs if negative values were used (for offsets, etc). cleaned up a couple of macros and cleaned up some ifdefs. 8 years ago