~ubuntu-branches/ubuntu/hardy/compiz/hardy-proposed

« back to all changes in this revision

Viewing changes to debian/patches/043-blur-plugin-fix-from-git.patch

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2008-04-14 15:15:39 UTC
  • mfrom: (0.78.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080414151539-pxia9bh0mro127jm
Tags: 1:0.7.4-0ubuntu5
* debian/patches/043-blur-plugin-fix-from-git.patch:
  - cherry pick git commit bb8317d6e18a1c2da587f3313fadae42715e04a1
    to fix buffer overflows with gaussian shader radius bigger 
    than 12.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From: Dennis Kasprzyk <onestone@opencompositing.org>
 
2
Date: Tue, 8 Apr 2008 15:16:50 +0000 (+0200)
 
3
Subject: Increased first pass shader buffer, to fix buffer overflows with gaussian shader ...
 
4
X-Git-Url: http://gitweb.freedesktop.org/?p=xorg/app/compiz.git;a=commitdiff;h=bb8317d6e18a1c2da587f3313fadae42715e04a1
 
5
 
 
6
Increased first pass shader buffer, to fix buffer overflows with gaussian shader radius bigger than 12.
 
7
---
 
8
 
 
9
--- a/plugins/blur.c
 
10
+++ b/plugins/blur.c
 
11
@@ -1441,7 +1441,7 @@ loadFragmentProgram (CompScreen *s,
 
12
 static Bool
 
13
 loadFilterProgram (CompScreen *s, int numITC)
 
14
 {
 
15
-    char  buffer[2048];
 
16
+    char  buffer[4096];
 
17
     char  *targetString;
 
18
     char  *str = buffer;
 
19
     int   i, j;