diff options
-rw-r--r-- | protocols/msn/soap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/msn/soap.c b/protocols/msn/soap.c index 909f6ad9..0ae6ebf6 100644 --- a/protocols/msn/soap.c +++ b/protocols/msn/soap.c @@ -282,6 +282,7 @@ static int msn_soap_passport_sso_build_request( struct msn_soap_req_data *soap_r soap_req->url = g_strdup( SOAP_PASSPORT_SSO_URL ); strncpy( pass, ic->acc->pass, MAX_PASSPORT_PWLEN ); + pass[MAX_PASSPORT_PWLEN] = '\0'; soap_req->payload = g_markup_printf_escaped( SOAP_PASSPORT_SSO_PAYLOAD, ic->acc->user, pass, md->pp_policy ); |