HomeFreeBSD

efibootmgr: fix potential endless loop with -v

Description

efibootmgr: fix potential endless loop with -v

I observed the problem on a system with fairly old and, apparently,
buggy EFI implementation. A list of boot devices had an invalid
trailing entry. efidp_size() for that entry returned zero, which means
that the code got stuck looping on that entry.

Details

Provenance
avgAuthored on Oct 25 2022, 9:10 PM
Parents
rGc053a56c0f5d: hdaa_pcmchannel_setup: do not advertise AC3 8+0
Branches
Unknown
Tags
Unknown