Date: Mon, 22 Mar 2010 11:00:57 +0000 (UTC) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/contrib/openpam/include/security pam_appl.h Message-ID: <201003221101.o2MB1J4b002354@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
des 2010-03-22 11:00:57 UTC
FreeBSD src repository
Modified files:
contrib/openpam/include/security pam_appl.h
Log:
SVN rev 205441 on 2010-03-22 11:00:57Z by des
Merge upstream r432:
pam_end() already contains a NULL check, and it is not unreasonable to
call it with a NULL pamh in a cleanup / error-handling situation. Remove
OPENPAM_NONNULL, which may cause gcc to optimize away the NULL check.
This fixes a potential NULL pointer dereference in error-handling code
in passwd(1).
Revision Changes Path
1.2 +44 -27 src/contrib/openpam/include/security/pam_appl.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003221101.o2MB1J4b002354>
