Re: [PATCH] Avoid crash on NULL pointer in lock driver impls during hotplug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/02/2011 07:58 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> When virLockDriverAcquire is invoked during hotplug the state
> parameter will be left as NULL.
> 
> * src/locking/lock_driver_nop.c,
>   src/locking/lock_driver_sanlock.c: Don't reference NULL state
>   parameter
> ---
>  src/locking/lock_driver_nop.c     |    7 ++++---
>  src/locking/lock_driver_sanlock.c |   29 ++++++++++++++++++-----------
>  2 files changed, 22 insertions(+), 14 deletions(-)

ACK.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]