libvirt/src/xen
Jim Meyering ba918ac1b4 xen: don't let bogus packets trigger over-allocation and segfault
* src/xen/proxy_internal.c (xenProxyDomainDumpXML): An invalid packet
could include a too-large "ans.len" value, which would make us allocate
too much memory and then copy data from beyond the end of "ans",
possibly evoking a segfault.  Ensure that the value we use is no
larger than the remaining portion of "ans".
Also, change unnecessary memmove to memcpy (src and dest obviously
do not overlap, so no need to use memmove).
(xenProxyDomainGetOSType): Likewise.
(xenProxyGetCapabilities): Likewise.
2010-03-05 18:30:57 +01:00
..
block_stats.c Remove conn parameter from virReportOOMError 2010-02-09 01:04:54 +01:00
block_stats.h Move xen driver code into src/xen/ directory 2009-09-21 14:41:42 +01:00
proxy_internal.c xen: don't let bogus packets trigger over-allocation and segfault 2010-03-05 18:30:57 +01:00
proxy_internal.h Fix logic in xenUnifiedNumOfDomains to match xenUnifiedListDomains 2009-11-12 11:53:54 +00:00
sexpr.c Remove conn parameter from virReportOOMError 2010-02-09 01:04:54 +01:00
sexpr.h Move xen driver code into src/xen/ directory 2009-09-21 14:41:42 +01:00
xen_driver.c Wire up internal entry points for virDomainAbortJob API 2010-03-02 16:23:31 +00:00
xen_driver.h domain{Attach,Detach}DeviceFlags handler for drivers 2010-02-08 10:49:43 -07:00
xen_hypervisor.c Remove conn parameter from Linux stats functions 2010-02-09 01:04:55 +01:00
xen_hypervisor.h xen_hypervisor.c: remove all "domain == NULL" tests, ... 2010-02-02 18:44:39 +01:00
xen_inotify.c Remove conn parameter from virReportSystemError 2010-02-09 01:04:54 +01:00
xen_inotify.h Implmentation of new APIs to checking state/persistence of objects 2009-11-10 17:00:27 +00:00
xend_internal.c Allow a timezone to be specified instead of sync to host timezone 2010-03-01 18:42:55 +00:00
xend_internal.h Fix logic in xenUnifiedNumOfDomains to match xenUnifiedListDomains 2009-11-12 11:53:54 +00:00
xm_internal.c Allow a timezone to be specified instead of sync to host timezone 2010-03-01 18:42:55 +00:00
xm_internal.h Move xen driver code into src/xen/ directory 2009-09-21 14:41:42 +01:00
xs_internal.c Remove conn parameter from virReportOOMError 2010-02-09 01:04:54 +01:00
xs_internal.h Make Xen VT-d PCI attach/detach work 2009-12-22 10:53:51 +01:00