mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
fix issue #1127
This commit is contained in:
parent
c828caff33
commit
2385ea9bb7
1 changed files with 2 additions and 2 deletions
|
@ -1553,7 +1553,7 @@ int infoHF_EMRTD_offline(const char *path) {
|
|||
if (filepath == NULL)
|
||||
return PM3_EMALLOC;
|
||||
strcpy(filepath, path);
|
||||
strncat(filepath, PATHSEP, 1);
|
||||
strncat(filepath, PATHSEP, 2);
|
||||
strcat(filepath, dg_table[EF_COM].filename);
|
||||
|
||||
if (loadFile_safeEx(filepath, ".BIN", (void **)&data, (size_t *)&datalen, false) != PM3_SUCCESS) {
|
||||
|
@ -1590,7 +1590,7 @@ int infoHF_EMRTD_offline(const char *path) {
|
|||
}
|
||||
if (!dg->pace) {
|
||||
strcpy(filepath, path);
|
||||
strncat(filepath, PATHSEP, 1);
|
||||
strncat(filepath, PATHSEP, 2);
|
||||
strcat(filepath, dg->filename);
|
||||
if (loadFile_safeEx(filepath, ".BIN", (void **)&data, (size_t *)&datalen, false) == PM3_SUCCESS)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue