[Bug 42225] MSRX v2015a (magnetic stripe reader app) crashed on plugplay: hidraw_set_feature_report Output feature buffer too small

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jan 17 16:04:02 CST 2017


https://bugs.winehq.org/show_bug.cgi?id=42225

--- Comment #14 from Aric Stewart <aric at codeweavers.com> ---
On a business trip right now so not as many cycles 
So Just a few random thoughts...

For the feature report, it has a report ID of 0, which is not a case I have
tested. Because of this we have code that strips the leading zero in
hidclass.sus/device.c: HID_set_to_device  and then re-adds the leading zero in
winebus.sys/bus_udev.c:hidraw_set_feature_report

You could check to make sure the report data in question actually is leading
with a zero and then we add that zero back. 

Then maybe look at the report coming back from the device in
winebus.sys/main.c:process_hid_report  and see what data is coming back. does
that data change when you swipe something. 

-aric

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list