RADIUS bug in inn-2.4 - uninitialized variable
Yury B.Razbegin
yur at simtel.ru
Tue Jun 19 12:38:52 UTC 2001
It is a simple misprint in the program text. But radius is not worked
on FreeBSD 4.3.
Below it is resulted patch for its correction:
*** authprogs/radius.c Tue Jun 19 16:32:10 2001
--- authprogs/radius.c.orig Mon Jun 18 13:00:05 2001
***************
*** 317,323 ****
close(sock);
return(-1);
}
! done = 0;
while (!done && authtries--) {
/* send out the packet and wait for reply. */
if (sendto(sock, (char *)&req, reqlen, 0, (struct sockaddr*) &sinr,
--- 317,323 ----
close(sock);
return(-1);
}
!
while (!done && authtries--) {
/* send out the packet and wait for reply. */
if (sendto(sock, (char *)&req, reqlen, 0, (struct sockaddr*) &sinr,
--
* Yury B.Razbegin * yur at simtel.ru * +7 (-8422) -35-32-09 (Fax: -41-00-19) *
More information about the inn-bugs
mailing list