From 2157b4ac950052bd3e736aed5cde49b272001a88 Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Tue, 15 May 2012 10:13:56 +0200 Subject: [PATCH] make sure the ndef_string is initialized to 0 --- ykpersonalize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ykpersonalize.c b/ykpersonalize.c index 910fb43..e8a393a 100644 --- a/ykpersonalize.c +++ b/ykpersonalize.c @@ -65,7 +65,7 @@ int main(int argc, char **argv) /* Options */ char *salt = NULL; - char ndef_string[128]; + char ndef_string[128] = {0}; char ndef_type; bool error = false; -- 2.39.5