git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@746 77e5149b-7576-45b1-b177-96237e5ba77b
Tomasz Kojm authored on 2004/08/12 23:16:20... | ... |
@@ -72,6 +72,7 @@ Patrick Bihan-Faou <patrick*mindstep.com> |
72 | 72 |
Martin Blapp <mb*imp.ch> |
73 | 73 |
Igor Brezac <igor*ipass.net> |
74 | 74 |
Len Budney <lbudney*pobox.com> |
75 |
+David Champion <dgc*uchicago.edu> |
|
75 | 76 |
Andrey Cherezov <andrey*cherezov.koenig.su> |
76 | 77 |
Alex Cherney <alex*cher.id.au> |
77 | 78 |
Tom G. Christensen <tgc*statsbiblioteket.dk> |
... | ... |
@@ -1,7 +1,14 @@ |
1 |
+Thu Aug 12 16:10:31 CEST 2004 (tk) |
|
2 |
+---------------------------------- |
|
3 |
+ * etc/freshclam.conf: add example of PidFile directive (thanks to Youza |
|
4 |
+ Youzovic <youza*post.cz>) |
|
5 |
+ * libclamav: readdb: fix possible memory leaks (patch by Igor Brezac |
|
6 |
+ <igor*ypass.net>) |
|
7 |
+ |
|
1 | 8 |
Thu Aug 12 13:19:37 BST 2004 (njh) |
2 | 9 |
---------------------------------- |
3 | 10 |
* clamav-milter: --from=EMAIL option didn't always work, reported by |
4 |
- "Sergey Y. Afonin" <asy@kraft-s.ru> |
|
11 |
+ "Sergey Y. Afonin" <asy*kraft-s.ru> |
|
5 | 12 |
|
6 | 13 |
Thu Aug 12 11:36:36 BST 2004 (njh) |
7 | 14 |
---------------------------------- |
... | ... |
@@ -22,7 +29,7 @@ Wed Aug 11 15:46:56 BST 2004 (njh) |
22 | 22 |
Wed Aug 11 11:34:57 BST 2004 (njh) |
23 | 23 |
---------------------------------- |
24 | 24 |
* clamav-milter: Installed a new isLocalAddr checker written by |
25 |
- David Champion <dgc@uchicago.edu> |
|
25 |
+ David Champion <dgc*uchicago.edu> |
|
26 | 26 |
|
27 | 27 |
Tue Aug 10 15:53:25 CEST 2004 (tk) |
28 | 28 |
---------------------------------- |
... | ... |
@@ -17,6 +17,9 @@ |
17 | 17 |
# Use system logger (can work together with UpdateLogFile). |
18 | 18 |
#LogSyslog |
19 | 19 |
|
20 |
+# This option allows you to save the process identifier of the freshclam daemon |
|
21 |
+#PidFile /var/run/freshclam.pid |
|
22 |
+ |
|
20 | 23 |
# Specify the type of syslog messages - please refer to 'man syslog' |
21 | 24 |
# for facility names. Default is LOG_LOCAL6. |
22 | 25 |
#LogFacility LOG_MAIL |
... | ... |
@@ -138,7 +138,6 @@ static int cli_addsig(struct cl_node *root, const char *virname, const char *hex |
138 | 138 |
free(hexcpy); |
139 | 139 |
|
140 | 140 |
if(error) { |
141 |
- free(hexcpy); |
|
142 | 141 |
free(hexnew); |
143 | 142 |
if(new->alt) { |
144 | 143 |
free(new->altn); |
... | ... |
@@ -177,6 +176,7 @@ static int cli_addsig(struct cl_node *root, const char *virname, const char *hex |
177 | 177 |
virlen = strlen(virname); |
178 | 178 |
|
179 | 179 |
if(virlen <= 0) { |
180 |
+ free(new->pattern); |
|
180 | 181 |
if(new->alt) { |
181 | 182 |
free(new->altn); |
182 | 183 |
for(i = 0; i < new->alt; i++) |
... | ... |
@@ -189,6 +189,7 @@ static int cli_addsig(struct cl_node *root, const char *virname, const char *hex |
189 | 189 |
} |
190 | 190 |
|
191 | 191 |
if((new->virname = cli_calloc(virlen + 1, sizeof(char))) == NULL) { |
192 |
+ free(new->pattern); |
|
192 | 193 |
if(new->alt) { |
193 | 194 |
free(new->altn); |
194 | 195 |
for(i = 0; i < new->alt; i++) |
... | ... |
@@ -203,6 +204,7 @@ static int cli_addsig(struct cl_node *root, const char *virname, const char *hex |
203 | 203 |
strncpy(new->virname, virname, virlen); |
204 | 204 |
|
205 | 205 |
if((ret = cli_ac_addpatt(root, new))) { |
206 |
+ free(new->pattern); |
|
206 | 207 |
free(new->virname); |
207 | 208 |
if(new->alt) { |
208 | 209 |
free(new->altn); |