Page MenuHomeFreeBSD

D40223.1794093913.diff
No OneTemporary

Authored By
Unknown
Size
487 B
Referenced Files
None
Subscribers
None

D40223.1794093913.diff

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

Mime Type
text/plain
Expires
Sat, Nov 7, 11:25 PM (18 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41556547
Default Alt Text
D40223.1794093913.diff (487 B)

Event Timeline