Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Oct 2015 01:10:21 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r398970 - branches/2015Q4/games/concentration/files
Message-ID:  <201510100110.t9A1ALLJ078361@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
+ }
+ 
+ /*****************************************************



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510100110.t9A1ALLJ078361>