Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  1 Mar 2004 21:48:37 +0200 (EET)
From:      Toni Viemero <toni.viemero@iki.fi>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/63610: [PATCH] mail/abook: Add patch for mutt import crash
Message-ID:  <20040301194837.E6A5C2B055@fluid.selfdestruct.net>
Resent-Message-ID: <200403011950.i21JoIR0063975@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         63610
>Category:       ports
>Synopsis:       [PATCH] mail/abook: Add patch for mutt import crash
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 01 11:50:18 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Toni Viemero
>Release:        FreeBSD 4.9-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD fluid.selfdestruct.net 4.9-RELEASE-p2 FreeBSD 4.9-RELEASE-p2 #0: Sun Feb 29 02:27:53 EET 2004
>Description:
>From http://abook.sourceforge.net/
In 0.5.1 there is a bug in mutt import filter which causes crashes.

- Add files/patch-aa
- Bump PORTREVISION

>How-To-Repeat:
>Fix:

--- abook-0.5.1_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mail/abook/Makefile /home/toni/ports/abook/Makefile
--- /usr/ports/mail/abook/Makefile	Sun Feb 29 00:56:26 2004
+++ /home/toni/ports/abook/Makefile	Mon Mar  1 21:44:51 2004
@@ -7,6 +7,7 @@
 
 PORTNAME=	abook
 PORTVERSION=	0.5.1
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
diff -ruN --exclude=CVS /usr/ports/mail/abook/files/patch-aa /home/toni/ports/abook/files/patch-aa
--- /usr/ports/mail/abook/files/patch-aa	Thu Jan  1 02:00:00 1970
+++ /home/toni/ports/abook/files/patch-aa	Thu Jan 22 18:03:41 2004
@@ -0,0 +1,11 @@
+--- /tmp/abook-0.5.1/filter.c	2003-11-20 14:58:34.000000000 +0200
++++ filter.c	2004-01-22 13:47:31.000000000 +0200
+@@ -646,7 +646,7 @@
+ 	}
+ 
+ 	strncpy(*alias, tmp, ptr - tmp - 1);
+-	*(*alias + (ptr - tmp)) = 0;
++	*(*alias + (ptr - tmp - 1)) = 0;
+ 
+ 	while(ISSPACE(*ptr))
+ 		ptr++;
--- abook-0.5.1_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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