diff options
Diffstat (limited to 'mail/anubis/files/patch-src_tunnel.c')
-rw-r--r-- | mail/anubis/files/patch-src_tunnel.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mail/anubis/files/patch-src_tunnel.c b/mail/anubis/files/patch-src_tunnel.c new file mode 100644 index 000000000000..76b4f17d31f2 --- /dev/null +++ b/mail/anubis/files/patch-src_tunnel.c @@ -0,0 +1,20 @@ + +$FreeBSD$ + +--- src/tunnel.c.orig Sun Dec 8 19:04:51 2002 ++++ src/tunnel.c Sun Mar 7 14:55:10 2004 +@@ -554,9 +554,11 @@ + ptr1 = strstr(boundary_buf, "boundary="); + if (ptr1 == 0) { + plist = plist->next; +- safe_strcpy(boundary_buf, plist->line); +- change_to_lower(boundary_buf); +- ptr1 = strstr(boundary_buf, "boundary="); ++ if (plist) { ++ safe_strcpy(boundary_buf, plist->line); ++ change_to_lower(boundary_buf); ++ ptr1 = strstr(boundary_buf, "boundary="); ++ } + } + + if (ptr1) { |