Re: [PATCH] util: avoid null deref on qcowXGetBackingStore

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

 



On 30.11.2011 08:50, ajia@xxxxxxxxxx wrote:
> From: Alex Jia <ajia@xxxxxxxxxx>
> 
> Detected by Coverity. the only case is caller passes a NULL to 'format' variable,
> then taking 'if (format)' false branch, the function qcow2GetBackingStoreFormat
> will directly dereferences the NULL 'format' pointer variable.
> 
> Signed-off-by: Alex Jia <ajia@xxxxxxxxxx>
> ---

ACK & pushed.

Michal

--
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]