libXi: Changes to 'master'
Peter Hutterer
whot at kemper.freedesktop.org
Tue Feb 22 21:03:23 PST 2011
include/X11/extensions/XInput2.h | 2 +-
man/XIQueryPointer.txt | 3 +++
src/XExtInt.c | 1 +
src/XIGrabDevice.c | 6 +++---
4 files changed, 8 insertions(+), 4 deletions(-)
New commits:
commit 536bd44c513ede7e61e112c82a80fb9197f261f7
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Wed Feb 23 10:53:21 2011 +1000
Fix typo in comment.
Reported-by: Julien Cristau <jcristau at debian.org>
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
commit 4ca8be9f3ffbafe9515e50d784f4ff83f6993be0
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Wed Feb 23 09:30:59 2011 +1000
Fix invalid read in XIGrabDevice.
Miscalculation of length caused Data() to memcpy too many bytes.
==2865== Invalid read of size 1
==2865== at 0x4A07480: memcpy (mc_replace_strmem.c:602)
==2865== by 0x544271E: XIGrabDevice (XIGrabDevice.c:69)
==2865== by 0x400B0A: main (gnome642481.c:56)
==2865== Address 0x642f614 is 0 bytes after a block of size 20 alloc'd
==2865== at 0x4A04896: calloc (vg_replace_malloc.c:418)
==2865== by 0x54425D3: XIGrabDevice (XIGrabDevice.c:65)
==2865== by 0x400B0A: main (gnome642481.c:56)
SetReqLen() expects 4-byte units.
Data() expects bytes.
Gnome Bug 642481 <https://bugzilla.gnome.org/show_bug.cgi?id=642481>
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
commit 4db3db2b38d8eb9024170633d3bf7c5050272dd0
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Mon Feb 14 08:48:07 2011 +1000
Mark sourceid in Raw events as bug and force to 0..
The protocol does not provide a source ID for raw events, so this value is
always 0. It shouldn't really be there, but the past is so hard to change.
Reported-by: Mark Dokter <dokter at icg.tugraz.at>
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
commit d79a9b174a79e89ca2507a61f2e12af25102313f
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Tue Feb 1 07:36:08 2011 +1000
man: note that callers of XIQueryPointer must free the button mask.
buttons_return->mask is allocated by the library and must be freed by the
caller to avoid leaking.
Reported-by: Matthias Clasen <mclasen at redhat.com>
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
More information about the xorg-commit
mailing list