You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was reading through dbgser.c and noticed that the for loop always uses Handles[0] instead of walking through the array of handles returned by LocateHandleBuffer.
//
// Loop through all the handles until one is successfully configured.
//
for (HandleIndex = 0; HandleIndex < HandleCount; HandleIndex += 1) {
//
// Get the serial I/O protocol.
//
EfiStatus = BopEfiHandleProtocol(Handles[0], <---- Should be Handles[HandlesIndex]
&BoEfiSerialIoProtocolGuid,
The text was updated successfully, but these errors were encountered:
In issue #149 on GitHub, jparris noticed that BopEfiGetDebugDevice was
trying to iterate over all the handles that responded to the
EfiSerialIoProtocolGuid, but was always calling HandleProtocol on the
first element in the handle array.
The fix is simply to call HandleProtocol using the iterator index.
Hi, I was reading through dbgser.c and noticed that the for loop always uses
Handles[0]
instead of walking through the array of handles returned by LocateHandleBuffer.The text was updated successfully, but these errors were encountered: