On Fri, 2015-03-06 at 19:05 +0000, Andrew Cooper wrote: > From: Ross Lagerwall <ross.lagerw...@citrix.com> > > An individual datacopier_buf contains a static buffer of 1000 bytes. > Attempting to add prefixdata of more than 1000 bytes would overrun the buffer > and cause heap corruption. > > Instead, split the prefixdata and chain together multiple datacopier buffers. > This allows for an arbitrary quantity of prefixdata to be added to a > datacopier. > > Signed-off-by: Ross Lagerwall <ross.lagerw...@citrix.com> > Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> > CC: Ian Campbell <ian.campb...@citrix.com> > CC: Ian Jackson <ian.jack...@eu.citrix.com> > CC: Wei Liu <wei.l...@citrix.com>
Acked-by: Ian Campbell <ian.campb...@citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel