mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-09-13 13:47:02 -04:00
hid_get_report_descriptor returns -1 on failure and the length was stored unsigned, so the descriptor walk ran past the end of the stack buffer. Windows reconstructs the descriptor from preparsed data and can fail where Linux returns the kernel's copy. A failed read now leaves the device with no lamps, the same as a descriptor with missing reports.