[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC] qdict: issue about usb controller hot-plug/unplug
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [RFC] qdict: issue about usb controller hot-plug/unplug |
Date: |
Tue, 27 May 2014 11:25:04 +0200 |
On Di, 2014-05-27 at 08:28 +0000, Gonglei (Arei) wrote:
> Hi,
>
> Those day, I'm working for usb controller hot-plugging/unplugging(
> not enable multifunction capability). Everything work well, but when
> I test the case of hot-plug/unplug reiteratively, qemu will be aborted:
Guess you've removed the "dc->hotpluggable = false" and added a cleanup
function?
> I don't know why the new qdict address will conflict with the global usb
> busses. tqh_last?
Most likely something is missing in the cleanup, leading to a
use-after-free.
Usually Electric Fence is pretty good at catching them.
http://www.pf-lug.de/projekte/haya/efence.php
cheers,
Gerd