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)
Fri, Apr 24, 2:37 PM
Unknown Object (File)
Thu, Apr 23, 10:51 PM
Unknown Object (File)
Fri, Apr 17, 8:54 PM
Unknown Object (File)
Fri, Apr 17, 12:43 PM
Unknown Object (File)
Fri, Apr 17, 5:30 AM
Unknown Object (File)
Thu, Apr 16, 1:04 PM
Unknown Object (File)
Thu, Apr 9, 7:05 PM
Unknown Object (File)
Tue, Apr 7, 3:03 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