FS#11808 - synaptics: EVIOCGBIT Issue
Attached to Project:
Arch Linux
Opened by Tiago Pierezan Camargo (tcamargo) - Monday, 20 October 2008, 07:39 GMT
Last edited by Jan de Groot (JGC) - Monday, 20 October 2008, 07:41 GMT
Opened by Tiago Pierezan Camargo (tcamargo) - Monday, 20 October 2008, 07:39 GMT
Last edited by Jan de Groot (JGC) - Monday, 20 October 2008, 07:41 GMT
|
Details
Description:
The following messages appeared in my dmesg: evdev.c(EVIOCGBIT): Suspicious buffer size 511, limiting output to 64 bytes. See http://userweb.kernel.org/~dtor/eviocgbit-bug.html "The reason for this message is that some userspace programs specify KEY_MAX as the length argument of EVIOCGBIT ioctl. Unfortunately KEY_MAX specifies the highest keycode number whereas EVIOCGBIT expects length of the buffer in bytes. As a result the kernel returns much more data than the program expected smashing its stack and causing the program to crash. To avoid breakage a workaround was put in the kernel to return no more than 64 bytes of data when userspace issues EVIOGCBIT(EV_KEY, KEY_MAX) and to log the message that led you here." [1] [1] http://userweb.kernel.org/~dtor/eviocgbit-bug.html. Upstream git repository has already been patched. Additional info: * package version: 0.14.6.99-2 Steps to reproduce: * Reboot |
This task depends upon
Closed by Jan de Groot (JGC)
Monday, 20 October 2008, 07:41 GMT
Reason for closing: Duplicate
Additional comments about closing: See bug 11798
Monday, 20 October 2008, 07:41 GMT
Reason for closing: Duplicate
Additional comments about closing: See