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
F151038268: D25202.id72919.diff
Sun, Apr 5, 2:34 PM
F150990665: D25202.diff
Sun, Apr 5, 8:25 AM
Unknown Object (File)
Sun, Mar 8, 5:54 PM
Unknown Object (File)
Sat, Mar 7, 10:02 PM
Unknown Object (File)
Feb 8 2026, 10:31 AM
Unknown Object (File)
Feb 8 2026, 1:13 AM
Unknown Object (File)
Jan 31 2026, 12:45 PM
Unknown Object (File)
Dec 27 2025, 11:33 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