mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 10:43:01 +08:00
fix Coverity string overflow
This commit is contained in:
parent
b538a67ba3
commit
9b3cc10e0b
1 changed files with 1 additions and 1 deletions
|
@ -344,7 +344,7 @@ int CmdLFHitagSim(const char *Cmd) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void printHitagConfiguration(uint8_t config) {
|
static void printHitagConfiguration(uint8_t config) {
|
||||||
char msg[80];
|
char msg[100];
|
||||||
memset(msg, 0, sizeof(msg));
|
memset(msg, 0, sizeof(msg));
|
||||||
// encoding
|
// encoding
|
||||||
if (config & 0x1) {
|
if (config & 0x1) {
|
||||||
|
|
Loading…
Reference in a new issue