"Andrey A. Chernov" <[EMAIL PROTECTED]> writes:
> Bug:
> getpwnum() (or getlogin() in earlier stage) may return NULL under
> various complex circumstanes, but following code not expect it and may
> cause NULL pointer reference and core dump.
>
> Fix:
> Add check for NULL and return PAM_AUTH_ERR
Bug:
getpwnum() (or getlogin() in earlier stage) may return NULL under
various complex circumstanes, but following code not expect it and may
cause NULL pointer reference and core dump.
Fix:
Add check for NULL and return PAM_AUTH_ERR
--- pam_opie.c.bak Sun Jan 20 22:23:18 2002
+++ pam_opi