[Plib-devel] Linux joystick crash and fix.
Brought to you by:
sjbaker
From: Mathias <Mat...@gm...> - 2005-02-21 06:45:24
|
Hi, If a joystick has more than _JS_MAX_AXES axes, the JSIOCGCORR ioctl will=20 crash. Attached is a fix to that by making the data dynamic allocated with the=20 correct size. Please apply! Greetings Mathias =2D-=20 Mathias Fr=C3=B6hlich, email: Mat...@gm... |