[pkg-remote-commits] [xrdp] 01/01: Further fixes to patch.
Dominik George
natureshadow-guest at moszumanska.debian.org
Sun Jan 1 22:12:04 UTC 2017
This is an automated email from the git hooks/post-receive script.
natureshadow-guest pushed a commit to branch jessie
in repository xrdp.
commit 9455d8f4559979bd5a4e31049b4c27e8a87500b1
Author: Dominik George <nik at naturalnet.de>
Date: Sun Jan 1 23:03:54 2017 +0100
Further fixes to patch.
---
debian/patches/cve-2013-1430.patch | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/debian/patches/cve-2013-1430.patch b/debian/patches/cve-2013-1430.patch
index c7e1219..bbdec8a 100644
--- a/debian/patches/cve-2013-1430.patch
+++ b/debian/patches/cve-2013-1430.patch
@@ -438,16 +438,16 @@ From: Dominik George <nik at naturalnet.de>
- g_sprintf(passwd_file, "%s/.vnc/sesman_%s_passwd", pw_dir, username);
+
+ /* Try legacy name first, remove if found */
-+ g_sprintf(*passwd_file, "%s/.vnc/sesman_%s_passwd",
++ g_sprintf(passwd_file, "%s/.vnc/sesman_%s_passwd",
+ pw_dir, username);
-+ if (g_file_exist(*passwd_file))
++ if (g_file_exist(passwd_file))
+ {
+ log_message(LOG_LEVEL_WARNING, "Removing insecure "
-+ "password file %s", *passwd_file);
-+ g_file_delete(*passwd_file);
++ "password file %s", passwd_file);
++ g_file_delete(passwd_file);
+ }
+
-+ g_sprintf(*passwd_file, "%s/.vnc/sesman_%s_passwd:%d",
++ g_sprintf(passwd_file, "%s/.vnc/sesman_%s_passwd:%d",
+ pw_dir, username, display);
}
else
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-remote/xrdp.git
More information about the pkg-remote-commits
mailing list