From 9b3cc10e0b6ce0d073ea325ac4348839a6025296 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Fri, 15 Mar 2019 00:27:26 +0100 Subject: [PATCH] fix Coverity string overflow --- client/cmdlfhitag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmdlfhitag.c b/client/cmdlfhitag.c index 717b2b854..40c90d5ef 100644 --- a/client/cmdlfhitag.c +++ b/client/cmdlfhitag.c @@ -344,7 +344,7 @@ int CmdLFHitagSim(const char *Cmd) { } static void printHitagConfiguration(uint8_t config) { - char msg[80]; + char msg[100]; memset(msg, 0, sizeof(msg)); // encoding if (config & 0x1) {