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.
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.