Activity log for bug #730488

Date Who What changed Old value New value Message
2011-03-07 08:27:11 Eduard Hasenleithner bug added bug
2011-03-07 08:27:11 Eduard Hasenleithner attachment added Patch from the xorg repository https://bugs.launchpad.net/bugs/730488/+attachment/1891113/+files/xf86-scale-high-resolution.diff
2011-03-07 12:02:24 bugbot affects xorg (Ubuntu) xorg-server (Ubuntu)
2011-03-07 14:30:40 bugbot tags lucid
2011-03-07 17:38:07 Brian Murray bug added subscriber Ubuntu Review Team
2011-03-07 17:38:09 Brian Murray tags lucid lucid patch
2011-03-07 21:06:40 Bryce Harrington bug added subscriber Ubuntu Sponsors Team
2011-03-07 21:11:59 Bryce Harrington xorg-server (Ubuntu): status New Confirmed
2011-03-07 22:47:55 Eduard Hasenleithner attachment added debdiff from applied patch https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/730488/+attachment/1892854/+files/xorg-server_1.7.6-2ubuntu7.5.debdiff
2011-03-08 02:35:28 Bryce Harrington description Binary package hint: xorg The xf86ScaleAxis function is used to scale x and y axis values of input devices between different resolutions. Due to internal integer overflow, the acceptable value range for its arguments are limited below their type (signed 32bit integer). This imposes a problem for high resolution devices, like the wacom Intuos 4 L, which have a total horizontal resolution of 65024. Example: when doing a scaling with a range of more than 46340 (Sxhigh-Sxlow), the integer X will wrap into negative values, and truncated to 0 at the end. Among other devices, this problem affects wacom Intuos 4 L and XL tablets when compiling the xf86-input-wacom driver version 0.10.9 and above. Previous versions work, because they don't use the xf86ScaleAxis function. With current xorg releases this problem does not happen either, because a upstream patch (http://lists.x.org/archives/xorg-devel/2010-April/007333.html) already extends the acceptable value range. A solution would be to include this patch into 10.04, because there is still quite a time till the next LTS. If there is a chance for getting this patch included into 10.04 I'm willing to make a patch specific for the current xorg-server-1.7.6 package and test it. [Impact] On certain higher resolution touchpads, an integer overflow can occur since their range exceeds the maximum int value. This issue can crop up on Lucid if the user self-compiles -wacom or uses a backport package from a PPA. It does not affect the shipped version of -wacom in Lucid. [Development Solution] This was fixed upstream by using a 64-bit integer rather than 32-bit to extend the range. This fix is included in the upstream version of xorg-server we are shipping in natty. [Stable Solution] A backport of the fix has been made for Lucid. https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/730488/+attachment/1891113/+files/xf86-scale-high-resolution.diff [Test Case] See below (requires affected hardware and rebuilding -wacom on Lucid) [Regression Potential] None. No APIs are changed, and increase of the data type has no other code effects. [Original Report] The xf86ScaleAxis function is used to scale x and y axis values of input devices between different resolutions. Due to internal integer overflow, the acceptable value range for its arguments are limited below their type (signed 32bit integer). This imposes a problem for high resolution devices, like the wacom Intuos 4 L, which have a total horizontal resolution of 65024. Example: when doing a scaling with a range of more than 46340 (Sxhigh-Sxlow), the integer X will wrap into negative values, and truncated to 0 at the end. Among other devices, this problem affects wacom Intuos 4 L and XL tablets when compiling the xf86-input-wacom driver version 0.10.9 and above. Previous versions work, because they don't use the xf86ScaleAxis function. With current xorg releases this problem does not happen either, because a upstream patch (http://lists.x.org/archives/xorg-devel/2010-April/007333.html) already extends the acceptable value range. A solution would be to include this patch into 10.04, because there is still quite a time till the next LTS. If there is a chance for getting this patch included into 10.04 I'm willing to make a patch specific for the current xorg-server-1.7.6 package and test it.
2011-03-08 02:35:53 Bryce Harrington bug added subscriber Ubuntu Stable Release Updates Team
2011-03-08 02:36:27 Bryce Harrington nominated for series Ubuntu Lucid
2011-03-08 02:36:27 Bryce Harrington bug task added xorg-server (Ubuntu Lucid)
2011-03-08 02:36:27 Bryce Harrington nominated for series Ubuntu Natty
2011-03-08 02:36:27 Bryce Harrington bug task added xorg-server (Ubuntu Natty)
2011-03-08 02:36:39 Bryce Harrington xorg-server (Ubuntu Natty): status Confirmed Fix Released
2011-03-08 02:36:42 Bryce Harrington xorg-server (Ubuntu Lucid): status New Fix Committed
2011-03-08 02:36:47 Bryce Harrington xorg-server (Ubuntu Lucid): importance Undecided Medium
2011-03-08 02:36:51 Bryce Harrington xorg-server (Ubuntu Natty): importance Undecided High
2011-03-08 08:19:23 Martin Pitt bug added subscriber SRU Verification
2011-03-08 08:19:27 Martin Pitt tags lucid patch lucid patch verification-needed
2011-03-08 16:04:24 Benjamin Drung removed subscriber Ubuntu Sponsors Team
2011-03-08 22:37:29 Launchpad Janitor branch linked lp:ubuntu/lucid-proposed/xorg-server
2011-04-21 09:48:34 madbiologist tags lucid patch verification-needed lucid patch
2011-04-21 09:49:42 madbiologist tags lucid patch lucid patch verification-done
2011-04-26 06:58:53 Launchpad Janitor xorg-server (Ubuntu Lucid): status Fix Committed Fix Released
2011-04-28 19:29:19 Yvon TANGUY bug added subscriber Yvon TANGUY
2011-05-25 15:05:13 Cedric attachment added Xorg.0.log.old https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/730488/+attachment/2142371/+files/Xorg.0.log.old