Re: [PATCH] xen-pciback: fix up cleanup path when alloc fails
From: Boris Ostrovsky
Date: Mon Nov 30 2015 - 16:09:35 EST
On 11/26/2015 03:32 PM, Doug Goldstein wrote:
When allocating a pciback device fails, avoid the possibility of a
use after free.
Reported-by: Jonathan Creekmore <jonathan.creekmore@xxxxxxxxx>
Signed-off-by: Doug Goldstein <cardoe@xxxxxxxxxx>
---
drivers/xen/xen-pciback/xenbus.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/