Commit Graph

4638 Commits (034cc770585228a2c51d59324826679ff89fa017)

Author SHA1 Message Date
Andrew a0980389a7 Fix uninitialized memory usage in PE cert parsing 6 years ago
Micah Snyder bbfe42e133 Correcting use of unsigned variable to a signed off_t variable in calculation that was intended to result in a negative number but failed on 32bit platforms without a cast. 6 years ago
Micah Snyder 4c8bbfd087 Fix to alleviate circular dependency between readdb.h and matcher.h 6 years ago
Micah Snyder 9baa0ad708 Fixes to alleviate warnings with regards to mempool usage. 6 years ago
Micah Snyder ae3aede6ff Fix for bad format string, identified by coverity. 6 years ago
Micah Snyder 53c2cb1b02 Error handling improvements in bytecode api function to alleviate coverity complaints. 6 years ago
Micah Snyder 88ce6b8170 Fix to dereference pdf pointer after NULL check, not before. 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 b849df5cd1 Address coverity concern regarding potential null pointer. Now using the daily db pointers to indicate existence of database. 6 years ago
Micah Snyder 4a8aad9f3d Converted off_t types in HWP parser to size_t, both for correctness as these offsets may never be negative and to eliminate compile warnings. 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 53e3045bf4 Return code checking corrections to regex suffix code. 6 years ago
Micah Snyder 95f456424a Variable type corrections for pcre/pcre2 code. 6 years ago
Micah Snyder 280c298775 DLP module length values converted from int to size_t. 6 years ago
Micah Snyder 9e268996a7 json api return types converted to cl_error_t from int 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 ca8b4c466e Assortment of warning fixes. 6 years ago
Micah Snyder ee40795fe2 Converted mpool calls to macros when USE_MPOOL is defined to clearly differentiate between function and macro behavior. 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 8c37c1a081 Added egg extraction readability improvements. Moved the posix file mode printing code into a separate function. Added comments that explain to-do items to support solid archive extraction. 6 years ago
Micah Snyder 35c4774ef1 Adds fixes to prevent memory leaks if realloc fails. 6 years ago
Micah Snyder 1606ce043c Converted egg parser to use cl_error_t instead of cl_egg_error_t. 6 years ago
Micah Snyder 8d30642000 Disabling LZMA decompression for EGG archives, because it currently fails with an error message that isn't very user friendly. 6 years ago
Micah Snyder b53bf13b00 Fixed Egg parser support for parsing archive comment headers and elimited potential infinite loop bug. 6 years ago
Micah Snyder 0450e68551 Added new EGG archive extraction feature, written from scratch based on ESTsoft's EGG archive specification. 6 years ago
Micah Snyder 559df75c9f Autojunk'd 6 years ago
Micah Snyder c3cc2841e7 Autojunk'd 6 years ago
Micah Snyder (micasnyd) 88d271cbf5 Added pdf max object checks to limit max # of objects but continue scanning those that have already been found. 6 years ago
Micah Snyder 0c555069fa fuzz - 13495 - Fix for memory leak due to lacking error handling when normalizing javascript. 6 years ago
Micah Snyder 730032dc8a fuzz - 13045 - Fix for possible integer overflow in cli_scanrtf. 6 years ago
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