Bug 20919

Summary: Kdrive tslib driver crash
Product: xorg Reporter: David Jander <david>
Component: * OtherAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: critical    
Priority: high Keywords: patch
Version: git   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description David Jander 2009-03-28 03:17:33 UTC
Xserver from git sources compiled with:

./autogen.sh --prefix=/usr/local --enable-builtin-fonts --disable-aiglx \
--disable-composite --disable-glx --disable-xinerama --disable-xace \
--disable-xselinux --disable-xcsecurity --enable-tslib --enable-kdrive \
--enable-xfbdev --disable-xsdl --disable-dri --disable-dri2 --disable-xorg \
--disable-xfree86-utils

When started with the option '-mouse tslib' the tslib-driver opens the default device "/dev/input/touchscreen0", but the device path-name points to a constant string which is later freed with xfree ---> Segfault!

Attached is a patch to fix this problem.
Comment 1 David Jander 2009-04-08 23:56:14 UTC
Fixed by commit 5f769b73441cf29c05a05c728ab81bdde1fc00b6:

http://cgit.freedesktop.org/xorg/xserver/commit/?id=5f769b73441cf29c05a05c728ab81bdde1fc00b6

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.