Commit graph

161 commits

Author SHA1 Message Date
Kevin Lin
f9389d0926 CID 11939, 11940 - fixed resource leaks in sigtool 2014-09-23 10:51:03 -04:00
Shawn Webb
859b6fb843 Fix a few more compiler warnings 2014-07-11 09:42:42 -04:00
Shawn Webb
6df13d049e Finish phase 1 of silencing compiler warnings 2014-07-11 09:30:58 -04:00
Shawn Webb
78ee2250ae Call cl_initialize_crypto() in cl_init() 2014-07-03 22:14:40 -04:00
Shawn Webb
60d8d2c352 Move all the crypto API to clamav.h 2014-07-01 19:38:01 -04:00
Shawn Webb
e0f667e7f1 bb11023 - Wrong declaration of function destroy_ctx to cause undefined behavior 2014-06-02 08:54:43 -04:00
Shawn Webb
f9afc3092f Cleanup OpenSSL on program exit 2014-05-09 17:14:21 -04:00
Shawn Webb
bbab63daec Initialize OpenSSL within the application, not within libclamav 2014-05-09 16:19:00 -04:00
Shawn Webb
d4a7c3a022 Properly initialize the crypto interfaces on Windows platforms 2014-03-07 14:09:46 -05:00
Shawn Webb
da6e06dd68 Provide further abstractions to the OpenSSL integration work 2014-02-28 12:12:30 -05:00
Kevin Lin
9611806a16 bb#10537 - fixed sigtool not identifying targets (>9) 2014-02-20 16:50:10 -05:00
Shawn Webb
5c428be3e1 Fix CIDs 12006 12004 11809 11808 11787 11728 11723 11719 11718 11717 11716 11658 11653 2014-02-19 10:03:53 -05:00
Shawn Webb
f077c6174f Fix some race conditions. Fix some memory leaks. 2014-02-13 13:05:50 -05:00
Shawn Webb
b2e7c931d0 Use OpenSSL for hashing. 2014-02-08 00:31:12 -05:00
Shawn Webb
9a0221255d Backport the autoconf reorganization done for Project Asymptote. 2014-02-05 16:19:47 -05:00
Tom Judge
f8d05d6d9d Fix wording of --cvd-version and fix line lengths of other options while
here.
2014-02-02 20:48:24 -05:00
Tom Judge
3be7f9a93d Add support for passing the CVD version number on the command line
via --cvd-version rather than sigtool prompting for the version
if the previous version of the database is not present.
2014-02-02 17:09:31 -05:00
Shawn Webb
3c29ca0b10 Phase 1 of reporting hashes of PE sections
Conflicts:
	libclamav/stats.h
2014-01-28 10:47:38 -05:00
Steve Morgan
b89ebf3cfb bb8209 moves perror()'s 2013-10-14 17:07:40 -04:00
Shawn Webb
d9b6b8c757 bb#8993 - Rename the STAT macro to CLAMSTAT to avoid name conflicts on AIX 2013-09-25 16:23:10 -04:00
Shawn Webb
5e0e6032d1 Add the ability to specify a custom flevel 2013-09-11 11:32:49 -04:00
Shawn Webb
c1b41d5e84 Add max-bad-sigs option 2013-09-11 10:47:35 -04:00
David Raynor
184eb61792 sigtool: fix decode-sigs, cid #10537 2013-08-12 17:12:23 -04:00
David Raynor
84231ab66a sigtool: cid #10566 2013-08-12 16:32:48 -04:00
David Raynor
e37613ad27 libclamav: SHA1/SHA256 handling changes and wildcard-size support 2013-03-08 18:10:07 -05:00
David Raynor
9bbe52b843 sigtool: Add print-certs command to allow dumping certs without a scan 2013-03-07 19:37:37 -05:00
Shawn Webb
c05ac24f3e Rename .crtdb to .crb and add functionality to sigtool for searching the authenticode database 2013-03-05 15:13:12 -05:00
Carl Wu
557b448fcb cwu_cid#_1396:followup of CID# 1396 2013-02-20 10:37:57 -05:00
Carl Wu
a88f3c934e cwu_cid#_11396:fix cid#11396 2013-02-20 09:16:38 -05:00
Carl Wu
0e4995cec1 cwu_cid#_10429: fix cid# 10429 2013-02-19 17:19:41 -05:00
Steve Morgan
9e24136909 cid 10566 edge case: string not null terminated 2013-02-15 11:14:28 -05:00
Shawn Webb
9afa433fba Fix CID 10620 2013-02-15 10:13:26 -05:00
cwu
ff611b7314 fix CID# 10535 2013-02-14 07:39:00 -08:00
cwu
9b316ff4e4 fix CID# 10536 2013-02-14 07:28:19 -08:00
cwu
f2a76e0b0a fix CID# 10534 2013-02-13 14:41:54 -08:00
cwu
5ef34e679a fix CID# 10538 2013-02-13 14:02:12 -08:00
cwu
a252900c46 fix CID# 10539 2013-02-13 13:12:48 -08:00
cwu
8080337102 fix CID# 10540 2013-02-13 11:33:40 -08:00
Shawn Webb
bbe371cf28 Fix CID 11340 by freeing prior to return 2013-02-12 11:19:40 -05:00
Shawn Webb
81dc25f85e Fixes CID 10620 by initializing .sin_zero 2013-02-11 13:54:01 -05:00
Shawn Webb
835701fffb bb5638 - Add new database file to sigtool 2013-02-04 15:54:44 -05:00
Shawn Webb
e522909e19 bb6061 2012-11-19 13:20:33 -05:00
Shawn webb
a2a004df25 BB#3737 - Value too large for specified data type
Create compile-time preprocessor defines for switching from calling
stat() to stat64(). Add --enable-stat64 switch in configure script.
2012-07-16 15:36:49 -04:00
David Raynor
79abfc8ded sigtool: .cbc missing bb#5242 2012-07-02 11:55:58 -04:00
Török Edvin
3afedd0761 fix GCC warnings.
especially the one about gzFile vs gzFile*, gzopen returns gzFile!
2012-05-30 13:37:32 +03:00
Tomasz Kojm
44db6b4a1e --compare cosmetics 2011-12-07 14:53:33 +01:00
Tomasz Kojm
81e9d8f5d6 increase MAX_DEL_LOOKAHEAD 2011-12-07 14:38:33 +01:00
Török Edvin
f00041c178 Add sigtool --compare.
This can be used how big cdiffs between different files are,
without actually creating CVDs or signed cdiffs.
2011-12-07 12:53:04 +02:00
Tomasz Kojm
06d9e7f314 fix error message when checking .cud files 2011-09-27 16:41:31 +02:00
Tomasz Kojm
e00c869a48 sigtool/sigtool.c: fix calculation of max signature length 2011-08-03 15:42:29 +02:00