[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 24 09:09:43 CST 2017


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

--- Comment #16 from Samuele <sguerrini97 at gmail.com> ---
(In reply to Aric Stewart from comment #15)
> Any chance to look deeper into this?
> 
> -aric

Yeah I would love to be able to use this software, I'm willing to test sorry if
I didn't reply sooner. I'm not sure I understood correctly what you were asking
but I did this to print first and second byte of the buffer before and after
the code that strips the leading zero and adds it back. Data seems to match:

trace:hid_report:HID_set_to_device [FIRST] Leading 0,nextchar: 0,194
trace:hid_report:hidraw_set_feature_report [SECOND] Leading 0,nextchar: 0,194

Then in process_hid_report I've added code to print the report buffer and I get
different reports depending on which card I swipe. It's hard to see if the data
is correct because it uses magstripe encoding and I need to convert the bytes
to binary data and check it manually.

-- 
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