From: Klas Lindfors Date: Tue, 15 May 2012 08:13:56 +0000 (+0200) Subject: make sure the ndef_string is initialized to 0 X-Git-Tag: v1.7.0~1^2~4 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2157b4ac950052bd3e736aed5cde49b272001a88;p=yubikey-personalization make sure the ndef_string is initialized to 0 --- 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;