[gnome-control-center] user-accounts: Stop crash when changing the password
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] user-accounts: Stop crash when changing the password
- Date: Wed, 13 Mar 2013 08:25:44 +0000 (UTC)
commit ae108c45f33ebdbc2b2b859df931786fa66b196b
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]