[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 07:47:21 CST 2017


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

--- Comment #7 from Aric Stewart <aric at codeweavers.com> ---
(In reply to Samuele from comment #6)
> in dlls/winebus.sys/bus_udev.c line 354
>     if (length + 1 > sizeof(feature_buffer))
> should be 
>     if (length + 1 > sizeof(buffer))
> 
> (?)
> Device get recognized after this change but it cannot read any card even if
> no error is displayed. Running with WINEDEBUG=+hid I don't see anything
> strange.

Nice find! Please submit a patch and I will sign off. 


It may be helpful to have +hid_minidriver, +plugplay  to see if that shows more
of what is going on. 

-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