Fix oob read in msusb_msconfig_read
@@ -317,7 +317,7 @@ MSUSB_CONFIG_DESCRIPTOR* msusb_msconfig_read(wStream* s, UINT32 NumInterfaces)
MSUSB_CONFIG_DESCRIPTOR* MsConfig;
BYTE lenConfiguration, typeConfiguration;
- if (Stream_GetRemainingCapacity(s) < 6 + NumInterfaces * 2)
+ if (Stream_GetRemainingCapacity(s) < 6ULL + NumInterfaces * 2ULL)
return NULL;
MsConfig = msusb_msconfig_new();
