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

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



On 30.11.2011 08:50, ajia redhat com wrote:
> From: Alex Jia <ajia redhat com>
> 
> 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 redhat com>
> ---

ACK & pushed.

Michal


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