Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2019 14:09:26 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r490563 - in head/misc/wmcalendar: . files
Message-ID:  <201901171409.x0HE9Qra040578@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) 



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