From 9159b8ca1c97a398204d7a7d4d78c3394639bd02 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 7 Oct 2013 03:11:14 -0700 Subject: Mon Oct 7 03:07:04 PDT 2013 --- community/lightdm/lightdm-corrupt-x-authority.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 community/lightdm/lightdm-corrupt-x-authority.patch (limited to 'community/lightdm/lightdm-corrupt-x-authority.patch') diff --git a/community/lightdm/lightdm-corrupt-x-authority.patch b/community/lightdm/lightdm-corrupt-x-authority.patch new file mode 100755 index 000000000..f994b394c --- /dev/null +++ b/community/lightdm/lightdm-corrupt-x-authority.patch @@ -0,0 +1,21 @@ +=== modified file 'src/xauthority.c' +--- src/xauthority.c 2013-09-10 23:14:12 +0000 ++++ src/xauthority.c 2013-09-30 02:59:01 +0000 +@@ -237,7 +237,7 @@ + gboolean + x_authority_write (XAuthority *auth, XAuthWriteMode mode, const gchar *filename, GError **error) + { +- gchar *input; ++ gchar *input = NULL; + gsize input_length = 0, input_offset = 0; + GList *link, *records = NULL; + XAuthority *a; +@@ -328,6 +328,7 @@ + } + + errno = 0; ++ result = TRUE; + for (link = records; link && result; link = link->next) + { + XAuthority *a = link->data; + -- cgit v1.2.3-54-g00ecf