Uninitialized variable *opts
Status: Inactive
Brought to you by:
klyaznik
After patching pppd in module auth.c:1811
variable *opts became uninitialized,
because function
/* ret = scan_authfile(f, client, server, secbuf,
&addrs, &opts, filename, 0);
fclose(f);
*/
where it got value is commented out!
In RedHat 7.3 cause pppd exit 11.
Solution:
replace line 1811:
- struct wordlist *addrs, *opts;
+ struct wordlist *addrs, *opts=NULL;
After that all works fine!
please notify me on update
enic (dog:-) telecom.by