Fixed EIO_List to prevent crash when a device has no COM port (#2325)

This commit is contained in:
caffeinatedbits 2021-09-29 14:22:40 -04:00 • committed by GitHub
parent 494fd0f097
commit 3ca00ceeed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -798,6 +798,7 @@ void EIO_List(uv_work_t* req) {
char serialNumber[MAX_REGISTRY_KEY_SIZE];
bool isCom;
while (true) {
isCom = false;
pnpId = NULL;
vendorId = NULL;
productId = NULL;