diff options
author | Kingwel Xie <kingwel.xie@ericsson.com> | 2018-11-10 02:56:00 -0500 |
---|---|---|
committer | Kingwel Xie <kingwel.xie@ericsson.com> | 2018-11-10 02:56:00 -0500 |
commit | 5efaeee40c9e7790e57bcf90642f66a15c111334 (patch) | |
tree | 6e6dfbfffcb7aa3f7850fa294cce4a0da5d48ac1 /src/vlibmemory/vl_memory_api_h.h | |
parent | dfb5f2aff3675b3d70ba024dfd367c688ea1def6 (diff) |
pmalloc: u32 pp->index leads to va address overrun
when pagesize is 1G, this pm->base + (pp->index << pm->def_log2_page_sz) would very soon overrun if creating multiple mempools
add a (uword) to it
Change-Id: If769b99d344cc3f547418a242a7497d044071615
Signed-off-by: Kingwel Xie <kingwel.xie@ericsson.com>
Diffstat (limited to 'src/vlibmemory/vl_memory_api_h.h')
0 files changed, 0 insertions, 0 deletions