Date: Sat, 10 Oct 2015 01:09:08 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398969 - head/games/concentration/files Message-ID: <201510100109.t9A198tv078125@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); + } + + /*****************************************************
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510100109.t9A198tv078125>