diff --git a/Arty-Z7-10/components/ext_sources/u-boot-ectf/common/mesh.c b/Arty-Z7-10/components/ext_sources/u-boot-ectf/common/mesh.c index 05ef99e3..15ce36c6 100755 --- a/Arty-Z7-10/components/ext_sources/u-boot-ectf/common/mesh.c +++ b/Arty-Z7-10/components/ext_sources/u-boot-ectf/common/mesh.c @@ -442,7 +442,7 @@ int mesh_install(char **args) for (int i = 0; i < SHA256_DIGEST_LENGTH && read_hash[i] != '\0'; i++) { row.hash[i] = read_hash[i]; } - row.hash[i] = '\0'; + row.hash[64] = '\0'; printf("\nrow.hash: %s\n", row.hash); printf("Installing game %s for %s...\n", row.game_name, row.user_name);