aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra/elf.c')
-rw-r--r--src/vppinfra/elf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vppinfra/elf.c b/src/vppinfra/elf.c
index a8c5d307cdf..0b8aaa5d003 100644
--- a/src/vppinfra/elf.c
+++ b/src/vppinfra/elf.c
@@ -1357,6 +1357,8 @@ elf_read_file (elf_main_t * em, char *file_name)
goto done;
}
+ CLIB_MEM_UNPOISON (data, mmap_length);
+
em->file_name = file_name;
error = elf_parse (em, data, mmap_length);