[libvirt] [PATCH] don't dereference uninitialized pointer

Daniel Veillard veillard at redhat.com
Mon Mar 2 10:01:50 UTC 2009


On Mon, Mar 02, 2009 at 10:14:04AM +0100, Jim Meyering wrote:
> 
> >From a907d2da7e7f9d1f58009ff6a95454ac0eb2cbf1 Mon Sep 17 00:00:00 2001
> From: Jim Meyering <meyering at redhat.com>
> Date: Mon, 2 Mar 2009 10:10:02 +0100
> Subject: [PATCH] don't dereference uninitialized pointer
> 
> * src/storage_conf.c (virStoragePoolDefParsePerms): Initialize
> "ptr" to NULL.

  ACK, strangely virStorageVolDefParsePerms() doesn't have the problem,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list