From b7b929931a07fbb27b43d5cd105f366c3e29807e Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Wed, 17 Oct 2018 10:38:51 -0400 Subject: c11 safe string handling support Change-Id: Ied34720ca5a6e6e717eea4e86003e854031b6eab Signed-off-by: Dave Barach --- src/vppinfra/heap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vppinfra/heap.h') diff --git a/src/vppinfra/heap.h b/src/vppinfra/heap.h index f76c9453e65..b6e9f022852 100644 --- a/src/vppinfra/heap.h +++ b/src/vppinfra/heap.h @@ -260,7 +260,7 @@ heap_create_from_memory (void *memory, uword max_len, uword elt_bytes) return 0; h = memory; - memset (h, 0, sizeof (h[0])); + clib_memset (h, 0, sizeof (h[0])); h->max_len = max_len; h->elt_bytes = elt_bytes; h->flags = HEAP_IS_STATIC; -- cgit 1.2.3-korg