nphilipp pushed to extremetuxracer (f22). "add missing file, bump release"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue May 12 15:20:55 UTC 2015


From 9787f7ddc4d144c1e4e3e6830ca5ed2514eba040 Mon Sep 17 00:00:00 2001
From: Nils Philippsen <nils at redhat.com>
Date: Tue, 12 May 2015 17:17:02 +0200
Subject: add missing file, bump release


diff --git a/etr-0.6.0-notrees-segv.patch b/etr-0.6.0-notrees-segv.patch
new file mode 100644
index 0000000..4d3a939
--- /dev/null
+++ b/etr-0.6.0-notrees-segv.patch
@@ -0,0 +1,13 @@
+diff -up etr-0.6.0.p/physics.cpp.notrees-segv etr-0.6.0.p/physics.cpp
+--- etr-0.6.0.p/physics.cpp.notrees-segv	2013-06-27 13:36:42.000000000 +0200
++++ etr-0.6.0.p/physics.cpp	2015-02-11 13:06:04.053013005 +0100
+@@ -124,6 +124,9 @@ bool CControl::CheckTreeCollisions (cons
+ 	TMatrix mat;
+ 
+ 	TCollidable *trees = &Course.CollArr[0];
++    if (!trees) {
++        return false;
++    }
+     size_t num_trees = Course.CollArr.size();
+     size_t tree_type = trees[0].tree_type;
+     TPolyhedron ph = Course.GetPoly (tree_type);
diff --git a/extremetuxracer.spec b/extremetuxracer.spec
index c7d92bf..7eadcc8 100644
--- a/extremetuxracer.spec
+++ b/extremetuxracer.spec
@@ -17,7 +17,7 @@
 Summary: High speed arctic racing game
 Name: extremetuxracer
 Version: 0.6.0
-Release: 6%{?dist}
+Release: 7%{?dist}
 License: GPLv2+
 Group: Amusements/Games
 URL: http://extremetuxracer.sourceforge.net
@@ -176,7 +176,7 @@ rm -rf %{buildroot}
 %{_datadir}/appdata/%{name}.metainfo.xml
 
 %changelog
-* Wed Feb 11 2015 Nils Philippsen <nils at redhat.com>
+* Tue May 12 2015 Nils Philippsen <nils at redhat.com> - 0.6.0-7
 - don't crash in treeless levels (#1183260, thanks to Jakub Vaněk for the
   original patch)
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/extremetuxracer.git/commit/?h=f22&id=9787f7ddc4d144c1e4e3e6830ca5ed2514eba040


More information about the scm-commits mailing list