diff options
Diffstat (limited to 'community/lightdm/lightdm-corrupt-x-authority.patch')
-rwxr-xr-x | community/lightdm/lightdm-corrupt-x-authority.patch | 21 |
1 files changed, 21 insertions, 0 deletions
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; + |