svn commit: r398969 - head/games/concentration/files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sat Oct 10 01:09:10 UTC 2015
Author: amdmi3
Date: Sat Oct 10 01:09:08 2015
New Revision: 398969
URL: https://svnweb.freebsd.org/changeset/ports/398969
Log:
- Fix crash due to unterminated string
- Regenerate patches
MFH: 2015Q4 (blanket)
Added:
head/games/concentration/files/patch-src_ShiftyEngine.c (contents, props changed)
Modified:
head/games/concentration/files/patch-src-concentration.c
Modified: head/games/concentration/files/patch-src-concentration.c
==============================================================================
--- head/games/concentration/files/patch-src-concentration.c Sat Oct 10 00:11:24 2015 (r398968)
+++ head/games/concentration/files/patch-src-concentration.c Sat Oct 10 01:09:08 2015 (r398969)
@@ -1,6 +1,6 @@
---- src/concentration.c.orig 2005-11-09 19:05:02.000000000 +0300
-+++ src/concentration.c 2013-06-04 07:00:25.084319599 +0400
-@@ -202,7 +202,7 @@
+--- src/concentration.c.orig 2005-11-09 16:05:02 UTC
++++ src/concentration.c
+@@ -202,7 +202,7 @@ char * helpText[] = {
/*****************************************************
****************************************************/
Added: head/games/concentration/files/patch-src_ShiftyEngine.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/concentration/files/patch-src_ShiftyEngine.c Sat Oct 10 01:09:08 2015 (r398969)
@@ -0,0 +1,11 @@
+--- src/ShiftyEngine.c.orig 2004-09-21 01:08:59 UTC
++++ src/ShiftyEngine.c
+@@ -93,7 +93,7 @@ void SE_SetBackground(char * name)
+ exit(1);
+ }
+
+- strncpy(backgroundName, name, len);
++ strncpy(backgroundName, name, len + 1);
+ }
+
+ /*****************************************************
More information about the svn-ports-all
mailing list