- Sanitize disk parameters retrieved from GEOM, as they are not guaranteed to
have sane values. It caused sysinstall to crash when installing on certain SD cards. Discussed with: marcel
This commit is contained in:
parent
4ad0d60bb8
commit
043767b123
@ -127,6 +127,9 @@ Int_Open_Disk(const char *name, char *conftxt)
|
||||
name, a, b, line);
|
||||
}
|
||||
|
||||
/* Sanitize the parameters. */
|
||||
Sanitize_Bios_Geom(d);
|
||||
|
||||
/*
|
||||
* Calculate the number of cylinders this disk must have. If we have
|
||||
* an obvious insanity, we set the number of cylinders to zero.
|
||||
|
Loading…
Reference in New Issue
Block a user