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)
Sun, Aug 9, 9:49 PM
Unknown Object (File)
Sun, Aug 9, 6:52 PM
Unknown Object (File)
Thu, Jul 23, 10:38 AM
Unknown Object (File)
Jul 13 2026, 11:52 AM
Unknown Object (File)
Jul 13 2026, 12:46 AM
Unknown Object (File)
Jul 11 2026, 5:29 PM
Unknown Object (File)
May 22 2026, 4:35 AM
Unknown Object (File)
May 19 2026, 4:39 AM
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