Re: [Xen-devel] [PATCH for-4.6 v3 0/6] Fix libxl TOOLSTACK records for migration v2

2015-08-05 Thread Ian Campbell
On Tue, 2015-08-04 at 18:16 +0100, Andrew Cooper wrote: > The libxl blob for toolstack records was not 32/64bit safe. In 64bit > builds, it had an extra 4 bytes of padding due to alignment, and because > of the pointer arithmatic used to build it, leaked 4 bytes of libxl heap > into the stream. >

[Xen-devel] [PATCH for-4.6 v3 0/6] Fix libxl TOOLSTACK records for migration v2

2015-08-04 Thread Andrew Cooper
The libxl blob for toolstack records was not 32/64bit safe. In 64bit builds, it had an extra 4 bytes of padding due to alignment, and because of the pointer arithmatic used to build it, leaked 4 bytes of libxl heap into the stream. Respecify XENSTORE_DATA as EMULATOR_XENSTORE_DATA and take remedi