From owner-svn-ports-all@freebsd.org Thu Jan 17 14:09:27 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6CDAF149766F; Thu, 17 Jan 2019 14:09:27 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 125A38FB45; Thu, 17 Jan 2019 14:09:27 +0000 (UTC) (envelope-from tobik@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 041291B34C; Thu, 17 Jan 2019 14:09:27 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x0HE9QR8040580; Thu, 17 Jan 2019 14:09:26 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0HE9Qra040578; Thu, 17 Jan 2019 14:09:26 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201901171409.x0HE9Qra040578@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Thu, 17 Jan 2019 14:09:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r490563 - in head/misc/wmcalendar: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/misc/wmcalendar: . files X-SVN-Commit-Revision: 490563 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 125A38FB45 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.966,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 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: Thu, 17 Jan 2019 14:09:27 -0000 Author: tobik Date: Thu Jan 17 14:09:26 2019 New Revision: 490563 URL: https://svnweb.freebsd.org/changeset/ports/490563 Log: misc/wmcalendar: Fix some out-of-bounds memory access PR: 227101 Submitted by: crahman@gmail.com Approved by: xride (maintainer) Added: head/misc/wmcalendar/files/patch-wmCalendar.c (contents, props changed) Modified: head/misc/wmcalendar/Makefile Modified: head/misc/wmcalendar/Makefile ============================================================================== --- head/misc/wmcalendar/Makefile Thu Jan 17 13:53:43 2019 (r490562) +++ head/misc/wmcalendar/Makefile Thu Jan 17 14:09:26 2019 (r490563) @@ -3,7 +3,7 @@ PORTNAME= wmcalendar PORTVERSION= 0.5.2 -PORTREVISION= 17 +PORTREVISION= 18 CATEGORIES= misc windowmaker MASTER_SITES= SF Added: head/misc/wmcalendar/files/patch-wmCalendar.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/wmcalendar/files/patch-wmCalendar.c Thu Jan 17 14:09:26 2019 (r490563) @@ -0,0 +1,11 @@ +--- wmCalendar.c.orig 2006-09-15 09:53:37 UTC ++++ wmCalendar.c +@@ -71,7 +71,7 @@ void initValues(){ + for(i = 0; i < 12; ++i) + for( j = 0; j < 6; ++j) + xdMonth[j][i] = xeMonth[j][i] - xsMonth[j][i] + 1; +- for(i = 0; i < 12; ++i) ++ for(i = 0; i < 10; ++i) + for( j = 0; j < 2; ++j) + xdYear[j][i] = xeYear[j][i] - xsYear[j][i] + 1; + for(i = 0; i < MAXBUTTON; ++i)