Bug 20919 - Kdrive tslib driver crash
Summary: Kdrive tslib driver crash
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: * Other (show other bugs)
Version: git
Hardware: All All
: high critical
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2009-03-28 03:17 UTC by David Jander
Modified: 2009-04-08 23:56 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.