Change from realloc to cli_realloc - keep assignment

git-svn: trunk@531
remotes/push_mirror/metadata
Nigel Horne 21 years ago
parent b431b8e568
commit d23d480c12
  1. 5
      clamav-devel/ChangeLog
  2. 2
      clamav-devel/clamav-milter/INSTALL
  3. 11
      clamav-devel/clamav-milter/clamav-milter.c

@ -1,3 +1,8 @@
Thu Apr 29 08:36:49 BST 2004 (njh)
----------------------------------
* clamav-milter: Fixed typo, remove but introduced yesterday where the
result of cli_realloc was not used
Wed Apr 28 15:29:29 BST 2004 (njh) Wed Apr 28 15:29:29 BST 2004 (njh)
---------------------------------- ----------------------------------
* clamav-milter: Better quarantine message error report when failing * clamav-milter: Better quarantine message error report when failing

@ -372,6 +372,8 @@ Changes
If CL_DEBUG is defined, don't redirect stdout/stderr If CL_DEBUG is defined, don't redirect stdout/stderr
Don't attempt to return an old signature if no filename has Don't attempt to return an old signature if no filename has
been given. There has never been one to return been given. There has never been one to return
0.70u 29/4/04 When changing from realloc to cli_realloc I forgot to keep the
assignment of signature
BUG REPORTS BUG REPORTS

@ -374,9 +374,14 @@
* Don't attempt to return an old signature if no * Don't attempt to return an old signature if no
* filename has been given. There has never been * filename has been given. There has never been
* one to return * one to return
* 0.70u 29/4/04 When changing from realloc to cli_realloc I forgot
* to keep the assignment of signature
* *
* Change History: * Change History:
* $Log: clamav-milter.c,v $ * $Log: clamav-milter.c,v $
* Revision 1.85 2004/04/29 07:35:27 nigelhorne
* Change from realloc to cli_realloc - keep assignment
*
* Revision 1.84 2004/04/28 14:28:29 nigelhorne * Revision 1.84 2004/04/28 14:28:29 nigelhorne
* Various updates * Various updates
* *
@ -614,9 +619,9 @@
* Revision 1.6 2003/09/28 16:37:23 nigelhorne * Revision 1.6 2003/09/28 16:37:23 nigelhorne
* Added -f flag use MaxThreads if --max-children not set * Added -f flag use MaxThreads if --max-children not set
*/ */
static char const rcsid[] = "$Id: clamav-milter.c,v 1.84 2004/04/28 14:28:29 nigelhorne Exp $"; static char const rcsid[] = "$Id: clamav-milter.c,v 1.85 2004/04/29 07:35:27 nigelhorne Exp $";
#define CM_VERSION "0.70t" #define CM_VERSION "0.70u"
/*#define CONFDIR "/usr/local/etc"*/ /*#define CONFDIR "/usr/local/etc"*/
@ -2768,7 +2773,7 @@ updateSigFile(void)
signatureStamp = statb.st_mtime; signatureStamp = statb.st_mtime;
cli_realloc(signature, statb.st_size); signature = cli_realloc(signature, statb.st_size);
read(fd, signature, statb.st_size); read(fd, signature, statb.st_size);
close(fd); close(fd);

Loading…
Cancel
Save