summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/setgfid2path/src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/setgfid2path/src/main.c b/tools/setgfid2path/src/main.c
index 2e25ea8ab3d..4320a7b2481 100644
--- a/tools/setgfid2path/src/main.c
+++ b/tools/setgfid2path/src/main.c
@@ -28,7 +28,7 @@ main(int argc, char **argv)
uuid_t pgfid_raw = {
0,
};
- char pgfid[36] = "";
+ char pgfid[36 + 1] = "";
char xxh64[GF_XXH64_DIGEST_LENGTH * 2 + 1] = {
0,
};