Add support for client getting bigbufsize
This commit is contained in:
@@ -2837,7 +2837,7 @@ static int CmdResetRead(const char *Cmd) {
|
||||
|
||||
if (resp.status == PM3_SUCCESS) {
|
||||
|
||||
uint16_t gotsize = BIGBUF_SIZE - 1;
|
||||
uint16_t gotsize = pm3_capabilities.bigbuf_size - 1;
|
||||
uint8_t *got = calloc(gotsize, sizeof(uint8_t));
|
||||
if (got == NULL) {
|
||||
PrintAndLogEx(WARNING, "failed to allocate memory");
|
||||
|
||||
Reference in New Issue
Block a user