From 41d35e561acab600a741e82d5548bca5b3e2902d Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Wed, 15 Aug 2018 11:38:36 -0700 Subject: [PATCH] unit: fix buffer overrun in SAE test --- unit/test-sae.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unit/test-sae.c b/unit/test-sae.c index 47bd8791..ff3bd77c 100644 --- a/unit/test-sae.c +++ b/unit/test-sae.c @@ -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);