[libvirt] [PATCH] remote_driver.c: fix a NULL dereference in remoteDomainEventQueueFlush().

2010-01-11 Thread kakuma
Hi, all. There is a case of a NULL dereference in function remoteDomainEventQueueFlush() in remote_driver.c In the case of local connection conn-privateData-domainEvents isn't reserved. In this case it will occurs segment fault. (for example examples/domain-events/events-c/event-test.c) I think

Re: [libvirt] [PATCH] remote_driver.c: fix a NULL dereference in remoteDomainEventQueueFlush().

2010-01-11 Thread Matthias Bolte
2010/1/12 kakuma f-...@ksh.biglobe.ne.jp: Hi, all. There is a case of a NULL dereference in function remoteDomainEventQueueFlush() in remote_driver.c In the case of local connection conn-privateData-domainEvents isn't reserved. In this case it will occurs segment fault. (for example

Re: [libvirt] [PATCH] remote_driver.c: fix a NULL dereference in remoteDomainEventQueueFlush().

2010-01-11 Thread kakuma
On Tue, 12 Jan 2010 02:39:58 +0100 Matthias Bolte matthias.bo...@googlemail.com wrote: 2010/1/12 kakuma f-...@ksh.biglobe.ne.jp: Hi, all. There is a case of a NULL dereference in function remoteDomainEventQueueFlush() in remote_driver.c In the case of local connection