mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
checks
This commit is contained in:
parent
a57cfdde70
commit
7f5590d942
1 changed files with 2 additions and 2 deletions
|
@ -205,8 +205,8 @@ char *newfilenamemcopyEx(const char *preferredName, const char *suffix, savePath
|
|||
|
||||
// user preference save paths
|
||||
size_t save_path_len = path_size(e_save_path);
|
||||
if (save_path_len) {
|
||||
snprintf(pfn, len, "%s%s", g_session.defaultPaths[e_save_path], PATHSEP);
|
||||
if (save_path_len < FILE_PATH_SIZE ) {
|
||||
snprintf(pfn, len, "%.*s%s", (int)save_path_len, g_session.defaultPaths[e_save_path], PATHSEP);
|
||||
pfn += save_path_len + strlen(PATHSEP);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue