HIDDevice::ParseReportSizes: check for valid descriptors

Addresses security concern:

HIDDevice::ParseReportSizes contains potential past-end-of-buffer reads
when presented with a malicious/corrupt device descriptor (++i and i +
1, i + 2 array indexes don't validate they're less than m_rptDesc.size).
1 file changed