diff --git a/main/system_wrapper.c b/main/system_wrapper.c index e880a1b..ec28f51 100644 --- a/main/system_wrapper.c +++ b/main/system_wrapper.c @@ -87,7 +87,7 @@ bool remove_recursive(const char* path) { } // determinate a full path of an entry - full_path = calloc(path_len + strlen(entry->d_name) + 1, sizeof(char)); + full_path = calloc(path_len + strlen(entry->d_name) + 2, sizeof(char)); strcpy(full_path, path); strcat(full_path, "/"); strcat(full_path, entry->d_name); diff --git a/resources/fpga_selftest.bin b/resources/fpga_selftest.bin index a39be36..b69c89f 100644 Binary files a/resources/fpga_selftest.bin and b/resources/fpga_selftest.bin differ