Bug 10459 - mieqEnqueue() possibile array out of bound access.
Summary: mieqEnqueue() possibile array out of bound access.
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: All All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
Depends on:
Blocks: xorg-7.4
  Show dependency treegraph
Reported: 2007-03-29 05:39 UTC by Jie Luo
Modified: 2008-02-24 23:52 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

patch for this (1.18 KB, patch)
2007-03-29 05:43 UTC, Jie Luo
no flags Details | Splinter Review

Description Jie Luo 2007-03-29 05:39:20 UTC
When oldtail is 0, miEventQueue.events[oldtail - 1] is out of bound.
Comment 1 Jie Luo 2007-03-29 05:43:57 UTC
Created attachment 9351 [details] [review]
patch for this

This patch resolved the problem except the case that the first event enqueued has  type DeviceValuator.
Comment 2 Peter Hutterer 2008-02-24 23:52:22 UTC
this bug has been fixed a while ago. thanks for reporting!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.