This is the PAM to RADIUS authentication module. It allows any Linux, OSX or Solaris machine to become a RADIUS client for authentication and password change requests.
The while loop in add_nas_ip_address() will iterate until ai is NULL.
This means that the code had been calling freeaddrinfo(NULL)
and the result of getaddrinfo() was being leaked.
The while loop in add_nas_ip_address() will iterate until ai is NULL. This means that the code had been calling freeaddrinfo(NULL) and the result of getaddrinfo() was being leaked.