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
Tomasz Kojm
86f1daa027
freshclam/manager.c: improve the log parser (bb#1225)
...
git-svn: trunk@4249
17 years ago
Török Edvin
d6d8d45031
fix URL parsing, since we now parse the full URL
...
git-svn: trunk@4248
17 years ago
Török Edvin
a66b62f88b
handle unfinishes string tokens in JS parser
...
git-svn: trunk@4247
17 years ago
Török Edvin
ffe6231f35
scan javascript with type 7 (and implicitly with type 0) too
...
git-svn: trunk@4246
17 years ago
aCaB
86fd43b2bd
_XOPEN_SOURCE = 600
...
git-svn: trunk@4245
17 years ago
aCaB
eb4300ad0d
s/PF_/AF_/
...
git-svn: trunk@4244
17 years ago
Tomasz Kojm
d689f44a5a
fix bb#1224
...
git-svn: trunk@4243
17 years ago
Tomasz Kojm
c05c61d4b5
the parser was too restrictive
...
git-svn: trunk@4242
17 years ago
Tomasz Kojm
64fd0bfcd7
freshclam: add support for submitting detection statistics (bb#777)
...
git-svn: trunk@4241
17 years ago
Török Edvin
a3299bb76b
fix whitespace
...
git-svn: trunk@4240
17 years ago
Török Edvin
b105842c5c
when --disable-gcc-vcheck is set, set CFLAGS to O0 and
...
append -broken-compiler to the VERSION (bb #684 )
introduce VERSION_SUFFIX for easier handling, and convert -exp to use it
git-svn: trunk@4239
17 years ago
aCaB
e4453e9f88
zmd desc uptaded in the docs
...
git-svn: trunk@4238
17 years ago
Tomasz Kojm
d61aeda265
clamdscan: properly handle --infected (bb#1221)
...
git-svn: trunk@4237
17 years ago
Tomasz Kojm
04fa4e9d01
shared/options.c: handle obsolete options in cmdline parser (bb#1213)
...
git-svn: trunk@4236
17 years ago
Török Edvin
ed65443330
fix whitespace
...
git-svn: trunk@4235
17 years ago
Török Edvin
034743fdbe
suppress a false positive race
...
* ChangeLog:
git-svn: trunk@4234
17 years ago
Török Edvin
133dd2e940
When RAR is disabled, allow make check to succeed, and print only a warning (bb #1212 )
...
* ChangeLog:
git-svn: trunk@4233
17 years ago
Tomasz Kojm
fc086460b0
fix typo
...
git-svn: trunk@4232
17 years ago
Tomasz Kojm
dec7ffce08
shared/cfgparser.c, clamdconf: gently deprecate obsolete options (bb#1213)
...
git-svn: trunk@4231
17 years ago
aCaB
aa9a0f4b75
partially revert previous
...
git-svn: trunk@4230
17 years ago
aCaB
1405207a2b
bb#1219
...
git-svn: trunk@4229
17 years ago
aCaB
b346e3629a
zip fixes
...
git-svn: trunk@4228
17 years ago
Török Edvin
51d1895aef
fix len calculation (bug introduced in previous commit).
...
git-svn: trunk@4227
17 years ago
Török Edvin
7bc225961a
Fix EOL algorithm:
...
- instead of the costly algorithm: try to match with \n and retry a match with \r if failed
- try matching without \n\r, and lookback one char and test for \n\r, move on to next match if failed
- also assume objects are sequential, and look for indirect objects ahead, instead of looking from the beginning each time,
if optimization fails, search for the indirect object from the beginning till current pos
This reduces scan time of sample from bb #1217 to 4 seconds from 8 minutes!
git-svn: trunk@4226
17 years ago
aCaB
be3fa18daf
properly close descriptors before forking - bb#1137
...
git-svn: trunk@4225
17 years ago
Török Edvin
ae685a75c1
link to libclamunrar_iface explicitly to
...
allow non-rpath builds to work. (bb #1203 )
Thanks to James Ralston <ralston*pobox.com>
git-svn: trunk@4224
17 years ago
Török Edvin
7f3ca52841
fix build failure when using LDFLAGS="-Wl,--as-needed" (bb #1204 )
...
thanks to Nathan Brink <ohnobinki*ohnopublishing.net>
git-svn: trunk@4223
17 years ago