[Bug 2738] New: XGrabKey allows several grabs on the same key by
the same client.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Mar 15 05:16:12 PST 2005
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=2738
Summary: XGrabKey allows several grabs on the same key by the
same client.
Product: xorg
Version: 6.8.0
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Server/general
AssignedTo: xorg-bugzilla-noise at freedesktop.org
ReportedBy: torso690 at student.liu.se
I think I have traced this to the AddPassiveGrabToList function in
xc/programs/Xserver/dix/grabs.c. This function allows the same client to succeed
with multiple grabs on the same key if the requests are made from the same client.
When using a program that carelessly calls XGrabKey several times, the list of
grabs increases. After a while, this makes the X server use 100% CPU as well as
being unresponsive for several minutes.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the xorg-bugzilla-noise
mailing list