]> git.pld-linux.org Git - packages/coova-chilli.git/blob - limits.patch
- fix potential buffer overflow
[packages/coova-chilli.git] / limits.patch
1 --- coova-chilli-1.2.4/src/chilli_limits.h~     2010-08-24 13:29:08.000000000 +0200
2 +++ coova-chilli-1.2.4/src/chilli_limits.h      2010-09-30 12:21:20.000000000 +0200
3 @@ -75,7 +75,7 @@
4  #define MACSTRLEN                         17
5  #define MS2SUCCSIZE                       40 /* MS-CHAPv2 authenticator response as ASCII */
6  #define DATA_LEN                        1500 /* Max we allow */
7 -#define USERNAMESIZE                     256 /* Max length of username */
8 +#define USERNAMESIZE                     255 /* Max length of username */
9  #define CHALLENGESIZE                     24 /* From chap.h MAX_CHALLENGE_LENGTH */
10  #define USERURLSIZE                      256 /* Max length of URL requested by user */
11  
This page took 0.070053 seconds and 3 git commands to generate.