Re: [libvirt] [PATCH] rpc : fix a access for null pointer

2017-07-20 Thread Michal Privoznik
On 07/15/2017 05:00 PM, Peng Hao wrote: > virNetSocketRemoveIOCallback get sock's ObjectLock and will call > virNetSocketEventFree. virNetSocketEventFree may be free sock > object and virNetSocketRemoveIOCallback will access a null pointer > in release sock's ObjectLock. > > Signed-off-by: Liu Yun

[libvirt] [PATCH] rpc : fix a access for null pointer

2017-07-14 Thread Peng Hao
virNetSocketRemoveIOCallback get sock's ObjectLock and will call virNetSocketEventFree. virNetSocketEventFree may be free sock object and virNetSocketRemoveIOCallback will access a null pointer in release sock's ObjectLock. Signed-off-by: Liu Yun Signed-off-by: Peng Hao --- src/rpc/virnetsocket