FreeBSD Bugzilla – Attachment 144581 Details for
Bug 176748
[libi386] [patch] BTX Loader i386 incorrectly probes EDD, possibly resulting division by zero
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ignore_zero_size.patch
file_176748.txt (text/plain), 449 bytes, created by
John Baldwin
on 2014-07-11 18:18:12 UTC
(
hide
)
Description:
ignore_zero_size.patch
Filename:
MIME Type:
Creator:
John Baldwin
Created:
2014-07-11 18:18:12 UTC
Size:
449 bytes
patch
obsolete
>--- //depot/user/jhb/boot/sys/boot/i386/libi386/biosdisk.c 2014-07-11 18:05:58.000000000 0000 >+++ /home/jhb/work/p4/boot/sys/boot/i386/libi386/biosdisk.c 2014-07-11 18:05:58.000000000 0000 >@@ -246,7 +246,7 @@ > v86.ds = VTOPSEG(¶ms); > v86.esi = VTOPOFF(¶ms); > v86int(); >- if (!V86_CY(v86.efl)) { >+ if (!V86_CY(v86.efl) && params.sectors != 0) { > bd->bd_sectors = params.sectors; > bd->bd_sectorsize = params.sector_size; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 176748
:
132465
| 144581 |
162919