Fix buffer size in desfire_get_version, now cutter is happy on DF EV1
38 test(s), 8120 assertion(s), 0 failure(s), 0 error(s), 0 pending(s), 19 omission(s), 0 notification(s) 100% passed
This commit is contained in:
parent
601b75333f
commit
57f93fbeda
1 changed files with 1 additions and 1 deletions
|
@ -942,7 +942,7 @@ mifare_desfire_get_version (MifareTag tag, struct mifare_desfire_version_info *v
|
|||
ASSERT_NOT_NULL (version_info);
|
||||
|
||||
BUFFER_INIT (cmd, 1);
|
||||
BUFFER_INIT (res, 14 + CMAC_LENGTH); /* 8, 8, then 15 byte results */
|
||||
BUFFER_INIT (res, 15 + CMAC_LENGTH); /* 8, 8, then 15 byte results */
|
||||
|
||||
char buffer[28 + CMAC_LENGTH + 1];
|
||||
|
||||
|
|
Loading…
Reference in a new issue