On 05.07.2019 16:48, Paul Durrant wrote:
> This patch adds XMEM_POOL_POISON to the Kconfig DEBUG options. If set,
> free blocks (greater than MIN_BLOCK_SIZE) will be poisoned with 0xAA
> bytes which will then be verified when memory is subsequently allocated.
> This can help in spotting heap corruption, particularly use-after-free.
> 
> Signed-off-by: Paul Durrant <[email protected]>

Reviewed-by: Jan Beulich <[email protected]>

(I'm pondering whether to add the suggested blank lines while
committing.)

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to