reuse memory for allow_list of creds

This commit is contained in:
Conor Patrick
2019-04-24 11:45:30 -04:00
parent 41ae0e4a2c
commit 813eb97d2f
4 changed files with 16 additions and 12 deletions

View File

@@ -1005,6 +1005,8 @@ uint8_t ctap_parse_get_assertion(CTAP_getAssertion * GA, uint8_t * request, int
CborValue it,map;
memset(GA, 0, sizeof(CTAP_getAssertion));
GA->creds = getAssertionState.creds; // Save stack memory
ret = cbor_parser_init(request, length, CborValidateCanonicalFormat, &parser, &it);
check_ret(ret);