[libvirt] [PATCH] esx_util.c: avoid NULL deref for invalid inputs

Jim Meyering jim at meyering.net
Wed Dec 16 12:39:59 UTC 2009


Matthias Bolte wrote:
>> From f34c4395b9b16965705f9158ac90e59c37b04507 Mon Sep 17 00:00:00 2001
>> Subject: [PATCH] esx_util.c: avoid NULL deref for invalid inputs
>>
>> * src/esx/esx_util.c (esxUtil_ParseDatastoreRelatedPath): Return
>> right away for invalid inputs, rather than using them (which would
>> dereference NULL pointers) in clean-up code.
>
> ACK.

Thanks for the reviews.
I've pushed that as well as the esx_vi.c change.




More information about the libvir-list mailing list