diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2010-12-24 00:51:56 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2010-12-24 00:51:56 +0300 |
commit | 2fce5d312044d661055406db31cabd66185ca405 (patch) | |
tree | cecac37d4c7e4213e063ac0760119398d657da90 | |
parent | 69d7920a494e2ee9c40bda9afe84d69f89d28aea (diff) | |
download | accel-ppp-2fce5d312044d661055406db31cabd66185ca405.tar.gz accel-ppp-2fce5d312044d661055406db31cabd66185ca405.zip |
mschap_v2: fixed incorrect array size
-rw-r--r-- | accel-pptpd/auth/auth_mschap_v2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pptpd/auth/auth_mschap_v2.c b/accel-pptpd/auth/auth_mschap_v2.c index 014c696..e07c4f7 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) |