Bug 1061466 - out-of-bounds access in XSetDeviceButtonMapping
Summary: out-of-bounds access in XSetDeviceButtonMapping
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-server
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Peter Hutterer
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: 1061541 1061543
TreeView+ depends on / blocked
Reported: 2014-02-04 21:38 UTC by Peter Hutterer
Modified: 2014-02-07 03:05 UTC (History)
1 user (show)

Fixed In Version: xorg-x11-server-1.14.4-6.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1061541 1061543 (view as bug list)
Last Closed: 2014-02-07 03:05:29 UTC
Type: Bug

Attachments (Terms of Use)

Description Peter Hutterer 2014-02-04 21:38:59 UTC
Description of problem:
XSetDeviceButtonMapping takes a user-specified map of button mappings (with a user-specified length). The server checks if each button is down before applying a mapping but it erroneously treats each button number as an array index instead of a bitflag, causing out-of-bounds access on the fixed-size array.

Version-Release number of selected component (if applicable):

Comment 1 Fedora Update System 2014-02-04 23:29:02 UTC
xorg-x11-server-1.14.4-6.fc20 has been submitted as an update for Fedora 20.

Comment 2 Fedora Update System 2014-02-06 04:03:47 UTC
Package xorg-x11-server-1.14.4-6.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing xorg-x11-server-1.14.4-6.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2014-02-07 03:05:29 UTC
xorg-x11-server-1.14.4-6.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.