Daisuke Nishimura
2007-Oct-15 06:07 UTC
[Xen-devel] [PATCH][x86-PAE] Avoid overflow in xc_domain_dumpcore_via_callback()
Hi. On x86-PAE systems, guest domains can have memory larger than 4GB. When trying to get xendump of such a guest, nr_pages * PAGE_SIZE exceeds 2^32, so "filesz" is not calculated properly in xc_domain_dumpcore_via_callback(). As a result, the crash utility cannot access to the string table section and cannot read the dumpfile. Attached patch fixes this bug. Thanks, Daisuke Nishimura. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel