1
0
Fork 0
flightgear/src/Input
ehofman 5071415bd1 Melchior FRANZ:
input.cxx allocates memory for js->getNumAxes() axes and for jsCaps.wNumButtons
or MAX_JOYSTICK_BUTTONS buttons per joystick. But it doesn't check if some
xml config defines bindings for more axes/buttons, in which case it writes
to unallocated memory and causes crashes. This is a real world example:
sidewinder-force-feed-pro.xml defines 7 axes, but only newer versions of
this js do actually have that many. Older ones (-> gameport) don't. The patch
drops unused and unusable bindings.
2004-10-24 14:45:52 +00:00
..
.cvsignore -Removed .cvsignore from itself, since .cvsignore is now in the CVS 2001-12-12 04:15:23 +00:00
fgjs.cxx Add calls to jsInit() which is a noop on all platforms but Mac. 2004-05-04 19:02:19 +00:00
input.cxx Melchior FRANZ: 2004-10-24 14:45:52 +00:00
input.hxx On a reinit() subsystem event, reconfigure the joystick and other 2004-06-24 02:08:38 +00:00
js_demo.cxx Add calls to jsInit() which is a noop on all platforms but Mac. 2004-05-04 19:02:19 +00:00
jsinput.cxx Tweak #includes to use double quotes for local files not <> 2001-12-10 23:00:27 +00:00
jsinput.h Tweak #includes to use double quotes for local files not <> 2001-12-10 23:00:27 +00:00
jssuper.cxx Tweak #includes to use double quotes for local files not <> 2001-12-10 23:00:27 +00:00
jssuper.h Cygwin fixes contributed by Norman Vine. 2001-06-12 23:15:16 +00:00
Makefile.am Patches from Johan Walles: 2003-02-05 01:09:20 +00:00