The ASSERT(Index > 0) in DriverQueryId() in XENFILT appears to have started
to fail in Windows 10 2004. It is bogus as it will fail if an underlying
driver passes back an empty buffer from either BusQueryHardwareIDs or
BusQueryCompatibleIDs, yet DriverQueryId() will cope perfectly will in these
circimstances, passing back en empty string to its caller. This patch simply
removes the ASSERT().
Signed-off-by: Paul Durrant <pdurrant@amazon.com>
Index += Length + 1;
}
- ASSERT(Index > 0);
Size = (Index + 1) * sizeof (CHAR);