From 21737b1ff2e0be28b68293c7ac198a8fe505cbc2 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 31 Jul 2013 12:42:42 +0200 Subject: [PATCH] block: enlarge uuid buffer when writing extroot tag file, some uuids exceed 32 byte in size --- block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block.c b/block.c index 194eb4a..4397e1e 100644 --- a/block.c +++ b/block.c @@ -664,7 +664,7 @@ static int check_extroot(char *path) struct stat s; FILE *fp = NULL; char tag[64]; - char uuid[32] = { 0 }; + char uuid[64] = { 0 }; snprintf(tag, sizeof(tag), "%s/etc/.extroot-uuid", path); if (stat(tag, &s)) { -- 2.25.1