]> jfr.im git - irc/evilnet/x3.git/commitdiff
Fix for a minor issue with SASL authentication
authorMatthew Beeching <redacted>
Sat, 8 Jun 2013 21:14:07 +0000 (22:14 +0100)
committerMatthew Beeching <redacted>
Sat, 8 Jun 2013 21:14:07 +0000 (22:14 +0100)
src/nickserv.c

index 3bbc05febd1a20be731de32ebc2afc71a78bf4fb..1ce3be7d5b7e119d883e012535e4a5f917fcf3ed 100644 (file)
@@ -5743,6 +5743,7 @@ handle_sasl_input(struct server* source ,const char *uid, const char *subcmd, co
     }
 
     memcpy(sess->p, data, len);
+    sess->buf[len] = '\0';
 
     /* Messages not exactly 400 bytes are the end of a packet. */
     if(len < 400)