ports/63610: [PATCH] mail/abook: Add patch for mutt import crash
Toni Viemero
toni.viemero at iki.fi
Mon Mar 1 19:50:19 UTC 2004
>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:
More information about the freebsd-ports-bugs
mailing list