Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 97142 Details for
Bug 147794
crash when using xf86-input-evdev driver
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
xorg-input-evedev-fix.patch
crasher-fix.patch (text/plain), 1.05 KB, created by
Priit Laes (IRC: plaes)
on 2006-09-16 04:13:51 UTC
(
hide
)
Description:
xorg-input-evedev-fix.patch
Filename:
MIME Type:
Creator:
Priit Laes (IRC: plaes)
Created:
2006-09-16 04:13:51 UTC
Size:
1.05 KB
patch
obsolete
>From: Adam Jackson <ajax@nwnk.net> >Date: Fri, 2 Jun 2006 19:39:52 +0000 (+0000) >Subject: Fix an obvious bogon to avoid crashing on absolute axis setup. >X-Git-Tag: xf86-video-impact-0_2_0 >X-Git-Url: http://gitweb.freedesktop.org/?p=xorg/driver/xf86-input-evdev.git;a=commitdiff;h=57a7f2844108072bf03c9f82baf92e3447d18fbe > >Fix an obvious bogon to avoid crashing on absolute axis setup. >--- > >--- a/ChangeLog >+++ b/ChangeLog >@@ -1,3 +1,8 @@ >+2006-06-02 Adam Jackson <ajax@freedesktop.org> >+ >+ * src/evdev_axes.c: >+ Fix an obvious bogon to avoid crashing on absolute axis setup. >+ > 2006-05-15 Zephaniah E. Hull,,, <warp@aehallh.com> > > * src/evdev.h: >--- a/src/evdev_axes.c >+++ b/src/evdev_axes.c >@@ -385,7 +385,7 @@ EvdevAxisAbsNew(InputInfoPtr pInfo) > k = xf86SetIntOption(pInfo->options, "AbsoluteScreen", 0); > else > k = xf86SetIntOption(pInfo->options, "AbsoluteScreen", -1); >- if (k < screenInfo.numScreens) { >+ if (k < screenInfo.numScreens && k >= 0) { > state->abs->screen = k; > xf86Msg(X_CONFIG, "%s: AbsoluteScreen: %d.\n", pInfo->name, k); > } else {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 147794
: 97142