From feba89a3f7a360648d8153f33f3825a8e92f6c09 Mon Sep 17 00:00:00 2001 From: Florian von Zabiensky Date: Tue, 6 Oct 2015 11:25:12 +0200 Subject: [PATCH] fixed memory bug --- core/lib/ccm-star.c | 1 - 1 file changed, 1 deletion(-) diff --git a/core/lib/ccm-star.c b/core/lib/ccm-star.c index e093c8703..537d341e1 100644 --- a/core/lib/ccm-star.c +++ b/core/lib/ccm-star.c @@ -114,7 +114,6 @@ mic(const uint8_t *m, uint8_t m_len, } if(m_len > 0) { - m = a + a_len; pos = 0; while(pos < m_len) { for(i = 0; (pos + i < m_len) && (i < AES_128_BLOCK_SIZE); i++) {