Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177857304
D16588.1795441247.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
400 B
Referenced Files
None
Subscribers
None
D16588.1795441247.diff
View Options
Index: stand/i386/libi386/biosdisk.c
===================================================================
--- stand/i386/libi386/biosdisk.c
+++ stand/i386/libi386/biosdisk.c
@@ -275,7 +275,7 @@
total = (uint64_t)params.cylinders *
params.heads * params.sectors_per_track;
- if (bd->bd_sectors > total)
+ if (total > 0 && bd->bd_sectors > total)
bd->bd_sectors = total;
ret = 1;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 23, 1:40 PM (5 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41932595
Default Alt Text
D16588.1795441247.diff (400 B)
Attached To
Mode
D16588: Sanity check BIOS EDD CHS numbers before using them.
Attached
Detach File
Event Timeline