[libsecret] secret-tool: Use the correct call to wipe password in memory
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsecret] secret-tool: Use the correct call to wipe password in memory
- Date: Mon, 30 Jul 2012 09:45:55 +0000 (UTC)
commit 9544b683f172ce888218cd56bfab3f16a27d65b0
Author: Stef Walter <stefw gnome org>
Date: Mon Jul 30 11:44:15 2012 +0200
secret-tool: Use the correct call to wipe password in memory
* Fixes crash
tool/secret-tool.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tool/secret-tool.c b/tool/secret-tool.c
index def22f5..533647f 100644
--- a/tool/secret-tool.c
+++ b/tool/secret-tool.c
@@ -267,7 +267,7 @@ read_password_tty (void)
password = getpass ("Password: ");
return secret_value_new_full (password, -1, "text/plain",
- (GDestroyNotify)secret_password_clear);
+ (GDestroyNotify)secret_password_wipe);
}
static int
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]