Re: [libvirt] [PATCH] rpc: fix use-after-free when sending event message

2017-02-20 Thread John Ferlan
On 02/09/2017 08:12 PM, Wang King wrote: > If there is a process with a client which registers event callbacks, > and it calls libvirt's API which uses the same virConnectPtr in that > callback function. When this process exit abnormally lead to client > disconnect, there is a possibility that th

[libvirt] [PATCH] rpc: fix use-after-free when sending event message

2017-02-09 Thread Wang King
If there is a process with a client which registers event callbacks, and it calls libvirt's API which uses the same virConnectPtr in that callback function. When this process exit abnormally lead to client disconnect, there is a possibility that the main thread is refer to virServerClient just afte