Date: Thu, 14 Nov 2002 04:40:14 -0800 (PST) From: Ruslan Ermilov <ru@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/gen syslog.c Message-ID: <200211141240.gAECeE1T047357@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ru 2002/11/14 04:40:14 PST Modified files: lib/libc/gen syslog.c Log: Reset LogTag to NULL in closelog(3). This fixes mysterious crashes caused by dynamic PAM modules that call openlog(3) and closelog(3), e.g. ports/security/pam_pwdfile. What happened here is that the module first registered its "ident" with openlog(3), then PAM library unloaded module with dlclose(3), and the next call to syslog(3) resulted in SIGSEGV. MFC after: 3 days Revision Changes Path 1.28 +1 -0 src/lib/libc/gen/syslog.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211141240.gAECeE1T047357>