X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/087c8bf3303e69d79cbbfdfb8edc836587cfb820..f4329b17322acc5d12ff8a931478c9c7c6fd0677:/client/cmdhfmfhard.c?ds=sidebyside diff --git a/client/cmdhfmfhard.c b/client/cmdhfmfhard.c index b5eabb82..85b772e4 100644 --- a/client/cmdhfmfhard.c +++ b/client/cmdhfmfhard.c @@ -247,7 +247,7 @@ static void init_bitflip_bitarrays(void) #endif char state_files_path[strlen(get_my_executable_directory()) + strlen(STATE_FILES_DIRECTORY) + strlen(STATE_FILE_TEMPLATE) + 1]; - char state_file_name[strlen(STATE_FILE_TEMPLATE)]; + char state_file_name[strlen(STATE_FILE_TEMPLATE)+1]; for (odd_even_t odd_even = EVEN_STATE; odd_even <= ODD_STATE; odd_even++) { num_effective_bitflips[odd_even] = 0;