From owner-svn-ports-all@freebsd.org Sun Apr 10 01:22:25 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4E6D8B01FD0; Sun, 10 Apr 2016 01:22:25 +0000 (UTC) (envelope-from junovitch@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 06BDA15CD; Sun, 10 Apr 2016 01:22:24 +0000 (UTC) (envelope-from junovitch@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3A1MO9Q090315; Sun, 10 Apr 2016 01:22:24 GMT (envelope-from junovitch@FreeBSD.org) Received: (from junovitch@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3A1MOta090313; Sun, 10 Apr 2016 01:22:24 GMT (envelope-from junovitch@FreeBSD.org) Message-Id: <201604100122.u3A1MOta090313@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: junovitch set sender to junovitch@FreeBSD.org using -f From: Jason Unovitch Date: Sun, 10 Apr 2016 01:22:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r412885 - in branches/2016Q2/games/taipan: . files X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2016 01:22:25 -0000 Author: junovitch Date: Sun Apr 10 01:22:23 2016 New Revision: 412885 URL: https://svnweb.freebsd.org/changeset/ports/412885 Log: MFH: r412884 games/taipan: fix out of bounds array subscript taipan.c:2709:7: warning: array index 4 is past the end of the array (which contains 4 elements) [-Warray-bounds] PR: 206771 Submitted by: Dave Walton Submitted by: c.brinkhaus@t-online.de Approved by: ports-secteam (with hat) Modified: branches/2016Q2/games/taipan/Makefile branches/2016Q2/games/taipan/files/patch-taipan.c Directory Properties: branches/2016Q2/ (props changed) Modified: branches/2016Q2/games/taipan/Makefile ============================================================================== --- branches/2016Q2/games/taipan/Makefile Sun Apr 10 01:21:51 2016 (r412884) +++ branches/2016Q2/games/taipan/Makefile Sun Apr 10 01:22:23 2016 (r412885) @@ -3,7 +3,7 @@ PORTNAME= taipan PORTVERSION= 0.9 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= SUNSITE/games/textrpg Modified: branches/2016Q2/games/taipan/files/patch-taipan.c ============================================================================== --- branches/2016Q2/games/taipan/files/patch-taipan.c Sun Apr 10 01:21:51 2016 (r412884) +++ branches/2016Q2/games/taipan/files/patch-taipan.c Sun Apr 10 01:22:23 2016 (r412885) @@ -1,6 +1,6 @@ ---- taipan.c.orig Fri Mar 15 15:05:41 2002 -+++ taipan.c Fri Mar 15 15:08:30 2002 -@@ -2572,7 +2572,7 @@ +--- taipan.c.orig 2001-12-31 16:09:20 UTC ++++ taipan.c +@@ -2572,7 +2572,7 @@ void mchenry(void) amount = get_num(9); if (amount == -1) { @@ -9,3 +9,13 @@ } if (amount <= cash) { +@@ -2705,8 +2705,8 @@ void final_stats(void) + bank = 0; + hkw_[0] = 0; + hkw_[1] = 0; ++ hkw_[2] = 0; + hkw_[3] = 0; +- hkw_[4] = 0; + hold_[0] = 0; + hold_[1] = 0; + hold_[2] = 0;