mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-28 01:03:45 +02:00
641c4de73d
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15958 3c298f89-4303-0410-b956-a3cf2f4a3e73
12 lines
360 B
Diff
12 lines
360 B
Diff
--- a/pppd/chap_ms.c
|
|
+++ b/pppd/chap_ms.c
|
|
@@ -852,7 +852,7 @@ ChapMS2(u_char *rchallenge, u_char *Peer
|
|
u_char *p = &response[MS_CHAP2_PEER_CHALLENGE];
|
|
int i;
|
|
|
|
- BZERO(response, sizeof(*response));
|
|
+ BZERO(response, MS_CHAP2_RESPONSE_LEN);
|
|
|
|
/* Generate the Peer-Challenge if requested, or copy it if supplied. */
|
|
if (!PeerChallenge)
|