Re: [PATCH 15/17] Fix crash on OOM in xenParseXM handling consoles

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

 



On 09/24/2013 06:04 PM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> The xenParseXM sets def->nconsoles to 1 before claling
> VIR_REALLOC_N on def->consoles. So if the alloc fails
> due to OOM, the cleanup code will crash accessing a
> console that does not exist.
> 
> Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
> ---
>  src/xenxs/xen_xm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

ACK

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