Re: [Xen-devel] [PATCH] xenpaging: do not leak if --pagefile given twice

2016-02-17 Thread Konrad Rzeszutek Wilk
On Wed, Feb 17, 2016 at 02:14:38PM -0500, Konrad Rzeszutek Wilk wrote: > On Wed, Feb 17, 2016 at 02:58:33PM +, Ian Campbell wrote: > > By freeing filename (which is either NULL or the previous iteration of > > this argument). This implements a semantic where the last --pagefile > > given on the

Re: [Xen-devel] [PATCH] xenpaging: do not leak if --pagefile given twice

2016-02-17 Thread Konrad Rzeszutek Wilk
On Wed, Feb 17, 2016 at 02:58:33PM +, Ian Campbell wrote: > By freeing filename (which is either NULL or the previous iteration of > this argument). This implements a semantic where the last --pagefile > given on the command line takes precedence. > > This is the same semantic as the other opt

[Xen-devel] [PATCH] xenpaging: do not leak if --pagefile given twice

2016-02-17 Thread Ian Campbell
By freeing filename (which is either NULL or the previous iteration of this argument). This implements a semantic where the last --pagefile given on the command line takes precedence. This is the same semantic as the other options have. CID: 1198792 Signed-off-by: Ian Campbell --- tools/xenpag