mac80211: fix a minstrel_ht off-by-one bug (patch by Christian Lamparter)
[openwrt.git] / package / ppp / patches / 104-debian_fix_mschapv2_ppp.patch
1 --- a/pppd/chap_ms.c
2 +++ b/pppd/chap_ms.c
3 @@ -852,7 +852,7 @@ ChapMS2(u_char *rchallenge, u_char *Peer
4 u_char *p = &response[MS_CHAP2_PEER_CHALLENGE];
5 int i;
6
7 - BZERO(response, sizeof(*response));
8 + BZERO(response, MS_CHAP2_RESPONSE_LEN);
9
10 /* Generate the Peer-Challenge if requested, or copy it if supplied. */
11 if (!PeerChallenge)
This page took 0.060811 seconds and 5 git commands to generate.