[libvirt] [PATCH 5/7] phyp: Resolve Coverity FORWARD_NULL

Peter Krempa pkrempa at redhat.com
Wed Jul 1 14:24:45 UTC 2015


On Wed, Jul 01, 2015 at 10:03:49 -0400, John Ferlan wrote:
> Commit id 'cd490086' added a VIR_FORCE_CLOSE of the 'sock', but it
> was after the VIR_FREE() of phyp_driver, resulting in a possible/likely
> NULL dereference.
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/phyp/phyp_driver.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 

ACK, safe for freeze.

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150701/5ec36ef2/attachment-0001.sig>


More information about the libvir-list mailing list