Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
misc: asan: mark parsed elf memory as readable for ASan
[vpp.git]
/
src
/
vppinfra
/
elf.c
diff --git
a/src/vppinfra/elf.c
b/src/vppinfra/elf.c
index
a8c5d30
..
0b8aaa5
100644
(file)
--- 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);