Commit Graph

4608 Commits (b849bbd02eabc0f948930e893bee2e0590a6e8b2)

Author SHA1 Message Date
Micah Snyder 72f680b04a fuzz - 13785 - Check to detect potential integer overflow in cli_html_normalise. 6 years ago
Micah Snyder 8376c5f3c7 fuzz - 14519 - Fix for peinfo memory leak in cli_peheader error condition. 6 years ago
Micah Snyder df52009b40 pdf.c formatting fixes. 6 years ago
Clement Lecigne 3e77daa791 pdf: fix octal conversion in pdf_readstring. 6 years ago
Clement Lecigne e2b774d791 pdf: handle dictionary object with newlines. 6 years ago
Micah Snyder (micasnyd) 9c58ba7bd7 Update to clamav-devel to synchronize with the clamav-bytecode-compiler project. 6 years ago
Carlo Landmeter 267db29091 libclamav: explicitly use top_srcdir .git dir 6 years ago
Ørjan Malde 3690b81196 Fix linkage with libxml2 6 years ago
Ørjan Malde 6ff6245617 Fix linkage with libxml2 6 years ago
Andrew 4de072327a Rename MAX_BC to MAX_TRACKED_BC for consistency 6 years ago
Micah Snyder 5fef7399da Autojunk'ed 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
Thomas Jarosch d6d22a0e3f msdoc JSON output: Fix 'mode' sanity check logic 6 years ago
Micah Snyder (micasnyd) 83e19b9634 Removed exported but unused symbols from .map files due to complaints by the compiler on Solaris 11, gcc 7. 6 years ago
Micah Snyder dd3cca2dda Added phishCheck R-type PDB sig detection fix to perform the match using copies of the URLs so as not to inadvertantly modify the original URLs and trigger SSL cloaking false positives. 6 years ago
Micah Snyder (micasnyd) 3390c26c99 Added call to match R-type PDB signatures in phishcheck.c:phishingCheck(). This makes R-type PDB signatures functional, and operate as described in the documentation. 6 years ago
Micah Snyder 8214bafbef Freshclam logging fixes. The logging features were linked twice, resulting in duplicate symbols for logg settings. On Windows, this manifested as multiple open log file handles which prevented log rotation. This commit fixes that and also alters the rotated log name slightly so that the log file extension is preserved, for Windows compatibility and convenience when viewing in an editor that color codes .log files. 6 years ago
Micah Snyder 737ec1ef21 Corrections to freshclam logging initialization. Added notation to --help output for --stdout option to indicate that debug messages will not be redirected. Changing direct calls to cli_dbgmsg_internal to use cli_dbgmsg, as cli_dbgmsg_internal always prints, even when --debug is not enabled. 6 years ago
Micah Snyder cef54eaf8f Freshclam refresh. This update makes libcurl a hard requirement for ClamAV. 6 years ago
Paul Arthur f5ca0ae757 Fix buffer length check 6 years ago
Mickey Sola 1b5a59c416 bytecode - J867 - fix memory leak that occurs withn the bytecode interpreter while libjson is enabled 6 years ago
Mickey Sola b8b993f2d4 bcomp - jira826 - fix off by one write during byte compare normalization found while doing ASAN testing 6 years ago
Jonas Zaddach c84683f2f4 Mach-O bytecode unpackers 6 years ago
Jonas Zaddach 2b776e4b89 Linux bytecode unpackers 6 years ago
Micah Snyder (micasnyd) ddc1c9bb11 bb12285 - Change to set read permissions on files extracted from RAR archive in case permissions were inadequate. 6 years ago
Andrew e969151915 Change errmsg to dbgmsg when skipping imphash on PE with no imports 6 years ago
Micah Snyder b7079e9f67 Autoreconf'd. 6 years ago
Micah Snyder (micasnyd) eb4439ac8c bb12319: Correction to return value check for EVP_VerifyFinal calls in libclamav's crypto functions. 6 years ago
Rosen Penev b116ca80d6 Fix compilation without deprecated OpenSSL 1.1 APIs 6 years ago
Andrew 8b72234369 Add option to not remove missing sections (PE) 6 years ago
Andrew df8dfda9cd Address code-review comments, fix several memleaks 6 years ago
Andrew a5723eecb2 Make .crb sigs load before .cat files in loaddbdir 6 years ago
Andrew e8169c7053 Multiple blacklist sigs can now match with allmatch 6 years ago
Andrew a96756b0b6 Copy cert name for debug prints; fail better 6 years ago
Andrew 3cf1b1c58d Add ability to whitelist leaf certificates 6 years ago
Andrew 92088f91f1 Add support for cert blacklisting and whitelisting upfront 6 years ago
Andrew 14d52d0c63 Use genhash_pe instead of checkfp_pe for section hash computation 6 years ago
Andrew c2012bd072 Move a debug print so it doesn't get called as often 6 years ago
Andrew e559f006d6 Restore the correct OEP for aspack unpacked exes 6 years ago
Andrew 921dd18e91 Fix formatting 6 years ago
Andrew 7ba310e605 PE parsing code improvements, db loading bug fixes 6 years ago
rickwang 757ffbbfb3 fix failure of large file detection on 32-bit platforms 6 years ago
Mickey Sola ad0ef25d9b fuzz - 12513 - fixing aspack single byte heap overread 6 years ago
Micah Snyder fe4433b01f Autojunk'd 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 a8ca96687a 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. 6 years ago
Micah Snyder 5e3b1c62ba bb12262 - Fix to address potential use-after-free bug in scanner code relating to the filenames for nested files. 6 years ago
Micah Snyder 25d72538cd fuzz - 12181 - Fixed 1-byte buffer over-read in PDF parser. 6 years ago
Micah Snyder 1e50361baf fuzz - 12168 - Fix for 1 byte out of bounds read in PDF parser. Fix includes a check to ensure that it is safe to index -1 from the start of an object a well as additional checks to invalidate some negative integer values. 6 years ago
Micah Snyder 50f178dc63 fuzz - 12166 - Fix for 4-byte out of bounds write wherein the an invalid struct pointer member variable is set to zero. The fix adds bounds checking to the Uniq storage 'add' function as well as error code checks. Included a lot of new inline documentation. 6 years ago