Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2019 14:10:58 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r490564 - in branches/2019Q1/misc/wmcalendar: . files
Message-ID:  <201901171410.x0HEAwX9043099@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Thu Jan 17 14:10:58 2019
New Revision: 490564
URL: https://svnweb.freebsd.org/changeset/ports/490564

Log:
  MFH: r490563
  
  misc/wmcalendar: Fix some out-of-bounds memory access
  
  PR:		227101
  Submitted by:	crahman@gmail.com
  Approved by:	xride (maintainer)
  
  Approved by:	ports-secteam runtime fix blanket

Added:
  branches/2019Q1/misc/wmcalendar/files/patch-wmCalendar.c
     - copied unchanged from r490563, head/misc/wmcalendar/files/patch-wmCalendar.c
Modified:
  branches/2019Q1/misc/wmcalendar/Makefile
Directory Properties:
  branches/2019Q1/   (props changed)

Modified: branches/2019Q1/misc/wmcalendar/Makefile
==============================================================================
--- branches/2019Q1/misc/wmcalendar/Makefile	Thu Jan 17 14:09:26 2019	(r490563)
+++ branches/2019Q1/misc/wmcalendar/Makefile	Thu Jan 17 14:10:58 2019	(r490564)
@@ -3,7 +3,7 @@
 
 PORTNAME=	wmcalendar
 PORTVERSION=	0.5.2
-PORTREVISION=	17
+PORTREVISION=	18
 CATEGORIES=	misc windowmaker
 MASTER_SITES=	SF
 

Copied: branches/2019Q1/misc/wmcalendar/files/patch-wmCalendar.c (from r490563, head/misc/wmcalendar/files/patch-wmCalendar.c)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2019Q1/misc/wmcalendar/files/patch-wmCalendar.c	Thu Jan 17 14:10:58 2019	(r490564, copy of r490563, head/misc/wmcalendar/files/patch-wmCalendar.c)
@@ -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) 



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