2002-11-30 Yoshinori K. Okuji <okuji@enbug.org>

* stage2/disk_io.c (rawread): Make sure that SECTOR is valid.
	If not, set ERRNUM to ERR_GEOM and return zero. This check is
	critical when a partition table is corrupted.
This commit is contained in:
okuji 2002-11-29 17:56:38 +00:00
parent a44e6361bc
commit f5bc93e4de
3 changed files with 20 additions and 6 deletions

View file

@ -1,3 +1,9 @@
2002-11-30 Yoshinori K. Okuji <okuji@enbug.org>
* stage2/disk_io.c (rawread): Make sure that SECTOR is valid.
If not, set ERRNUM to ERR_GEOM and return zero. This check is
critical when a partition table is corrupted.
2002-11-28 Yoshinori K. Okuji <okuji@enbug.org>
* stage2/asm.S (console_cls): Write spaces to the entire screen