[SCM] Samba Shared Repository - branch master updated
Volker Lendecke
vlendec at samba.org
Thu Apr 1 08:34:27 MDT 2010
The branch, master has been updated
via 3475c61... s3: Ensure NULL termination before printing in winbindd_pam_logoff
from c63440e... s4-python: Ensure __init__ exists in samba.external, or importing will fail.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 3475c61179b87fa5c48ffe24c2793137ad04c318
Author: Volker Lendecke <vl at samba.org>
Date: Thu Apr 1 16:32:44 2010 +0200
s3: Ensure NULL termination before printing in winbindd_pam_logoff
-----------------------------------------------------------------------
Summary of changes:
source3/winbindd/winbindd_pam.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c
index d660102..d4dc5e5 100644
--- a/source3/winbindd/winbindd_pam.c
+++ b/source3/winbindd/winbindd_pam.c
@@ -2224,9 +2224,6 @@ void winbindd_pam_logoff(struct winbindd_cli_state *state)
uid_t caller_uid = (uid_t)-1;
uid_t request_uid = state->request->data.logoff.uid;
- DEBUG(3, ("[%5lu]: pam logoff %s\n", (unsigned long)state->pid,
- state->request->data.logoff.user));
-
/* Ensure null termination */
state->request->data.logoff.user
[sizeof(state->request->data.logoff.user)-1]='\0';
@@ -2234,6 +2231,9 @@ void winbindd_pam_logoff(struct winbindd_cli_state *state)
state->request->data.logoff.krb5ccname
[sizeof(state->request->data.logoff.krb5ccname)-1]='\0';
+ DEBUG(3, ("[%5lu]: pam logoff %s\n", (unsigned long)state->pid,
+ state->request->data.logoff.user));
+
if (request_uid == (uid_t)-1) {
goto failed;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list