https://bugs.winehq.org/show_bug.cgi?id=51828
--- Comment #2 from Rémi Bernon rbernon@codeweavers.com --- Thanks, I sent some updated patches to fix this too (https://source.winehq.org/patches/data/216075, https://source.winehq.org/patches/data/216074, https://source.winehq.org/patches/data/216076).
Note that the unit tests show that reports *must* be dropped when their size is invalid.
But, like for the reports coming from user-space, it most likely checks that the report length matches the declaration for the report id, which is what I implemented.