[X2go-Commits] libpam-x2go.git - master (branch) updated: 0ec74159dd1f398df2f174b2d524326b75ebee96

X2Go dev team git-admin at x2go.org
Sat Nov 10 20:39:09 CET 2012


The branch, master has been updated
       via  0ec74159dd1f398df2f174b2d524326b75ebee96 (commit)
      from  179e19ef771d0c6d12020b89587ef754f7e725ae (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0ec74159dd1f398df2f174b2d524326b75ebee96
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sat Nov 10 20:38:24 2012 +0100

    Revert "let the buffer end with a space character"
    
    This reverts commit 179e19ef771d0c6d12020b89587ef754f7e725ae.

-----------------------------------------------------------------------

Summary of changes:
 src/pam-x2go-children.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

The diff of changes is:
diff --git a/src/pam-x2go-children.c b/src/pam-x2go-children.c
index f9bf18d..e86da1f 100644
--- a/src/pam-x2go-children.c
+++ b/src/pam-x2go-children.c
@@ -155,9 +155,7 @@ session_socket_handler (struct passwd * pwdent, int readypipe, const char * ruse
 		goto cleanup;
 	}
 
-	/* fill the buffer that we will pipe into the .x2go-socket file, the blank at the end of the string is tremendously
-	   important */
-	buffer_fill = snprintf(buffer, buffer_len, "%s %s %s %s ", ruser, password, rhost, rdomain);
+	buffer_fill = snprintf(buffer, buffer_len, "%s %s %s %s", ruser, password, rhost, rdomain);
 	if (buffer_fill > buffer_len) {
 		/* This really shouldn't happen, but if for some reason we have an
 		   difference between they way that the lengths are calculated we want


hooks/post-receive
-- 
libpam-x2go.git (Remote login session via X2Go (PAM module))

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libpam-x2go.git" (Remote login session via X2Go (PAM module)).




More information about the x2go-commits mailing list