[blockattack] 42/88: Fixing segfault caused due to uninitialized variable.
Markus Koschany
apo-guest at moszumanska.debian.org
Wed Jan 6 11:53:27 UTC 2016
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository blockattack.
commit 6e44930d42760e18ae8ba9a3686e9e4d6aa71af9
Author: Jordà Polo <jorda at ettin.org>
Date: Sat Sep 29 21:24:49 2007 +0000
Fixing segfault caused due to uninitialized variable.
---
debian/changelog | 8 +++++---
debian/patches/replay_init.diff | 22 ++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 28 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 2f24894..687bdb0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,11 +8,13 @@ blockattack (1.3.1-2) unstable; urgency=low
(thanks Linas Žvirblis)
[ Jordà Polo ]
- * debian/patches/scons_args.diff: New patch to fix scons command-line
- argument handling. (Closes: #444536)
+ * debian/patches:
+ + scons_args.diff: New patch to fix scons command-line argument handling.
+ (Closes: #444536)
+ + replay_init.diff: New patch to initialize the Replay class correctly.
* debian/control: Added Homepage and XS-Vcs-Browser fields.
- -- Cyril Brulebois <cyril.brulebois at enst-bretagne.fr> Sat, 29 Sep 2007 17:43:04 +0200
+ -- Cyril Brulebois <cyril.brulebois at enst-bretagne.fr> Sat, 29 Sep 2007 23:05:36 +0200
blockattack (1.3.1-1) unstable; urgency=low
diff --git a/debian/patches/replay_init.diff b/debian/patches/replay_init.diff
new file mode 100644
index 0000000..73231b0
--- /dev/null
+++ b/debian/patches/replay_init.diff
@@ -0,0 +1,22 @@
+--- blockattack-1.3.1.orig/replay.cpp
++++ blockattack-1.3.1/replay.cpp
+@@ -29,7 +29,7 @@
+
+ #include "replay.h"
+
+-void Replay::newReplay()
++Replay::Replay()
+ {
+ nrOfFrames=0;
+ }
+--- blockattack-1.3.1.orig/replay.h
++++ blockattack-1.3.1/replay.h
+@@ -66,7 +66,7 @@
+ enum { gameOver=0, winner, looser, draw } theResult;
+
+ public:
+- void newReplay(); //Constructor
++ Replay(); //Constructor
+ Uint32 getNumberOfFrames(); //Returns number of frames
+ void setFrameSecTo(Uint32,boardPackage); //Sets frame at a given time to the package
+ void setFinalFrame(boardPackage,int); //Sets the final package
diff --git a/debian/patches/series b/debian/patches/series
index 525b93d..b27d37f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
scons_args.diff
fix_scons.diff
fix_spelling.diff
+replay_init.diff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/blockattack.git
More information about the Pkg-games-commits
mailing list