summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--common/smtppass.c2
-rw-r--r--configure.in4
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2539c92..e5e171d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+1.4.1 [2005-04-15]
+ - Fixed bug (introduced in 1.4) when Header was not present.
+
1.4 [2005-03-24]
- Documentation fixes [Sean Franklin]
- Don't leak file descriptors when clamsmtpd can't connect to outgoing
diff --git a/common/smtppass.c b/common/smtppass.c
index dfa0176..e5b88b9 100644
--- a/common/smtppass.c
+++ b/common/smtppass.c
@@ -1457,6 +1457,8 @@ int sp_done_data(spctx_t* ctx)
ASSERT(ctx->cachename[0]); /* Must still be around */
ASSERT(!ctx->cachefile); /* File must be closed */
+ memset(header, 0, sizeof(header));
+
/* Open the file */
file = fopen(ctx->cachename, "r");
if(file == NULL)
diff --git a/configure.in b/configure.in
index 2975325..7f59ab4 100644
--- a/configure.in
+++ b/configure.in
@@ -36,8 +36,8 @@ dnl Nate Nielsen <nielsen@memberwebs.com>
dnl
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(clamsmtp, 1.4, nielsen@memberwebs.com)
-AM_INIT_AUTOMAKE(clamsmtp, 1.4)
+AC_INIT(clamsmtp, 1.4.1, nielsen@memberwebs.com)
+AM_INIT_AUTOMAKE(clamsmtp, 1.4.1)
LDFLAGS="$LDFLAGS -L/usr/local/lib"
CFLAGS="$CFLAGS -I/usr/local/include"