Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
The jstest utility will segfault when attempting to retrieve joystick button mappings from the js interface when they have not been previously defined, which is probably the case for just about anyone calling jstest. This is due to not checking the result of two ioctl calls and using the result to index into a char *[] array of button/axis names.
Created an attachment (id=86386) [edit] patch to fix segfault my proposed patch to fix this segfault. I can also confirm this works well on x86_64 (~amd64)
the patch works fine here my on x86 box. :)
thanks, patch added to joystick-20060731