On Fri, 2015-03-06 at 19:05 +0000, Andrew Cooper wrote:
> From: Ross Lagerwall <[email protected]>
> 
> 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 <[email protected]>
> Signed-off-by: Andrew Cooper <[email protected]>
> CC: Ian Campbell <[email protected]>
> CC: Ian Jackson <[email protected]>
> CC: Wei Liu <[email protected]>

Acked-by: Ian Campbell <[email protected]>



_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

Reply via email to