Re: [PATCH] fix attempt to seek outside of the file error when parsing xen ELF notes

2016-03-10 Thread Vladimir 'phcoder' Serbinenko
Le jeu. 3 mars 2016 19:17, Andrei Borzenkov a écrit : > 03.03.2016 10:33, Michael Chang пишет: > > The kernel bzImage payload length appears to be incorrectly minus by 4 > when > > trying to grub_file_offset_open for the uncompressed vmlinux image. If > gzip > > used as compressor it will lead to

Re: [PATCH] fix attempt to seek outside of the file error when parsing xen ELF notes

2016-03-03 Thread Michael Chang
On Thu, Mar 03, 2016 at 09:17:27PM +0300, Andrei Borzenkov wrote: > 03.03.2016 10:33, Michael Chang пишет: > > The kernel bzImage payload length appears to be incorrectly minus by 4 when > > trying to grub_file_offset_open for the uncompressed vmlinux image. If gzip > > used as compressor it will l

Re: [PATCH] fix attempt to seek outside of the file error when parsing xen ELF notes

2016-03-03 Thread Andrei Borzenkov
03.03.2016 10:33, Michael Chang пишет: > The kernel bzImage payload length appears to be incorrectly minus by 4 when > trying to grub_file_offset_open for the uncompressed vmlinux image. If gzip > used as compressor it will lead to the file->size read from offset of crc32 > instead of the uncompres

[PATCH] fix attempt to seek outside of the file error when parsing xen ELF notes

2016-03-02 Thread Michael Chang
The kernel bzImage payload length appears to be incorrectly minus by 4 when trying to grub_file_offset_open for the uncompressed vmlinux image. If gzip used as compressor it will lead to the file->size read from offset of crc32 instead of the uncompressed image size. [1] http://www.onicos.com/staf