diff options
| author | ebadger <[email protected]> | 2020-08-24 13:38:06 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-08-24 13:38:06 -0700 |
| commit | aaeca58c5e7b67740a603a3150db225670b42bb6 (patch) | |
| tree | 8df3ce3f2b18ec18b85d740878acc60685c40fb3 /general/WinHEC 2017 Lab/Toaster Support App/App/CustomCapability/cpp/SampleConfiguration.cpp | |
| parent | dbadff83eed662c244d5a6fae48baa840fb543b8 (diff) | |
fix bug in PackReport (#534)186186
Data is pointer to array of HID_DATA structure.
Function advances pointer as it packs the report buffer.
At end of process the function attempts to go back through the buffer and update the IsDataSet member.
What it's actually doing is writing unexpected memory locations.
Fix is to store the head of the array and move back before walking again to set the bits.
Diffstat (limited to 'general/WinHEC 2017 Lab/Toaster Support App/App/CustomCapability/cpp/SampleConfiguration.cpp')
0 files changed, 0 insertions, 0 deletions
