[X2Go-Commits] lightdm-remote-session-x2go.git - x2gosessiontype (branch) updated: e2d8b821e5047519f673462b6301e8d19ad170ce

X2Go dev team git-admin at x2go.org
Wed Apr 24 17:54:42 CEST 2013


The branch, x2gosessiontype has been updated
       via  e2d8b821e5047519f673462b6301e8d19ad170ce (commit)
      from  2cbe73dc61092017ed5b09dd4d3c866cde74db07 (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 -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 socket-sucker.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

The diff of changes is:
diff --git a/socket-sucker.c b/socket-sucker.c
index 54aee32..35424a6 100644
--- a/socket-sucker.c
+++ b/socket-sucker.c
@@ -43,7 +43,7 @@ main (int argc, char * argv[])
 	serv_addr.sun_family = AF_UNIX;
 	
 	int printsize = snprintf(serv_addr.sun_path, sizeof(serv_addr.sun_path) - 1, "%s/%s", home, ".freerdp-socket");
-	if (printsize > sizeof(serv_addr.sun_path) - 1) {
+	if (printsize > sizeof(serv_addr.sun_path) - 1 || printsize < 0) {
 		return -1;
 	}
 


hooks/post-receive
-- 
lightdm-remote-session-x2go.git (X2Go-based remote login session support for LightDM)

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 "lightdm-remote-session-x2go.git" (X2Go-based remote login session support for LightDM).




More information about the x2go-commits mailing list