Merge lp:~pitti/xubuntu-artwork/fix-345269 into lp:~xubuntu-art/xubuntu-artwork/trunk

Proposed by Martin Pitt
Status: Merged
Merged at revision: 13
Proposed branch: lp:~pitti/xubuntu-artwork/fix-345269
Merge into: lp:~xubuntu-art/xubuntu-artwork/trunk
Diff against target: None lines
To merge this branch: bzr merge lp:~pitti/xubuntu-artwork/fix-345269
To post a comment you must log in.
Revision history for this message
Martin Pitt (pitti) wrote :

Fix display corruption, see https://bugs.launchpad.net/ubuntu/jaunty/+source/xubuntu-artwork/+bug/345269

It's probably much less severe than the recent regression for ubuntu/kubuntu, but it should be fixed anyway. I already uploaded the package.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2009-03-18 20:22:54 +0000
+++ debian/changelog 2009-03-19 21:42:43 +0000
@@ -1,3 +1,12 @@
1xubuntu-artwork (0.23) jaunty; urgency=low
2
3 * usplash-theme-xubuntu.c, t_animate_step_16: Use the correct image's
4 width for calculating the number of pulsating steps. Previously, this
5 triggered integer, and thus buffer overflows, which caused screen
6 corruption and sometimes complete corruption of the VTs. (LP: #345269)
7
8 -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 19 Mar 2009 22:42:34 +0100
9
1xubuntu-artwork (0.22) jaunty; urgency=low10xubuntu-artwork (0.22) jaunty; urgency=low
211
3 * debian/control:12 * debian/control:
413
=== modified file 'usplash/usplash-theme-xubuntu.c'
--- usplash/usplash-theme-xubuntu.c 2009-03-15 14:03:15 +0000
+++ usplash/usplash-theme-xubuntu.c 2009-03-19 21:42:30 +0000
@@ -364,7 +364,7 @@
364 static int step_width = 2;364 static int step_width = 2;
365 static int num_steps = 0;365 static int num_steps = 0;
366 int x1;366 int x1;
367 num_steps = (pixmap_throbber_fore.width - pulse_width)/2;367 num_steps = (pixmap_throbber_fore_16.width - pulse_width)/2;
368368
369 if (pulsating) {369 if (pulsating) {
370 t_draw_progressbar_16(theme, 0);370 t_draw_progressbar_16(theme, 0);
@@ -372,7 +372,7 @@
372 if(pulsate_step < num_steps/2+1)372 if(pulsate_step < num_steps/2+1)
373 x1 = 2 * step_width * pulsate_step;373 x1 = 2 * step_width * pulsate_step;
374 else374 else
375 x1 = pixmap_throbber_fore.width - pulse_width - 2 * step_width * (pulsate_step - num_steps/2+1);375 x1 = pixmap_throbber_fore_16.width - pulse_width - 2 * step_width * (pulsate_step - num_steps/2+1);
376376
377 usplash_put_part(theme->progressbar_x + x1, theme->progressbar_y, pulse_width,377 usplash_put_part(theme->progressbar_x + x1, theme->progressbar_y, pulse_width,
378 pixmap_throbber_fore_16.height, &pixmap_throbber_fore_16, x1, 0);378 pixmap_throbber_fore_16.height, &pixmap_throbber_fore_16, x1, 0);

Subscribers

People subscribed via source and target branches