Reply to thread

Since some months now I have an IndexOutOfBuffer exception at media portal start which is due to a bug in VFD_Control.cs. (only logged no error is being displayed)


In the method FindTheHid() there is a problem which cause an exception because we try to read at DevicePathName[128] and this goes beyond the array limits.


Just replace line 215 in VFD_Control.cs :


  } while (!(_MyDeviceDetected | (MemberIndex == DevicePathName.Length + 1)));


with


  } while (!(_MyDeviceDetected | (MemberIndex == DevicePathName.Length)));



Fixed :)


Top Bottom