From: Jo-Philipp Wich Date: Wed, 31 Jul 2013 10:42:42 +0000 (+0200) Subject: block: enlarge uuid buffer when writing extroot tag file, some uuids exceed 32 byte... X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=21737b1ff2e0be28b68293c7ac198a8fe505cbc2;p=oweals%2Fubox.git block: enlarge uuid buffer when writing extroot tag file, some uuids exceed 32 byte in size --- 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)) {