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:
Philippe Teuwen 2013-01-29 11:45:40 +01:00
parent 601b75333f
commit 57f93fbeda

View file

@ -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];