Re: [patch] PCI: hv: potential use after free

2016-02-29 Thread Dan Carpenter
You're right. My bad. regards, dan carpenter ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

RE: [patch] PCI: hv: potential use after free

2016-02-29 Thread Jake Oshins
x-ker...@vger.kernel.org; kernel- > janit...@vger.kernel.org > Subject: [patch] PCI: hv: potential use after free > > If we throw away the very last item on the list, then we could end up > with a use after free of "dr". > > Fixes: 15ca17645f19 ('PCI: hv: Add para

[patch] PCI: hv: potential use after free

2016-02-27 Thread Dan Carpenter
If we throw away the very last item on the list, then we could end up with a use after free of "dr". Fixes: 15ca17645f19 ('PCI: hv: Add paravirtual PCI front-end for Microsoft Hyper-V VMs') Signed-off-by: Dan Carpenter diff --git a/drivers/pci/host/pci-hyperv.c b/drivers/pci/host/pci-hyperv.c i