Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153761570
D40223.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
487 B
Referenced Files
None
Subscribers
None
D40223.id.diff
View Options
diff --git a/stand/efi/libefi/eficom.c b/stand/efi/libefi/eficom.c
--- a/stand/efi/libefi/eficom.c
+++ b/stand/efi/libefi/eficom.c
@@ -329,6 +329,16 @@
}
}
+ /*
+ * If there's no sio, then the device isn't there, so just return since
+ * the present flags aren't yet set.
+ */
+ if (comc_port->sio == NULL) {
+ free(comc_port);
+ comc_port = NULL;
+ return;
+ }
+
if (env != NULL)
unsetenv("efi_com_port");
snprintf(value, sizeof (value), "%u", comc_port->ioaddr);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 24, 12:35 PM (3 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32077013
Default Alt Text
D40223.id.diff (487 B)
Attached To
Mode
D40223: stand/efi/eficom: Free comc_port if we can't find the serial port
Attached
Detach File
Event Timeline
Log In to Comment