Author: pabs
Date: 2011-02-21 08:26:53 +0000 (Mon, 21 Feb 2011)
New Revision: 11821

Added:
   packages/trunk/jugglemaster/debian/patches/fix-memory-zeroing.patch
Modified:
   packages/trunk/jugglemaster/debian/changelog
   packages/trunk/jugglemaster/debian/patches/series
Log:
Fix memory zeroing error (LP: #479173)

Modified: packages/trunk/jugglemaster/debian/changelog
===================================================================
--- packages/trunk/jugglemaster/debian/changelog        2011-02-21 08:17:41 UTC 
(rev 11820)
+++ packages/trunk/jugglemaster/debian/changelog        2011-02-21 08:26:53 UTC 
(rev 11821)
@@ -10,6 +10,7 @@
   * Fix and enable the ffmpeg support (Closes: #597831)
   * (C) is not recognised, use Copyright instead
   * Fix printing text in images and videos
+  * Fix memory zeroing error (LP: #479173)
 
  -- Paul Wise <[email protected]>  Sat, 19 Feb 2011 10:22:44 +0800
 

Added: packages/trunk/jugglemaster/debian/patches/fix-memory-zeroing.patch
===================================================================
--- packages/trunk/jugglemaster/debian/patches/fix-memory-zeroing.patch         
                (rev 0)
+++ packages/trunk/jugglemaster/debian/patches/fix-memory-zeroing.patch 
2011-02-21 08:26:53 UTC (rev 11821)
@@ -0,0 +1,14 @@
+Author: Paul Wise <[email protected]>
+Description: zero memory correctly in aajm
+Bug-Ubuntu: http://bugs.launchpad.net/bugs/479173
+--- a/src/aajm/aajm.cpp
++++ b/src/aajm/aajm.cpp
+@@ -242,7 +242,7 @@
+                                       "%i: %s",i+1,possible_styles[i]);
+                       }
+                       aa_flush(context);
+-                      memset(newstyle,0,JML_MAX_SITELEN);
++                      memset(newstyle,0,sizeof(newstyle));
+                       aa_edit(context, 3, 5+i, 2, newstyle, 2);
+                       if(newstyle[0]!=0) {
+                               newstyle_index=atoi(newstyle)-1;

Modified: packages/trunk/jugglemaster/debian/patches/series
===================================================================
--- packages/trunk/jugglemaster/debian/patches/series   2011-02-21 08:17:41 UTC 
(rev 11820)
+++ packages/trunk/jugglemaster/debian/patches/series   2011-02-21 08:26:53 UTC 
(rev 11821)
@@ -6,3 +6,4 @@
 jmlib_style_parsing.patch
 wx26_trans_ffmpeg.patch
 fix-style-rendering.patch
+fix-memory-zeroing.patch


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to