mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-19 19:38:52 +08:00
fix dereference
This commit is contained in:
parent
56a75fbf0b
commit
972f8590e0
1 changed files with 2 additions and 1 deletions
|
@ -259,7 +259,8 @@ bool HexToBuffer(const char *errormsg, const char *hexvalue, uint8_t * buffer, s
|
|||
return false;
|
||||
}
|
||||
|
||||
*bufferlen = buflen;
|
||||
if ( bufferlen )
|
||||
*bufferlen = buflen;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue