use explicit_bzero in login_ldap

reset maintainer (email address bounces)
This commit is contained in:
sthen 2015-10-13 15:23:24 +00:00
parent cab47a4ac4
commit 8118058cb4
2 changed files with 15 additions and 5 deletions

View File

@ -1,20 +1,18 @@
# $OpenBSD: Makefile,v 1.20 2014/12/09 15:54:25 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.21 2015/10/13 15:23:24 sthen Exp $
COMMENT= provide ldap authentication type
DISTNAME= login_ldap-3.51
REVISION= 5
REVISION= 6
CATEGORIES= sysutils
HOMEPAGE= http://sourceforge.net/projects/login-ldap/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=login-ldap/}
MAINTAINER= Michael Erdely <merdely@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= c lber ldap
WANTLIB += c lber ldap
LIB_DEPENDS= databases/openldap
NO_TEST= Yes

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-login_ldap_c,v 1.1 2015/10/13 15:23:24 sthen Exp $
--- login_ldap.c.orig Thu Feb 7 16:56:28 2008
+++ login_ldap.c Tue Oct 13 16:18:49 2015
@@ -170,7 +170,7 @@ main(int argc, char **argv)
else
(void)fprintf(back, BI_REJECT "\n");
- (void) memset(password, 0, strlen(password));
+ explicit_bzero(password, strlen(password));
closelog();