git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@531 77e5149b-7576-45b1-b177-96237e5ba77b
Nigel Horne authored on 2004/04/29 16:38:04... | ... |
@@ -1,3 +1,8 @@ |
1 |
+Thu Apr 29 08:36:49 BST 2004 (njh) |
|
2 |
+---------------------------------- |
|
3 |
+ * clamav-milter: Fixed typo, remove but introduced yesterday where the |
|
4 |
+ result of cli_realloc was not used |
|
5 |
+ |
|
1 | 6 |
Wed Apr 28 15:29:29 BST 2004 (njh) |
2 | 7 |
---------------------------------- |
3 | 8 |
* clamav-milter: Better quarantine message error report when failing |
... | ... |
@@ -372,6 +372,8 @@ Changes |
372 | 372 |
If CL_DEBUG is defined, don't redirect stdout/stderr |
373 | 373 |
Don't attempt to return an old signature if no filename has |
374 | 374 |
been given. There has never been one to return |
375 |
+0.70u 29/4/04 When changing from realloc to cli_realloc I forgot to keep the |
|
376 |
+ assignment of signature |
|
375 | 377 |
|
376 | 378 |
BUG REPORTS |
377 | 379 |
|
... | ... |
@@ -374,9 +374,14 @@ |
374 | 374 |
* Don't attempt to return an old signature if no |
375 | 375 |
* filename has been given. There has never been |
376 | 376 |
* one to return |
377 |
+ * 0.70u 29/4/04 When changing from realloc to cli_realloc I forgot |
|
378 |
+ * to keep the assignment of signature |
|
377 | 379 |
* |
378 | 380 |
* Change History: |
379 | 381 |
* $Log: clamav-milter.c,v $ |
382 |
+ * Revision 1.85 2004/04/29 07:35:27 nigelhorne |
|
383 |
+ * Change from realloc to cli_realloc - keep assignment |
|
384 |
+ * |
|
380 | 385 |
* Revision 1.84 2004/04/28 14:28:29 nigelhorne |
381 | 386 |
* Various updates |
382 | 387 |
* |
... | ... |
@@ -614,9 +619,9 @@ |
614 | 614 |
* Revision 1.6 2003/09/28 16:37:23 nigelhorne |
615 | 615 |
* Added -f flag use MaxThreads if --max-children not set |
616 | 616 |
*/ |
617 |
-static char const rcsid[] = "$Id: clamav-milter.c,v 1.84 2004/04/28 14:28:29 nigelhorne Exp $"; |
|
617 |
+static char const rcsid[] = "$Id: clamav-milter.c,v 1.85 2004/04/29 07:35:27 nigelhorne Exp $"; |
|
618 | 618 |
|
619 |
-#define CM_VERSION "0.70t" |
|
619 |
+#define CM_VERSION "0.70u" |
|
620 | 620 |
|
621 | 621 |
/*#define CONFDIR "/usr/local/etc"*/ |
622 | 622 |
|
... | ... |
@@ -2768,7 +2773,7 @@ updateSigFile(void) |
2768 | 2768 |
|
2769 | 2769 |
signatureStamp = statb.st_mtime; |
2770 | 2770 |
|
2771 |
- cli_realloc(signature, statb.st_size); |
|
2771 |
+ signature = cli_realloc(signature, statb.st_size); |
|
2772 | 2772 |
read(fd, signature, statb.st_size); |
2773 | 2773 |
close(fd); |
2774 | 2774 |
|