Re: Step4, pam_opie getpwnam check fix for review

2002-01-20 Thread Dag-Erling Smorgrav
"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

Step4, pam_opie getpwnam check fix for review

2002-01-20 Thread Andrey A. Chernov
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