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, Sep 18, 3:37 AM
Unknown Object (File)
Sun, Sep 13, 7:42 AM
Unknown Object (File)
Sun, Sep 13, 1:32 AM
Unknown Object (File)
Sun, Sep 6, 7:15 AM
Unknown Object (File)
Sat, Sep 5, 1:51 AM
Unknown Object (File)
Sat, Sep 5, 1:17 AM
Unknown Object (File)
Fri, Sep 4, 3:28 PM
Unknown Object (File)
Fri, Sep 4, 10:11 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable