Parameter checking in BdsLibMatchDevicePaths() is wrong. This bug was found because...