[libvirt] [PATCH 1/2] conf: avoid null deref during storage probe

Eric Blake eblake at redhat.com
Wed Apr 30 03:46:16 UTC 2014


On 04/29/2014 02:01 AM, Martin Kletzander wrote:
> On Mon, Apr 28, 2014 at 09:53:54PM -0600, Eric Blake wrote:
>> Commit 5c43e2e introduced a NULL deref if there is a failure
>> in virStorageFileGetMetadataInternal.
>>
>> * src/util/virstoragefile.c (virStorageFileGetMetadataFromBuf):
>> Fix error handling.
>>
>> Signed-off-by: Eric Blake <eblake at redhat.com>
>> ---
>> src/util/virstoragefile.c | 22 +++++++++++-----------
>> 1 file changed, 11 insertions(+), 11 deletions(-)
>>
> 
> ACK,

Thanks; pushed.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140429/fdbfce9d/attachment-0001.sig>


More information about the libvir-list mailing list