Hello community, here is the log from the commit of package xorg-x11-driver-input checked in at Fri Nov 17 19:06:47 CET 2006. -------- --- xorg-x11-driver-input/xorg-x11-driver-input.changes 2006-10-26 12:52:19.000000000 +0200 +++ /mounts/work_src_done/STABLE/xorg-x11-driver-input/xorg-x11-driver-input.changes 2006-11-17 18:13:08.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Nov 17 18:11:52 CET 2006 - sndirsch@suse.de + +- mouse-readinput.diff: + * fixed mouse driver crash (Bug #219946) + +------------------------------------------------------------------- New: ---- mouse-readinput.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xorg-x11-driver-input.spec ++++++ --- /var/tmp/diff_new_pack.EYNe5b/_old 2006-11-17 19:06:37.000000000 +0100 +++ /var/tmp/diff_new_pack.EYNe5b/_new 2006-11-17 19:06:37.000000000 +0100 @@ -15,7 +15,7 @@ BuildRequires: Mesa-devel pkgconfig xorg-x11-proto-devel xorg-x11-server-sdk Url: http://xorg.freedesktop.org/ Version: 7.2 -Release: 6 +Release: 15 License: X11/MIT BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: System/X11/Servers/XF86_4 @@ -54,6 +54,7 @@ Patch3: p_mouse_misc.diff Patch4: p_kbd.diff Patch5: evdev-overflow.diff +Patch6: mouse-readinput.diff %description @@ -73,6 +74,7 @@ popd pushd xf86-input-mouse-*/src %patch3 -p6 +%patch6 -p2 popd pushd xf86-input-keyboard-*/src %patch4 -p6 @@ -118,6 +120,9 @@ %{_mandir}/man4x/* %changelog -n xorg-x11-driver-input +* Fri Nov 17 2006 - sndirsch@suse.de +- mouse-readinput.diff: + * fixed mouse driver crash (Bug #219946) * Thu Oct 26 2006 - sndirsch@suse.de - evdev-overflow.diff: * fixed possible buffer overflow ++++++ mouse-readinput.diff ++++++ diff --git a/src/mouse.c b/src/mouse.c index a68e886..aea0e55 100644 --- a/src/mouse.c +++ b/src/mouse.c @@ -1166,6 +1166,9 @@ MouseReadInput(InputInfoPtr pInfo) pBufP = pMse->protoBufTail; pBuf = pMse->protoBuf; + if (pInfo->fd == -1) + return; + /* * Set blocking to -1 on the first call because we know there is data to * read. Xisb automatically clears it after one successful read so that ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org