[libvirt] [PATCH] storage_backend_fs: avoid NULL dereference on opendir failure

Daniel Veillard veillard at redhat.com
Wed Sep 2 08:46:38 UTC 2009


On Wed, Sep 02, 2009 at 10:05:03AM +0200, Jim Meyering wrote:
> I've just begun using clang's static analyzer,
> 
>     http://clang-analyzer.llvm.org/
> 
> It has uncovered a few problems in libvirt.
> Here are the first few fixes.
> I'll send more details later today.

  All patches look fine, it's just too bad we have to drop the 'z'
storage size suffix, but it's not realistic on current platforms.

   ACK

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