3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

unit: fix buffer overrun in SAE test

This commit is contained in:
James Prestwood 2018-08-15 11:38:36 -07:00 committed by Denis Kenzior
parent 26246e75c8
commit 41d35e561a

View File

@ -266,7 +266,7 @@ static void test_early_confirm(const void *arg)
struct sae_sm *sm = test_initialize(td);
uint8_t frame[38];
uint8_t first_commit[100];
uint8_t first_commit[102];
/* save the initial commit */
memcpy(first_commit, td->tx_packet, td->tx_packet_len);