Commit graph

29 commits

Author SHA1 Message Date
Shawn Webb
6df13d049e Finish phase 1 of silencing compiler warnings 2014-07-11 09:30:58 -04:00
Shawn Webb
60d8d2c352 Move all the crypto API to clamav.h 2014-07-01 19:38:01 -04: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
David Raynor
75d3061c2b Backout changes for CID #11102, descriptors already closed by fclose() or gzclose() 2013-02-13 13:13:37 -05:00
cwu
eabac9882c Merge branch 'master' of git.clam.sourcefire.com:/var/lib/git/clamav-devel 2013-02-13 09:57:41 -08:00
cwu
a8871f918e according to David, we just do gzh close or fh close for now. If this cause any issue, we will recheck this section of code 2013-02-13 09:56:36 -08:00
cwu
6f768782a7 fix CID#11102 : close a dup fd before every return statement 2013-02-13 08:43:06 -08:00
David Raynor
bebd86a60b bb#5343 2012-06-22 16:55:29 -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
b33354e55c cosmetics (bb#2207) 2011-03-11 20:30:45 +01:00
aCaB
9c5765ead4 error path dbl free in cdiff.c 2010-12-17 17:12:31 +01:00
Tomasz Kojm
4bc4581d6e shared/cdiff.c, sigtool/sigtool.c: fix error path double frees (bb#2280, bb#2281) 2010-09-21 16:14:15 +02:00
Tomasz Kojm
7b3cc5accb shared/cdiff.c: fix handling of massive XCHGs (bb#2017) 2010-06-08 12:48:54 +02:00
aCaB
48d39e496d shared/cdiff: use binary mode 2010-02-03 15:19:14 +01:00
Tomasz Kojm
0c234f5ffd CL_DB_CVDNOTMP is now the only way to load .cvd/.cld files; prepare
for .info signing
2010-01-20 15:02:13 +01:00
Tomasz Kojm
9b3e1e8580 clamdscan, libclamav, clamdtop, freshclam, sigtool: fix some error path leaks (bb#1730) 2009-10-27 21:02:00 +01:00
Tomasz Kojm
745259c223 shared/cdiff.c: add missing gzclose() (bb#1450)
git-svn: trunk@4894
2009-03-04 08:11:44 +00:00
aCaB
35611401f8 bb#1450
git-svn: trunk@4892
2009-03-04 01:01:49 +00:00
Tomasz Kojm
44fc3ff574 shared/cdiff.c: scripts can now control size of input buffer (bb#1395)
git-svn: trunk@4837
2009-02-19 11:56:27 +00:00
Török Edvin
4e46d65d39 use sha256 instead of md5 in phishcheck.
move sha256 to libclamav.
add more tests.

git-svn: trunk@4822
2009-02-18 14:54:16 +00:00
Tomasz Kojm
4367454d76 libclamav, sigtool: fix handling of long signatures (bb#1395)
git-svn: trunk@4795
2009-02-16 16:29:44 +00:00
Tomasz Kojm
47d40feb7a libclamav: use LibTomMath by Tom St Denis instead of libgmp for multiple precision integer arithmetic (bb#1366)
git-svn: trunk@4650
2009-01-26 19:47:02 +00:00
Tomasz Kojm
1cdb6cfbac s/HAVE_GMP/HAVE_LIBGMP
git-svn: trunk@3567
2008-01-31 12:16:31 +00:00
Tomasz Kojm
d1c685b881 move RSASSA-PSS code to shared/cdiff.c
git-svn: trunk@3305
2007-10-18 19:49:28 +00:00
Tomasz Kojm
bb34cb31fe update some copyrights and stick to GPL v2
git-svn: trunk@3003
2007-03-31 20:31:04 +00:00
Tomasz Kojm
ace24e1fbc merge win32 patches from NJH
git-svn: trunk@2875
2007-02-28 03:12:51 +00:00
Tomasz Kojm
8ca8a18e2d drop shared/memory.[ch]
git-svn: trunk@2874
2007-02-28 02:44:23 +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/shared/cdiff.c (Browse further)