[gnome-control-center/gnome-3-8] user-accounts: Stop crash when changing the password



commit 770134be1c53ec58389a84ad3de091d2e2e7c71d
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Mar 13 09:15:15 2013 +0100

    user-accounts: Stop crash when changing the password
    
    Pass the correct user data to the passwd_change_password() callback,
    so we don't try to manipulate NULL pointers in place of the password
    dialogue.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=874725

 panels/user-accounts/run-passwd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/user-accounts/run-passwd.c b/panels/user-accounts/run-passwd.c
index c6592a6..503ea48 100644
--- a/panels/user-accounts/run-passwd.c
+++ b/panels/user-accounts/run-passwd.c
@@ -129,7 +129,7 @@ child_watch_cb (GPid pid, gint status, PasswdHandler *passwd_handler)
                                 if (passwd_handler->chpasswd_cb)
                                                 passwd_handler->chpasswd_cb (passwd_handler,
                                                                              NULL,
-                                                                             passwd_handler->auth_cb_data);
+                                                                             
passwd_handler->chpasswd_cb_data);
                         }
                 }
         }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]