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)
Thu, Apr 4, 4:07 PM
Unknown Object (File)
Feb 23 2024, 3:26 PM
Unknown Object (File)
Feb 23 2024, 3:26 PM
Unknown Object (File)
Feb 23 2024, 3:22 PM
Unknown Object (File)
Feb 23 2024, 2:20 PM
Unknown Object (File)
Jan 24 2024, 10:16 AM
Unknown Object (File)
Dec 20 2023, 7:17 AM
Unknown Object (File)
Oct 30 2023, 2:32 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

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