Author: jseidel-guest
Date: 2007-12-17 09:39:42 +0000 (Mon, 17 Dec 2007)
New Revision: 4985

Added:
   packages/trunk/hex-a-hop/debian/patches/segfault_443822.patch
Modified:
   packages/trunk/hex-a-hop/debian/changelog
   packages/trunk/hex-a-hop/debian/patches/series
Log:
Fixed a crash which especially happened once lasers are involved.
Thanks Gerfried Fuchs <[EMAIL PROTECTED]> for the report and Bas Wijnen
<[EMAIL PROTECTED]> and Roland Clobus <[EMAIL PROTECTED]> for
analysing. Closes: #443822


Modified: packages/trunk/hex-a-hop/debian/changelog
===================================================================
--- packages/trunk/hex-a-hop/debian/changelog   2007-12-17 02:22:24 UTC (rev 
4984)
+++ packages/trunk/hex-a-hop/debian/changelog   2007-12-17 09:39:42 UTC (rev 
4985)
@@ -7,8 +7,12 @@
     <[EMAIL PROTECTED]>. Closes: #456000
   * Drop XS- prefix from XS-Vcs-Svn and XS-Vcs-Browser fields in
     debian/control.
+  * Fixed a crash which especially happened once lasers are involved.
+    Thanks Gerfried Fuchs <[EMAIL PROTECTED]> for the report and Bas Wijnen
+    <[EMAIL PROTECTED]> and Roland Clobus <[EMAIL PROTECTED]> for
+    analysing. Closes: #443822
 
- -- Jens Seidel <[EMAIL PROTECTED]>  Fri, 14 Dec 2007 16:30:00 +0200
+ -- Jens Seidel <[EMAIL PROTECTED]>  Mon, 17 Dec 2007 16:30:00 +0200
 
 hex-a-hop (0.0.20070315-6) unstable; urgency=low
 

Added: packages/trunk/hex-a-hop/debian/patches/segfault_443822.patch
===================================================================
--- packages/trunk/hex-a-hop/debian/patches/segfault_443822.patch               
                (rev 0)
+++ packages/trunk/hex-a-hop/debian/patches/segfault_443822.patch       
2007-12-17 09:39:42 UTC (rev 4985)
@@ -0,0 +1,15 @@
+# Copyright (C) 2007  Roland Clobus <[EMAIL PROTECTED]>
+
+Index: hex-a-hop/hex_puzzzle.cpp
+===================================================================
+--- hex-a-hop.orig/hex_puzzzle.cpp     2007-12-17 10:33:15.000000000 +0100
++++ hex-a-hop/hex_puzzzle.cpp  2007-12-17 10:33:15.000000000 +0100
+@@ -602,6 +602,8 @@
+               {
+                       while (numStages > 0 && time[numStages-1] >= t)
+                               numStages--;
++                      if (currentStage > 0 && currentStage >= numStages)
++                              currentStage = numStages - 1;
+               }
+       }
+       void Wipe()

Modified: packages/trunk/hex-a-hop/debian/patches/series
===================================================================
--- packages/trunk/hex-a-hop/debian/patches/series      2007-12-17 02:22:24 UTC 
(rev 4984)
+++ packages/trunk/hex-a-hop/debian/patches/series      2007-12-17 09:39:42 UTC 
(rev 4985)
@@ -13,3 +13,4 @@
 misc_errors.patch
 reduce_cpu_usage.patch
 mouse-wheel-support.patch
+segfault_443822.patch


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

Reply via email to