[libvirt] [PATCH] util: netdev: Don't crash in virNetDevSetIPAddress if @peer is NULL

Vasiliy Tolstov v.tolstov at selfip.ru
Fri Apr 8 12:00:18 UTC 2016


2016-04-08 14:55 GMT+03:00 Peter Krempa <pkrempa at redhat.com>:
> VIR_SOCKET_ADDR_VALID dereferences the pointer, thus if we pass NULL
> into virNetDevSetIPAddress it crashes. Regression introduced by
> b3d069872ce53eb.


My fail, thanks!

-- 
Vasiliy Tolstov,
e-mail: v.tolstov at selfip.ru




More information about the libvir-list mailing list