Re: [PATCH] conf: Fix possible NULL dereference in virStorageVolTargetDefFormat

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

 



On 07/11/2014 11:00 AM, Eric Blake wrote:
> On 07/11/2014 10:13 AM, Matthias Bolte wrote:
>> Commit dae1568c6c6455091e8cd9bc2e90a22af3d3880c converted the perms
>> member of the virStorageVolTarget struct into a pointer to make it
>> optional. But virStorageVolTargetDefFormat did not check perms for
>> NULL before dereferencing it.
>> ---
>>  src/conf/storage_conf.c | 26 ++++++++++++++------------
>>  1 file changed, 14 insertions(+), 12 deletions(-)
> 
> ACK.
> 

Now pushed.

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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]