summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-10-20 13:15:34 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-10-20 13:15:34 +0000
commitf91a8d53a7c5867083ac41a8062b0ca2f939b468 (patch)
tree2e85d70ea5318a3a639a5f9f15fe15b9622b56e8 /mail
parentAdd ruby-gconf, a Ruby interface to GConf (1.0.x). (diff)
Fix Null-Pointer Dereference causing SEGV
PR: 31376 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=48982
Diffstat (limited to 'mail')
-rw-r--r--mail/libesmtp/Makefile1
-rw-r--r--mail/libesmtp/files/patch-headers.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/mail/libesmtp/Makefile b/mail/libesmtp/Makefile
index 34e692b8968d..7c9390f019bd 100644
--- a/mail/libesmtp/Makefile
+++ b/mail/libesmtp/Makefile
@@ -6,6 +6,7 @@
PORTNAME= libesmtp
PORTVERSION= 0.8.6
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.stafford.uklinux.net/libesmtp/ \
http://www.theochem.kth.se/~pawsa/balsa/ \
diff --git a/mail/libesmtp/files/patch-headers.c b/mail/libesmtp/files/patch-headers.c
new file mode 100644
index 000000000000..7223def401c8
--- /dev/null
+++ b/mail/libesmtp/files/patch-headers.c
@@ -0,0 +1,11 @@
+--- headers.c Wed Oct 17 00:16:54 2001
++++ headers.c.new Fri Oct 19 08:58:56 2001
+@@ -688,7 +688,7 @@
+ if ((print = action->print) == NULL)
+ print = print_string;
+ cat_reset (&message->hdr_buffer, 0);
+- (*print) (message, message->current_header);
++ (*print) (message, info->hdr);
+ header = cat_buffer (&message->hdr_buffer, len);
+ }
+ }