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, Oct 26, 10:49 PM
Unknown Object (File)
Sun, Oct 26, 1:20 AM
Unknown Object (File)
Sun, Oct 26, 1:20 AM
Unknown Object (File)
Sun, Oct 26, 1:20 AM
Unknown Object (File)
Sat, Oct 25, 6:55 PM
Unknown Object (File)
Sat, Oct 18, 11:46 PM
Unknown Object (File)
Wed, Oct 15, 4:32 PM
Unknown Object (File)
Wed, Oct 15, 2:51 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