Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148476818
D13297.id36036.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
471 B
Referenced Files
None
Subscribers
None
D13297.id36036.diff
View Options
Index: head/stand/efi/libefi/efipart.c
===================================================================
--- head/stand/efi/libefi/efipart.c
+++ head/stand/efi/libefi/efipart.c
@@ -257,6 +257,14 @@
!blkio->Media->MediaPresent) {
return (false);
}
+
+ /*
+ * We assume the block size 512 or greater power of 2.
+ */
+ if (blkio->Media->BlockSize < 512 ||
+ !powerof2(blkio->Media->BlockSize)) {
+ return (false);
+ }
}
return (true);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 19, 3:49 AM (10 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29943629
Default Alt Text
D13297.id36036.diff (471 B)
Attached To
Mode
D13297: loader.efi: efipart should exclude iPXE stub block protocol
Attached
Detach File
Event Timeline
Log In to Comment