Tomasz Kojm
74f0e79e70
shared/output.c: workaround FreeBSD's file locking issue (bb#1918)
2010-05-05 21:30:00 +02:00
Török Edvin
3d8a490c3f
Fix race condition in IDSESSION (bb #1838 ).
2010-03-31 16:27:48 +03:00
Tomasz Kojm
52a8d9f012
freshclam: fix some issues with --submit-stats (bb#1902)
...
Thanks to Mark Pizzolato
2010-03-30 15:20:01 +02:00
aCaB
4cd80898e6
win32#3
2009-09-24 19:31:30 +02:00
aCaB
be4bf7f4ab
win32
2009-09-24 16:08:52 +02:00
Tomasz Kojm
c71a0353f9
shared: fix compiler warnings
...
git-svn: trunk@5060
2009-05-05 14:31:53 +00:00
Török Edvin
2cf89f22d8
logg flags documentation
...
git-svn: trunk@5035
2009-04-10 12:06:49 +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
fb6fe4f5d1
Introduce '$' in logg, it is active when logg_verbose=2, i.e. when Debug yes.
...
Fix leak reported by valgrind.
git-svn: trunk@4806
2009-02-17 15:59:36 +00:00
Török Edvin
0378a9ab77
introduce timeouts for send(), this is needed for IDSESSION to work reliably,
...
since a buggy client implementation may get stuck in send(), and then clamd
gets stuck in send() -> deadlock. To avoid this we need nonblocking sockets, and
(low) timeouts on send.
Add more tests for clamd protocol, including a stress test for IDSESSION.
git-svn: trunk@4798
2009-02-16 18:27:08 +00:00
Török Edvin
6870ebe176
mdprintf was also taking %f and %l, and they have different size than int.
...
Make the ARGLEN get the correct vaarg types, otherwise it was popping off the
stack an item of the wrong size!
git-svn: trunk@4784
2009-02-13 16:52:15 +00:00
Tomasz Kojm
086eab5c26
update old copyright headers
...
git-svn: trunk@4775
2009-02-13 10:55:45 +00:00
Tomasz Kojm
afff80efb9
libclamav, shared: minor cleanups; fix handling of long file names (bb#1349)
...
git-svn: trunk@4670
2009-02-03 18:47:18 +00:00
Tomasz Kojm
c6677c9418
LogFileUnlock was not working correctly (bb#1304)
...
git-svn: trunk@4471
2008-11-25 20:07:11 +00:00
Török Edvin
9e751804a2
introduce cli_ctime() that uses ctime_r() when
...
available, and falls back to locking with a mutex around
ctime(). (ensures we are using the same mutex always).
use cli_ctime() instead of the thread-unsafe ctime().
This fixes stability problems.
git-svn: trunk@3578
2008-02-03 19:23:20 +00:00
Tomasz Kojm
5a3aeff49f
fix handling of special characters in mprintf/logg (bb#360)
...
git-svn: trunk@3533
2008-01-23 16:38:36 +00:00
Tomasz Kojm
bcbe6ad713
reduce the number of error messages (bb#478)
...
git-svn: trunk@3530
2008-01-23 12:12:25 +00:00
Tomasz Kojm
73b243dc40
fix some warnings
...
git-svn: trunk@3278
2007-10-08 14:43:32 +00:00
Tomasz Kojm
1b38f50dea
add support for LogFileMaxSize and LogTime
...
git-svn: trunk@3277
2007-10-08 13:07:57 +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
4b25a0ded9
revert patch for bb#360
...
git-svn: trunk@2896
2007-03-02 02:41:29 +00:00
Tomasz Kojm
6b04ac13b1
fix handling of special characters in mprintf (bb#360)
...
git-svn: trunk@2888
2007-03-01 17:17:58 +00:00
Tomasz Kojm
65d08d617a
some mallocs should be callocs
...
git-svn: trunk@2880
2007-03-01 01:27:43 +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
Tomasz Kojm
2ed08e8a48
move check for CL_NOTHREADS down
...
git-svn: trunk@2862
2007-02-24 23:44:41 +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