summaryrefslogtreecommitdiffstats
path: root/src/svm
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-02-11 08:44:23 -0800
committerBeno�t Ganne <bganne@cisco.com>2021-02-19 08:16:06 +0000
commitee5cd4e47078f0f3f0cab93fd1aff3bf1e70bca5 (patch)
tree30259bbaa99b187143122875aa295da15ae9b09d /src/svm
parent5c01dbc47ceca82fa93ca62fcda9a7904331d810 (diff)
session vppinfra: asan fixes
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Ie709d76438542783cbc8c6174b5e712ef18a6276
Diffstat (limited to 'src/svm')
-rw-r--r--src/svm/fifo_segment.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/svm/fifo_segment.c b/src/svm/fifo_segment.c
index 02886bc7c8f..f23b2dbbf71 100644
--- a/src/svm/fifo_segment.c
+++ b/src/svm/fifo_segment.c
@@ -292,6 +292,7 @@ fifo_segment_init (fifo_segment_t * fs)
seg_start = round_pow2_u64 (pointer_to_uword (seg_data), align);
fsh = uword_to_pointer (seg_start, void *);
+ CLIB_MEM_UNPOISON (fsh, seg_sz);
memset (fsh, 0, sizeof (*fsh) + slices_sz);
fsh->byte_index = sizeof (*fsh) + slices_sz;