summaryrefslogtreecommitdiffstats
path: root/imap/auth_gss.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2001-01-08 16:33:57 +0000
committerThomas Roessler <roessler@does-not-exist.org>2001-01-08 16:33:57 +0000
commit0fc518a9da9ec8af36af17fbcb305cd6abd5d50e (patch)
treefce43e25d01652f5f10297023530c358fc730912 /imap/auth_gss.c
parent9fd7da6f29476ae9333723b6f58727b58d57661e (diff)
Going through possible security problems with a fine comb. If you
want to help, check out the current source, and run check_sec.sh.
Diffstat (limited to 'imap/auth_gss.c')
-rw-r--r--imap/auth_gss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap/auth_gss.c b/imap/auth_gss.c
index b1f03a37..9723cefe 100644
--- a/imap/auth_gss.c
+++ b/imap/auth_gss.c
@@ -136,7 +136,7 @@ imap_auth_res_t imap_auth_gss (IMAP_DATA* idata)
mutt_to_base64 ((unsigned char*) buf1, send_token.value,
send_token.length);
gss_release_buffer (&min_stat, &send_token);
- strcpy (buf1 + strlen (buf1), "\r\n");
+ strcat (buf1, "\r\n");
mutt_socket_write (idata->conn, buf1);
if (maj_stat == GSS_S_CONTINUE_NEEDED)