From 1602b008531ba6e0c704588cb2643daef26b71d9 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 14 Oct 2015 22:40:23 +0200 Subject: tree-wide: whenever we deal with passwords, erase them from memory after use A bit snake-oilish, but can't hurt. --- src/ask-password/ask-password.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ask-password') diff --git a/src/ask-password/ask-password.c b/src/ask-password/ask-password.c index 1a69d15908..89a49c2e86 100644 --- a/src/ask-password/ask-password.c +++ b/src/ask-password/ask-password.c @@ -174,6 +174,8 @@ int main(int argc, char *argv[]) { break; } + strv_erase(l); + finish: free(arg_message); -- cgit v1.2.3-54-g00ecf