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

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



On 06/02/2011 07:58 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange redhat com>
> 
> 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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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