svn commit: r398970 - branches/2015Q4/games/concentration/files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sat Oct 10 01:10:22 UTC 2015
Author: amdmi3
Date: Sat Oct 10 01:10:20 2015
New Revision: 398970
URL: https://svnweb.freebsd.org/changeset/ports/398970
Log:
MFH: r398969
- Fix crash due to unterminated string
- Regenerate patches
Approved by: ports-secteam blanket
Added:
branches/2015Q4/games/concentration/files/patch-src_ShiftyEngine.c
- copied unchanged from r398969, head/games/concentration/files/patch-src_ShiftyEngine.c
Modified:
branches/2015Q4/games/concentration/files/patch-src-concentration.c
Directory Properties:
branches/2015Q4/ (props changed)
Modified: branches/2015Q4/games/concentration/files/patch-src-concentration.c
==============================================================================
--- branches/2015Q4/games/concentration/files/patch-src-concentration.c Sat Oct 10 01:09:08 2015 (r398969)
+++ branches/2015Q4/games/concentration/files/patch-src-concentration.c Sat Oct 10 01:10:20 2015 (r398970)
@@ -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[] = {
/*****************************************************
****************************************************/
Copied: branches/2015Q4/games/concentration/files/patch-src_ShiftyEngine.c (from r398969, head/games/concentration/files/patch-src_ShiftyEngine.c)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/2015Q4/games/concentration/files/patch-src_ShiftyEngine.c Sat Oct 10 01:10:20 2015 (r398970, copy of r398969, head/games/concentration/files/patch-src_ShiftyEngine.c)
@@ -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