[Bug 1684] New: JoystickAImpl_GetDeviceState len 272 is not sizeof DIJOYSTATE
Wine Bugs
wine-bugs at winehq.com
Sat Aug 30 04:41:21 CDT 2003
http://bugs.winehq.com/show_bug.cgi?id=1684
Summary: JoystickAImpl_GetDeviceState len 272 is not sizeof
DIJOYSTATE
Product: Wine
Version: 20030508
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-misc
AssignedTo: wine-bugs at winehq.com
ReportedBy: thogard at abnormal.com
With a logitech flightstick, this error happens with any program that tries to
access the joystick.
JoystickAImpl_GetDeviceState len is passed 272
but the size of DIJOYSTATE is 80
It appears that DIJOYSTATE2 size is 272.
Also it appears that the code below that (line605 of dinput/joystick/linux.c)
and line 914 if dinput/joystic/linuxinput.c both bay have buffer overflows in
their memcopyes since its uses the length passed to it,not the sizeof of the
structure.
--
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list