summaryrefslogtreecommitdiffstats
path: root/src/xsasl/xsasl_dovecot_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xsasl/xsasl_dovecot_server.c')
-rw-r--r--src/xsasl/xsasl_dovecot_server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xsasl/xsasl_dovecot_server.c b/src/xsasl/xsasl_dovecot_server.c
index 1d1c570..4a0c085 100644
--- a/src/xsasl/xsasl_dovecot_server.c
+++ b/src/xsasl/xsasl_dovecot_server.c
@@ -543,6 +543,8 @@ static void xsasl_dovecot_parse_reply_args(XSASL_DOVECOT_SERVER *server,
myfree(server->username);
server->username = 0;
}
+ VSTRING_RESET(reply);
+ VSTRING_TERMINATE(reply);
/*
* Note: TAB is part of the Dovecot protocol and must not appear in