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
F132300640: D25202.id72919.diff
Wed, Oct 15, 4:32 PM
F132241255: D25202.id72919.diff
Wed, Oct 15, 2:51 AM
Unknown Object (File)
Sun, Oct 12, 8:34 AM
Unknown Object (File)
Thu, Sep 18, 7:11 AM
Unknown Object (File)
Sep 15 2025, 3:15 AM
Unknown Object (File)
Aug 26 2025, 5:42 PM
Unknown Object (File)
Aug 21 2025, 5:14 AM
Unknown Object (File)
Aug 18 2025, 4:55 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