Attached is a quick patch that inspects that valuator accesses do not go
out of bounds. I changed only the motion and button accesses and not the
Wacom one. The reason being that it seems to loop over all data so it
should be valid.

I have not tested the patch in any way, so it might not even compile. I
have not tried replacing system Qt ever so I reckon someone with more
experience ought to try it first.

As far as the sporadical  thing goes, the situation for me is the
reverse: I don't get any errors for pressure but I do get it for tilt.
Since my tablet does not seem to support tilt, its values should always
be zero.

There's also the case that I get different behavior on evemu-traces than
the real tablet. Xorg log does say I am using Wacom input module.

** Patch added: "valuator-range.diff"
   
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/799202/+attachment/2425854/+files/valuator-range.diff

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/799202

Title:
  wacom stylus jumps with latest xserver-xorg-core

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/799202/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to