From d17bfc98fdf74beb988f421203867bf792ae2d1a Mon Sep 17 00:00:00 2001 From: miwi Date: Fri, 21 May 2010 11:13:47 +0000 Subject: - Fix a SIGSEGV problem when unsubscribing IMAP folders. Taken from upstream bug-id #3273 (Do not free statically-allocated buffy buffer.) - Bump PORTREVISION PR: 146690 Submitted by: Udo Schweigert (maintainer) --- mail/mutt-devel/Makefile | 2 +- mail/mutt-devel/files/patch-buffy.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 mail/mutt-devel/files/patch-buffy.c (limited to 'mail') diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile index 0444e947604e..aff887bf5b30 100644 --- a/mail/mutt-devel/Makefile +++ b/mail/mutt-devel/Makefile @@ -118,7 +118,7 @@ PORTNAME= mutt-devel PORTVERSION= 1.5.20 -PORTREVISION?= 4 +PORTREVISION?= 5 CATEGORIES+= mail ipv6 .if defined(WITH_MUTT_NNTP) CATEGORIES+= news diff --git a/mail/mutt-devel/files/patch-buffy.c b/mail/mutt-devel/files/patch-buffy.c new file mode 100644 index 000000000000..2fef09ad9af5 --- /dev/null +++ b/mail/mutt-devel/files/patch-buffy.c @@ -0,0 +1,10 @@ +--- buffy.c.orig 2009-06-02 19:16:26.000000000 +0200 ++++ buffy.c 2010-05-18 07:41:47.000000000 +0200 +@@ -236,7 +236,6 @@ + { + if(*tmp) + { +- FREE (&((*tmp)->path)); + tmp1=(*tmp)->next; + FREE (tmp); /* __FREE_CHECKED__ */ + *tmp=tmp1; -- cgit