7d24e2a4cd
Add a check to prevent spdk_mem_map_set_translation() or spdk_mem_map_clear_translation() calls that start within the valid address range but specify a size that would access parts of the mem map outside of the valid region. spdk_mem_map_translate() is safe without any extra checks since it only accesses the first entry regardless of size, and the MASK_256TB check catches out-of-range accesses to that entry. Change-Id: Ie1437e57b5158363bb98a6b42a26fb41a089bbad Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/418106 Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> |
||
---|---|---|
.. | ||
memory | ||
pci | ||
vtophys | ||
env.sh | ||
Makefile |