aCaB
0281fb4d9c
32 and 64 bit pools
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4301 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
948644e619
tuned granularity - amd64 only (for now) - VIRT 114 / RES 95
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4300 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
1133ea32d9
fix more valgrind warnings
...
git-svn: trunk@4299
17 years ago
Török Edvin
a0ff88e4af
suppress another valgrind warning on Fedora
...
git-svn: trunk@4298
17 years ago
Tomasz Kojm
285d0b33ca
freshclam: add new config option DetectionStatsCountry
...
git-svn: trunk@4297
17 years ago
Tomasz Kojm
2fb80ebc7c
freshclam: re-enable --submit-stats (bb#1235)
...
git-svn: trunk@4296
17 years ago
Török Edvin
02157f0821
suppress valgrind warnings for old libc.
...
The warning is in __strcpy_chk, but I don't want to suppress a useful warnings in recent libcs,
and there is no way to specify both a function and object in a suppression, so I
suppressed all warnings from libc-2.5 when called from mbox/message.c
git-svn: trunk@4295
17 years ago
Török Edvin
a11bc7f397
fix typo in test script
...
git-svn: trunk@4294
17 years ago
Török Edvin
69bf831df5
fix valgrind warnings on Fedora
...
git-svn: trunk@4293
17 years ago
Tomasz Kojm
cafd341282
freshclam/execute.c: don't execute special events twice in interactive mode (bb#1256)
...
git-svn: trunk@4292
17 years ago
Tomasz Kojm
3f81d93a7e
libclamav: fix detection of Worm.Mydoom.M.log and control it with CL_SCAN_ALGORITHMIC and dconf (bb#1241)
...
git-svn: trunk@4291
17 years ago
Török Edvin
7174d94034
fix leak on rare error path (bb #1254 )
...
git-svn: trunk@4290
17 years ago
Török Edvin
d5d06eccaa
support building with older versions of check
...
git-svn: trunk@4289
17 years ago
Török Edvin
48432955a5
fix typo in previous commit
...
git-svn: trunk@4288
17 years ago
Török Edvin
2c9248cb84
When user has overriden --libdir, we still need to find out the correct
...
acl_libdirstem
git-svn: trunk@4287
17 years ago
aCaB
e21657dfc9
a faster and more compact allocator
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4286 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
eb8ab9d28a
bloody svn sucks
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4285 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
9d444ac69b
use -print-multi-os-directory to set default libdir (bb #1240 )
...
WARNING: On a 64-bit multiarch OS, this will by default install libclamav
into /usr/local/lib64, if your system uses /usr/local/lib for 32bit apps.
If the system uses /usr/local/lib for 64-bit apps and lib32 for 32bit apps,
there is no change (unless you use -m32).
git-svn: trunk@4284
17 years ago
aCaB
a963dd9257
typo
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4283 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
1e2969a4e1
reenable non-mpooll builds
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4282 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
d22176efd2
MERGE COMPLETE
...
TODO
- unuglify the ifdefs
- reenable make checks
- rework mpool.c
- test
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4281 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
0d9dbdef21
some leaks fixed
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4280 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
d7f43f9fce
the 2nd clamd process might already be gone, wait returns 127.
...
This fixed a silent make check failure on NetBSD.
git-svn: trunk@4279
17 years ago
aCaB
4284b788bc
freeign0
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4278 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
b36e9f8a1a
mempool for regex_list/phishcheck
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4277 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
29f241666f
fix hexnew allocation, mempool for regex_list
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4276 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
9adefc192c
locate efence/duma using libtool's search path so that it works with /usr/lib64 (bb #1250 )
...
git-svn: trunk@4275
17 years ago
aCaB
6e2a411334
make _resize properly behave
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4274 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
04dc5e0ae5
remove debug message
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4273 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
e309658f9b
strdup not hex2str for tokens[3]!
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4272 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
a5746c2512
TODO:
...
- make regex* and hash* behave properly (either include or exclude from the pool entirely)
- cleanup the ifdefs and make a single macro
- fixup the proto for dconf (re-enables make check in mpool-mode)
- check the possibility to entirely wipe frees from error paths in mpool-mode
(this totally simplifies the code)
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4271 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
b0c3171680
missing symlinks
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4270 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
885c2bf5b9
builds with and without mpools (#define USE_MPOOL) but it's still very broked
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4269 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
0728972ea5
(hoepfully) completed db load, regexes and hashes missing
...
need to recheck strlen(hex2string) bugs, need to figure how to hangle regexes and hashes: edwiiiiiiin!!! :D
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4268 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
b583d6ed27
small update
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4267 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
b94e66c486
HIGLY EXPERIMENTAL memory pool for libclamav
...
The goal is to put an end to memory wasted due to stupid allocators and fragmentation
In the long run mpool libraries will be replaced with better code. For now there just good enough.
This branch is currently under development and totally broken.
If it will ever compile, it'll probably result in random crashes or at least (slightly) higher load times.
The code is also terrible, just don't look.
Do not use except for testing.
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4266 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
0c2ee2f636
Memory pool branch
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4265 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Tomasz Kojm
d7c9ac1fa1
freshclam/manager.c: fix compilation error on systems without IPv6 (bb#1237)
...
git-svn: trunk@4263
17 years ago
Tomasz Kojm
8bed1c2eb3
0.94.1rc1
...
git-svn: trunk@4261
17 years ago
Tomasz Kojm
82c7fe72bc
freshclam: drop --submit-stats; please use SubmitDetectionStats instead (bb#1235)
...
git-svn: trunk@4260
17 years ago
Tomasz Kojm
515350689a
bump flevel and revision
...
git-svn: trunk@4259
17 years ago
Tomasz Kojm
2233c2e75a
update docs
...
git-svn: trunk@4258
17 years ago
aCaB
16516d51ac
docs update
...
git-svn: trunk@4257
17 years ago
Török Edvin
0a0ae0b407
fix build on Solaris, fix compiler warning (bb #1234 )
...
git-svn: trunk@4256
17 years ago
Tomasz Kojm
c702906433
cosmetics
...
git-svn: trunk@4255
17 years ago
Tomasz Kojm
b1fa154b64
clamd/server.h: drop dead code (bb#1231)
...
git-svn: trunk@4254
17 years ago
Tomasz Kojm
048e43bde9
use HAVE_STRINGS_H (bb#1230)
...
git-svn: trunk@4253
17 years ago
Török Edvin
d9282b9765
properly null-terminate buffer (bb #1223 )
...
git-svn: trunk@4252
17 years ago
Tomasz Kojm
bf8f2a1b16
handle stream, etc.
...
git-svn: trunk@4251
17 years ago
Tomasz Kojm
4207463d8e
docs: document bb#1185
...
git-svn: trunk@4250
17 years ago