mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-12 02:58:35 +08:00
Merge pull request #152 from Fl0-0/Fix_gcc_warnings
Fix sizes for GCC 8.2 string truncation warnings
This commit is contained in:
commit
bf8745e668
1 changed files with 1 additions and 1 deletions
|
@ -781,7 +781,7 @@ int CmdHF15Restore(const char *Cmd) {
|
|||
char buff[255] = {0x00};
|
||||
size_t blocksize = 4;
|
||||
uint8_t cmdp = 0;
|
||||
char newCmdPrefix[255] = {0x00}, tmpCmd[255] = {0x00};
|
||||
char newCmdPrefix[FILE_PATH_SIZE + 1] = {0x00}, tmpCmd[FILE_PATH_SIZE + 262] = {0x00};
|
||||
char param[FILE_PATH_SIZE] = "";
|
||||
char hex[255] = "";
|
||||
uint8_t retries = 3, tried = 0, i = 0;
|
||||
|
|
Loading…
Reference in a new issue