Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libuuu: hidreport: fix read out-of-bound access during write
Since commit 3f512a6 ("libuuu: hidreport: fix write size for Windows") it may happen that the memcpy() does read outside the provided memory. Fix this by moving the Windows HIDAPI workaround behind the memcpy(), here no overflows can happen since the m_out_buff size is at least m_size_out. Signed-off-by: Marco Felsch <[email protected]>
- Loading branch information