Page MenuHomeFreeBSD

D40223.id.diff
No OneTemporary

D40223.id.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
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)

Event Timeline