> -----Original Message-----
> From: Jan Beulich <[email protected]>
> Sent: 05 July 2019 15:52
> To: Paul Durrant <[email protected]>
> Cc: [email protected]; Julien Grall <[email protected]>; 
> Andrew Cooper
> <[email protected]>; George Dunlap <[email protected]>; Ian 
> Jackson
> <[email protected]>; Stefano Stabellini <[email protected]>; Konrad 
> Rzeszutek Wilk
> <[email protected]>; Tim (Xen.org) <[email protected]>; Wei Liu <[email protected]>
> Subject: Re: [PATCH v3 2/2] xmalloc: add a Kconfig option to poison free pool 
> memory
> 
> 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.)

Oh, sorry. I forgot about that.

  Paul

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

Reply via email to