mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-08 10:43:09 +00:00
Don't return stack-based data. This may have caused
server-side CHAP authentication problems in the past :-/
This commit is contained in:
parent
0378c40c5c
commit
2ff64793ad
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=41888
@ -17,7 +17,7 @@
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Id: auth.c,v 1.32 1998/08/07 18:42:47 brian Exp $
|
||||
* $Id: auth.c,v 1.33 1998/08/26 17:39:36 brian Exp $
|
||||
*
|
||||
* TODO:
|
||||
* o Implement check against with registered IP addresses.
|
||||
@ -212,7 +212,7 @@ auth_GetSecret(struct bundle *bundle, const char *system, int len,
|
||||
FILE *fp;
|
||||
int n;
|
||||
char *vector[5];
|
||||
char buff[LINE_LEN];
|
||||
static char buff[LINE_LEN];
|
||||
|
||||
fp = OpenSecret(SECRETFILE);
|
||||
if (fp == NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user