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
bdbfbf10ad
Autojunk'd, to include libiconv detection changes.
6 years ago
Micah Snyder
0450e68551
Added new EGG archive extraction feature, written from scratch based on ESTsoft's EGG archive specification.
...
EGG extraction support includes deflate, bzip2, and lzma decompression. AZO (LZO?) decompression not yet supported. Solid archives not yet supported. Split archives may have some limited success.
This commit also includes updates to autoconf iconv.m4 file enable detection of libiconv in alternative install locations.
6 years ago
Micah Snyder
e3867c1207
Fix to cert utils for mac for compatibility with Openssl 1.1.0+ wherein the X509 structure is now opaque and the name cannot be directly referenced.
6 years ago
Micah Snyder
559df75c9f
Autojunk'd
6 years ago
Micah Snyder
dd45df902a
Fix so the linux cert util compiles.
6 years ago
Micah Snyder
5f71cae2f2
Moved AC_PROG_OBJC out of conditional.
6 years ago
Micah Snyder
5bd5e9ec1c
Windows fixes for TLS certificate caching.
6 years ago
Micah Snyder
c3cc2841e7
Autojunk'd
6 years ago
Micah Snyder
352248f608
Moving Windows cert verification to shared directory, and adding macOS cert verification support.
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 (micasnyd)
cafa0bf368
Updated libmspack 0.8alpha to 0.10.1alpha. Only different from vanilla is that we add a config.h.in file.
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
...
This will prevent git from picking up a ref from parent git repository
and setting this as libclamav REVISION/version.
6 years ago
Micah Snyder (micasnyd)
3df2497aad
bb12193 - Change usage of strerror_r to cli_strerror. Patch submitted by aCaB.
6 years ago
Micah Snyder
3fef33461b
Auto-formatted unrar_iface.cpp, as it somehow missed previous autoformatting efforts.
6 years ago
Micah Snyder
113fe99555
Updated UnRAR 5.6.5 to 5.7.5. Library is still not-quite-vanilla, as we still have a hack in dll.cpp:332 allowing skipping of files in solid archives. For ClamAV, it only skips if encrypted, allowing it to continue scanning metadata for each encrypted file. This results in improved malware detection.
6 years ago
Ørjan Malde
3690b81196
Fix linkage with libxml2
...
Without $(XML_LIBS) in libclamav_la_LIBADD it fails to link the clam binaries depending on libxml2
6 years ago
Ørjan Malde
6ff6245617
Fix linkage with libxml2
...
Without $(XML_LIBS) in libclamav_la_LIBADD it fails to link the clam binaries depending on 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
Micah Snyder (micasnyd)
bc56df8303
Reimplemented progress bar for freshclam downloads using libcurl API. Included basic time-remaining information as per user request, see: bb5943, though not in the specific format mentioned.
6 years ago
Thomas Jarosch
d6d22a0e3f
msdoc JSON output: Fix 'mode' sanity check logic
...
cppcheck reported:
[msdoc.c:895]: (warning) Logical conjunction always evaluates to false: mode < 0 && mode > 2.
6 years ago
Micah Snyder (micasnyd)
cfd6209881
bb12104 - Added network-online dependency to freshclam systemd service file.
6 years ago
Micah Snyder (micasnyd)
cb9b09afa9
bb12043, bb12302: Adds --foreground freshclam option to help and manpage, some other documentation tweaks.
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
0109718800
Autojunk'd
6 years ago
Micah Snyder
2c5f01c72c
Autoconf configure.ac adjustment. Move AC_CONFIG_AUX_DIR([config]) after AC_INIT and before all others.
6 years ago
Micah Snyder (micasnyd)
b3c740af47
bb12336 - Fix to tmpdir access check in clamscan when using stdin scanning. The access check mistakenly assumed the use of the clamav user account.
6 years ago
Micah Snyder (micasnyd)
32f2be9cbb
Removing contrib directory, which has not been maintained for many years.
6 years ago
Micah Snyder
2c1f820095
Old-style db.XY.clamav.net and db.XY.ipv6.clamav.net entries now redirect to https://database.clamav.net .
6 years ago
Micah Snyder
06e3c1c896
Increased default freshclam receive timeout from 30 sec to 60 sec. Set default DatabaseMirror back to database.clamav.net, now that TLS/SSL is enabled on the mirrors that back the CDN. Some other updates to the man pages that were missing from previous changes.
6 years ago
Micah Snyder
1fc168e7c5
Changed freshclam help string to use printf instead of mprintf because the libfreshclam mprintf_stdout global variable cannot be changed directly in freshclam on Windows.
6 years ago