Commit graph

26 commits

Author SHA1 Message Date
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. 2019-10-02 16:08:16 -04:00
Micah Snyder
d39cb6581f Updating libclamunrar from legacy C implementation to modern unrar 5.6.5. API changes and supporting changes included to pass the filepath of the scanned file into libclamav through the cli_ctx structure, required by the unrar library to open archives. The filename argument may be optional for the scandesc scanning variant, but libclamav will make a best effort to identify the filename from the file descriptor if it was not provided. In addition, included the ability to prefix temp file and directory names with file basenames. 2018-12-02 23:06:59 -05:00
Micah Snyder
c9a070c9d3 More cleanup re: variables possibly used before initialized. 2018-02-08 16:00:24 -05:00
Mickey Sola
46a35abe56 mass update of copyright headers 2015-09-17 13:41:26 -04:00
Shawn Webb
cd94be7a52 Silence a bunch of compiler warnings in libclamav 2014-07-10 18:11:49 -04:00
Shawn Webb
60d8d2c352 Move all the crypto API to clamav.h 2014-07-01 19:38:01 -04:00
Shawn Webb
b2e7c931d0 Use OpenSSL for hashing. 2014-02-08 00:31:12 -05:00
Shawn Webb
9691454612 bb6091 - check lseek() return 2013-02-28 19:32:29 -05:00
David Raynor
94aa0b9b8b bb#5197: binhex.c 2012-08-21 15:49:06 -04:00
Török Edvin
f304dc688a fmapify: fix const-ness warnings 2012-01-05 14:16:09 +02:00
aCaB
a6cbdba9a3 binhex: scan partially extracted files 2010-02-14 10:10:20 +01:00
aCaB
ddcd9ea6c6 binhex minor fixes 2010-02-12 19:12:13 +01:00
aCaB
124ba12d7b one pass binhex 2010-02-12 15:47:49 +01:00
Tomasz Kojm
ec616ce0c5 libclamav: fix error reporting for BinHex files (bb#1685) 2010-01-04 15:35:52 +01:00
aCaB
63979bf21e Merge remote branch 'origin/fmap4all' 2009-10-09 22:07:33 +02:00
aCaB
49cc1e3c35 s/struct F_MAP/fmap_t/ 2009-10-02 18:09:31 +02:00
aCaB
11195c0b1b fix several problems introduced by the win32 commits 2009-09-25 00:32:34 +02:00
aCaB
4cd80898e6 win32#3 2009-09-24 19:31:30 +02:00
aCaB
2d5dbc3730 binhex, pdf, unzip_single to fmap 2009-08-31 05:37:43 +02:00
aCaB
d09bb0b020 "port" binhex to fmap 2009-08-25 02:19:22 +02:00
aCaB
f2d79ab352 bb#1456
git-svn: trunk@4925
2009-03-11 18:04:01 +00:00
Tomasz Kojm
871177cdd9 return codes cleanup (bb#1159)
git-svn: trunk@4749
2009-02-12 13:53:23 +00:00
Török Edvin
6a21552ef2 have configure define NDEBUG unless we use --enable-debug, instead of having
to #ifndef CL_DEBUG #define NDEBUG #endif in each .c file that uses assert.
If you want assertions enabled you'll need to use --enable-debug to configure,
as until now, no change there.

git-svn: trunk@4343
2008-11-06 14:27:18 +00:00
Tomasz Kojm
2023340a41 update copyrights and stick more files to GPLv2; move and add more credits to the AUTHORS file; add COPYING.BSD
git-svn: trunk@3749
2008-04-02 15:24:51 +00:00
Nigel Horne
7f49ea4b7e Fix warnings on HP-UX
git-svn: trunk@3140
2007-07-11 10:16:30 +00:00
Sven Strickroth
a99111f050 remove old CVS-stuff and make the repository look more like SVN
git-svn: trunk@2755
2007-02-17 19:02:20 +00:00
Renamed from clamav-devel/libclamav/binhex.c (Browse further)