From 0ccc84959e1ba22dffb2229f2b592aecb070bc24 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Wed, 5 Jan 2022 19:23:19 +1100 Subject: [PATCH] [host] app: fix out by one compiler warning --- host/src/app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/src/app.c b/host/src/app.c index 81d7f311..a6c3667e 100644 --- a/host/src/app.c +++ b/host/src/app.c @@ -629,7 +629,7 @@ static bool newKVMFRData(KVMFRUserData * dst) record->size = sizeof(*osInfo); osInfo->os = KVMFR_OS_OTHER; - if (!appendBuffer(dst, record, "Unknown", 9)) + if (!appendBuffer(dst, record, "Unknown\0", 9)) return false; }