FreeRADIUS/pam_radius

NULL pointer deference

kapace opened this issue · 1 comments

https://github.com/FreeRADIUS/pam_radius/blob/master/src/pam_radius_auth.c#L515
_pam_drop(server); followed by access to server causes NULL pointer deference as _pam_drop will set the pointer to null: #define _pam_drop(X) if (X) {free(X);X = NULL;}

Thank you! 👍