git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@1744 77e5149b-7576-45b1-b177-96237e5ba77b
Tomasz Kojm authored on 2005/11/04 07:05:35... | ... |
@@ -1,3 +1,8 @@ |
1 |
+Thu Nov 3 23:04:20 CET 2005 (tk) |
|
2 |
+--------------------------------- |
|
3 |
+ * clamd: properly handle ReadTimeout in SESSION |
|
4 |
+ Bug reported by Kamil Kaczkowski <kamil*kamil.eisp.pl> |
|
5 |
+ |
|
1 | 6 |
Thu Nov 3 22:46:21 CET 2005 (tk) |
2 | 7 |
--------------------------------- |
3 | 8 |
* libclamav/mspack/cabd.c: fix possible infinite loop in cabd_find |
... | ... |
@@ -55,7 +55,7 @@ int command(int desc, const struct cl_node *root, const struct cl_limits *limits |
55 | 55 |
retval = poll_fd(desc, timeout); |
56 | 56 |
switch (retval) { |
57 | 57 |
case 0: /* timeout */ |
58 |
- return COMMAND_TIMEOUT; |
|
58 |
+ return -2; |
|
59 | 59 |
case -1: |
60 | 60 |
mdprintf(desc, "ERROR\n"); |
61 | 61 |
logg("!Command: poll_fd failed.\n"); |