fix Coverity string overflow

This commit is contained in:
Philippe Teuwen 2019-03-15 00:27:26 +01:00
parent b538a67ba3
commit 9b3cc10e0b

View file

@ -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) {