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

Eric Blake eblake at redhat.com
Fri Jul 11 23:02:20 UTC 2014


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

-------------- 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/20140711/a7913976/attachment-0001.sig>


More information about the libvir-list mailing list