Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143872127
D17890.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
616 B
Referenced Files
None
Subscribers
None
D17890.diff
View Options
Index: head/stand/common/part.c
===================================================================
--- head/stand/common/part.c
+++ head/stand/common/part.c
@@ -675,10 +675,12 @@
table->type = PTABLE_NONE;
STAILQ_INIT(&table->entries);
- if (ptable_iso9660read(table, dev, dread) != NULL) {
- if (table->type == PTABLE_ISO9660)
- goto out;
- }
+ if (ptable_iso9660read(table, dev, dread) == NULL) {
+ /* Read error. */
+ table = NULL;
+ goto out;
+ } else if (table->type == PTABLE_ISO9660)
+ goto out;
#ifdef LOADER_VTOC8_SUPPORT
if (be16dec(buf + offsetof(struct vtoc8, magic)) == VTOC_MAGIC) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 2, 8:12 AM (5 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28411026
Default Alt Text
D17890.diff (616 B)
Attached To
Mode
D17890: loader: ptable_open() check for ptable_cd9660read result is wrong
Attached
Detach File
Event Timeline
Log In to Comment