Re: [libvirt] [PATCH v2] phyp: Fix NULL dereference in phypConnectOpen

2014-11-10 Thread Pavel Hrdina
On 11/10/2014 07:41 AM, Martin Kletzander wrote: Coverity found out that commit cd490086 caused a possible NULL pointer dereference. This is due to the fact, that phyp_driver is NULL at the time of closing the socket, instead of connection_data, which kept the socket before the mentioned

Re: [libvirt] [PATCH v2] phyp: Fix NULL dereference in phypConnectOpen

2014-11-10 Thread John Ferlan
On 11/10/2014 01:41 AM, Martin Kletzander wrote: Coverity found out that commit cd490086 caused a possible NULL pointer dereference. This is due to the fact, that phyp_driver is NULL at the time of closing the socket, instead of connection_data, which kept the socket before the mentioned

[libvirt] [PATCH v2] phyp: Fix NULL dereference in phypConnectOpen

2014-11-09 Thread Martin Kletzander
Coverity found out that commit cd490086 caused a possible NULL pointer dereference. This is due to the fact, that phyp_driver is NULL at the time of closing the socket, instead of connection_data, which kept the socket before the mentioned commit, could not be NULL. However, internal_socket is