Micah Snyder
964a1e7321
Converting http urls to https urls. Primary focus was on clamav.net urls. I updated a couple others and fixes a few broken links as well. There are many (non-clamav.net) urls I didn't address, especially in 3rd party or contrib code.
2018-04-02 07:58:33 -04:00
Mickey Sola
47a544dc07
m4 - rework of strndup and strnlen function absence handling
2017-08-21 18:16:28 -04:00
Micah Snyder
14e2247bd2
updating the copyright for a number of tiles.
2017-08-09 14:28:47 -04:00
Micah Snyder
7b1f1aaf9a
fixed minor warnings regarding type conversions.
2017-08-08 17:38:17 -04:00
Mickey Sola
cd7c9a4fb7
solaris - adding strnlen and strndup implementations to ensure compatability with versions <= 10
2017-07-28 11:34:47 -04:00
Kevin Lin
67f8441d5e
implement cli_strndup and cli_mpool_strndup
2016-07-13 16:26:46 -04:00
Mickey Sola
46a35abe56
mass update of copyright headers
2015-09-17 13:41:26 -04:00
Kevin Lin
b6768907aa
formatting changes
2014-11-19 18:14:19 -05:00
Kevin Lin
ac20e91b05
engine bb#8640 - fixed mempool issue with 64-bit pointers in Windows
2014-11-18 17:18:42 -05: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
David Raynor
f526f0b2c3
mpool: move map allocation after error checks
2013-10-07 13:44:19 -04:00
Shawn Webb
110714bb37
Fix bugs in mpool and readdb
2013-04-12 14:20:23 -04:00
David Raynor
5fc6e404ae
libclamav/mpool.c: fix inconsistency in cli_mpool_hex2str
2013-02-28 15:44:57 -05:00
Shawn Webb
e522909e19
bb6061
2012-11-19 13:20:33 -05:00
David Raynor
2beb84a10e
mpool: bb#5827
2012-09-20 10:43:11 -04:00
aCaB
18f620f234
bb#3926
2012-01-17 11:21:00 +01:00
aCaB
8a6c292152
make solaris linker happy
2011-02-08 02:43:44 +01:00
aCaB
d4c6e1d69b
regen pool 32bit
2011-01-18 16:48:03 +01:00
aCaB
697b276e09
recompute pool sizes amd64
2011-01-18 15:57:27 +01:00
aCaB
7cbc72d3b1
c4w: error path engine leak
2010-11-09 19:02:53 +02:00
aCaB
4f798ac6e7
expand pua, bump rc version
2010-09-22 12:13:38 +02:00
Tomasz Kojm
80871017e0
libclamav/mpool.c: permanently disable debug mode (bb#2222)
2010-08-26 14:09:15 +02:00
Török Edvin
c973580727
drop 2 more sizes.
2010-06-29 15:25:59 +03:00
Török Edvin
8a88afcfb4
Regenerate sizes.
2010-06-29 15:19:28 +03:00
Török Edvin
5f12eacba7
Fix alignment calculation.
2010-06-29 13:25:11 +03:00
Török Edvin
bab1a60424
Regenerate pool sizes.
...
On 32-bit we now use only 78MB instead of 91MB, and on 64-bit we use 106MB.
2010-06-29 12:24:23 +03:00
Török Edvin
d068119a9f
Reduce memory waste due to alignment (~14% improvement).
...
Previously we were aligning all sizes to 8, and we had FRAG_OVERHEAD of 8
(because we wanted everything 8 byte aligned).
Now we only align as needed, and also only align a size once significantly
reducing memory waste.
FRAG_OVERHEAD is only 2, with up to 7 bytes of padding in worst case, but
usually much better.
2010-06-29 12:24:23 +03:00
aCaB
4743d54fd9
mpool for win32, update win32 stuff
2010-05-10 03:46:46 +02:00
Török Edvin
e4a0f2c94f
fix compiler warnings (bb #1872 , bb #1934 , bb #1935 )
2010-04-13 16:19:47 +03:00
Török Edvin
630d47cb0d
Need to align the MPMAP field to 64-bit for Sparc.
...
Otherwise the returned pointers are not aligned either!
2010-03-22 18:36:03 +02:00
Török Edvin
5684130b55
Fix sparc sigbus.
2010-03-22 14:08:56 +02:00
aCaB
6eaca76eb0
pool size recalculated, win32 VI bumped
2010-03-21 18:35:32 +01:00
Török Edvin
261e29da34
Fix bus error on Sparc.
...
Now that we have a struct with a 64-bit int member, we need to align
everything to 64-bits on sparc! The FRAG itself was aligned, however
the ->fake member was at 4-bytes distance (so half the time unaligned).
Fix this by adding a dummy 64-bit member in the union to force alignment to at
least 64-bit.
Also fix some compiler warnings from make distcheck.
2010-01-15 10:23:25 +02:00
Tomasz Kojm
12c6a97e9b
fix some compiler warnings
2010-01-12 16:16:08 +01:00
aCaB
01a11a380e
typo in debug message
2010-01-04 22:51:45 +01:00
aCaB
ebf10d4af3
raise mpool max poolsize to 8M
2009-10-24 15:08:58 +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
34e79a80a8
mpool: regen sizes, small cleanup
2009-09-23 03:17:10 +02:00
aCaB
86d59b249e
fix portability issues for fseeko, sysconf(_SC_PAGESIZE), getpagesize() (bb#1658)
2009-07-16 14:21:25 +02:00
Török Edvin
8b2b7201e1
update mpool frag sizes.
...
git-svn: trunk@5046
2009-04-17 13:45:18 +00:00
Török Edvin
46826baf4f
fix mpool_realloc to work with shrinked sizes. This is not yet used anywhere.
...
git-svn: trunk@5045
2009-04-17 13:45:12 +00:00
Török Edvin
025243f6e1
fix uninitialized value warning.
...
git-svn: trunk@4921
2009-03-10 14:14:36 +00:00
Török Edvin
1f48ace849
fix distcheck
...
git-svn: trunk@4917
2009-03-09 11:40:36 +00:00
Török Edvin
eaf2aebdeb
avoid unneeded calloc + memcpy.
...
git-svn: trunk@4911
2009-03-09 11:22:57 +00:00
aCaB
af449e4756
mpool poisonage complete
...
git-svn: trunk@4900
2009-03-05 15:45:25 +00:00
aCaB
1b802d3c34
adding mpool poisoning, more to come...
...
git-svn: trunk@4899
2009-03-05 15:39:37 +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