Re: [Qemu-devel] [PATCH] vmdk: fix endianness bugs

2011-05-25 Thread Kevin Wolf
Am 25.05.2011 00:46, schrieb Alexander Graf: > The vmdk code is sloppy when handling the header descriptor during > creation of an image. Fix all header accesses in the create path to > either store native endianness or convert it when appropriate. > > Reported-by: Yury Tsarev > Signed-off-by: Al

[Qemu-devel] [PATCH] vmdk: fix endianness bugs

2011-05-24 Thread Alexander Graf
The vmdk code is sloppy when handling the header descriptor during creation of an image. Fix all header accesses in the create path to either store native endianness or convert it when appropriate. Reported-by: Yury Tsarev Signed-off-by: Alexander Graf --- block/vmdk.c | 22 ++