2006-11-03 Hollis Blanchard <hollis@penguinppc.org>

* kern/elf.c (grub_elf_file): Call grub_file_seek. Call
	grub_error_push and grub_error_pop in the error-handling path.
	(grub_elf32_load_segment): Only call grub_file_read with non-zero
	length.
This commit is contained in:
hollisb 2006-11-03 23:05:14 +00:00
parent 8b55db6631
commit ae4f23bfa6
2 changed files with 14 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2006-11-03 Hollis Blanchard <hollis@penguinppc.org>
* kern/elf.c (grub_elf_file): Call grub_file_seek. Call
grub_error_push and grub_error_pop in the error-handling path.
(grub_elf32_load_segment): Only call grub_file_read with non-zero
length.
2006-11-03 Hollis Blanchard <hollis@penguinppc.org>
* conf/i386-efi.rmk (grub_emu_SOURCES): Add kern/elf.c.