summaryrefslogtreecommitdiff
path: root/common/smtppass.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/smtppass.c')
-rw-r--r--common/smtppass.c2
1 files changed, 2 insertions, 0 deletions
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)