From 2fce5d312044d661055406db31cabd66185ca405 Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Fri, 24 Dec 2010 00:51:56 +0300 Subject: mschap_v2: fixed incorrect array size --- accel-pptpd/auth/auth_mschap_v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accel-pptpd/auth/auth_mschap_v2.c b/accel-pptpd/auth/auth_mschap_v2.c index 014c6963..e07c4f7e 100644 --- a/accel-pptpd/auth/auth_mschap_v2.c +++ b/accel-pptpd/auth/auth_mschap_v2.c @@ -344,7 +344,7 @@ static void chap_recv_response(struct chap_auth_data_t *ad, struct chap_hdr_t *h { struct chap_response_t *msg = (struct chap_response_t*)hdr; char *name; - char authenticator[40]; + char authenticator[41]; int r; if (ad->timeout.tpd) -- cgit v1.2.3