1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-24 21:01:20 +00:00

Fix Null-Pointer Dereference causing SEGV

PR:		31376
Submitted by:	maintainer
This commit is contained in:
Ying-Chieh Liao 2001-10-20 13:15:34 +00:00
parent 52512d3ab6
commit f91a8d53a7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48982
2 changed files with 12 additions and 0 deletions

View File

@ -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/ \

View File

@ -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);
}
}