Re: [Qemu-devel] BUG? Using memory after freeing

2018-03-08 Thread Stefan Hajnoczi
On Wed, Mar 07, 2018 at 01:49:01PM +0300, Aleksey Kuleshov wrote: > Hello! Thanks for the email! I have CCed the PCI maintainers, Michael Tsirkin and Marcel Apfelbaum. In the future you can find out who to contact using: $ scripts/get_maintainers -f hw/pci/pci_bridge.c > Explanation of what

[Qemu-devel] BUG? Using memory after freeing

2018-03-07 Thread Aleksey Kuleshov
Hello! Explanation of what I saw is follows. In hw/pci/pci_bridge.c function pci_bridge_update_mappings does follows: ``` void pci_bridge_update_mappings(PCIBridge *br) { PCIBridgeWindows *w = br->windows; /* Make updates atomic to: handle the case of one VCPU updating the bridge *