Merge pull request #1501 from merlokk/fix_desf

increase buffer len
This commit is contained in:
Oleg Moiseenko 2021-09-08 21:44:58 +03:00 committed by GitHub
commit f61f8e7f92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1843,7 +1843,7 @@ static int DesfireCommandEx(DesfireContext_t *dctx, uint8_t cmd, uint8_t *data,
*resplen = 0;
uint8_t respcode = 0xff;
uint8_t xresp[257] = {0};
uint8_t xresp[2050] = {0};
size_t xresplen = 0;
int res = DesfireExchangeEx(false, dctx, cmd, data, datalen, &respcode, xresp, &xresplen, true, splitbysize);
if (res != PM3_SUCCESS)