m_sasl Add missing validation for server-to-server SASL message

This commit is contained in:
Attila Molnar 2015-04-16 21:13:07 +02:00
parent 6058483d9f
commit a0c331eff3

View File

@ -99,6 +99,9 @@ class SaslAuthenticator
if (msg[0] != this->agent)
return this->state;
if (msg.size() < 4)
return this->state;
if (msg[2] == "C")
this->user->Write("AUTHENTICATE %s", msg[3].c_str());
else if (msg[2] == "D")