Page MenuHomeFreeBSD

Fix the efi serial console in the Arm models
ClosedPublic

Authored by andrew on Jun 9 2020, 7:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jul 23, 10:38 AM
Unknown Object (File)
Mon, Jul 13, 11:52 AM
Unknown Object (File)
Mon, Jul 13, 12:46 AM
Unknown Object (File)
Sat, Jul 11, 5:29 PM
Unknown Object (File)
May 22 2026, 4:35 AM
Unknown Object (File)
May 19 2026, 4:39 AM
Unknown Object (File)
May 15 2026, 5:55 PM
Unknown Object (File)
May 15 2026, 5:54 PM
Subscribers

Details

Summary

On some UEFI implementations the ConsOut EFI variable is not a device
path end type so we never move to the next node. Fix this by always
incrementing the device path node pointer, with a sanity check that
the node length is large enough so no two nodes overlap.

While here retorn failure on malloc failure rather than a NULL pointer
dereference.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 31596
Build 29185: arc lint + arc unit