nss-pam-ldapd commit: r1601 - in nss-pam-ldapd-0.7.15+squeeze: . nslcd
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1601 - in nss-pam-ldapd-0.7.15+squeeze: . nslcd
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1601 - in nss-pam-ldapd-0.7.15+squeeze: . nslcd
- Date: Fri, 20 Jan 2012 15:25:29 +0100 (CET)
Author: arthur
Date: Fri Jan 20 15:25:28 2012
New Revision: 1601
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1601&view=revision
Log:
ensure that uid, gid and pid vars are properly initialised (merged r1559 from
0.7 branch, part of r1558 from 0.8)
Modified:
nss-pam-ldapd-0.7.15+squeeze/ (props changed)
nss-pam-ldapd-0.7.15+squeeze/nslcd/nslcd.c
Modified: nss-pam-ldapd-0.7.15+squeeze/nslcd/nslcd.c
==============================================================================
--- nss-pam-ldapd-0.7.15+squeeze/nslcd/nslcd.c Fri Jan 20 11:34:59 2012
(r1600)
+++ nss-pam-ldapd-0.7.15+squeeze/nslcd/nslcd.c Fri Jan 20 15:25:28 2012
(r1601)
@@ -357,9 +357,9 @@
TFILE *fp;
int32_t action;
struct timeval readtimeout,writetimeout;
- uid_t uid;
- gid_t gid;
- pid_t pid;
+ uid_t uid=(uid_t)-1;
+ gid_t gid=(gid_t)-1;
+ pid_t pid=(pid_t)-1;
/* indicate new connection to logging module (genrates unique id) */
log_newsession();
/* log connection */
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/
- nss-pam-ldapd commit: r1601 - in nss-pam-ldapd-0.7.15+squeeze: . nslcd,
Commits of the nss-pam-ldapd project