> -----Original Message-----
> From: Jan Beulich <jbeul...@suse.com>
> Sent: 05 July 2019 15:52
> To: Paul Durrant <paul.durr...@citrix.com>
> Cc: xen-devel@lists.xenproject.org; Julien Grall <julien.gr...@arm.com>; 
> Andrew Cooper
> <andrew.coop...@citrix.com>; George Dunlap <george.dun...@citrix.com>; Ian 
> Jackson
> <ian.jack...@citrix.com>; Stefano Stabellini <sstabell...@kernel.org>; Konrad 
> Rzeszutek Wilk
> <konrad.w...@oracle.com>; Tim (Xen.org) <t...@xen.org>; Wei Liu <w...@xen.org>
> 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 <paul.durr...@citrix.com>
> 
> Reviewed-by: Jan Beulich <jbeul...@suse.com>
> 
> (I'm pondering whether to add the suggested blank lines while
> committing.)

Oh, sorry. I forgot about that.

  Paul

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to