projects
/
platform
/
upstream
/
libsecret.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e343812
)
secret-tool: Use the correct call to wipe password in memory
author
Stef Walter
<stefw@gnome.org>
Mon, 30 Jul 2012 09:44:15 +0000
(11:44 +0200)
committer
Stef Walter
<stefw@gnome.org>
Mon, 30 Jul 2012 09:44:15 +0000
(11:44 +0200)
* Fixes crash
tool/secret-tool.c
patch
|
blob
|
history
diff --git
a/tool/secret-tool.c
b/tool/secret-tool.c
index
def22f5
..
533647f
100644
(file)
--- 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