diff options
author | salo <salo@pkgsrc.org> | 2003-09-23 13:54:25 +0000 |
---|---|---|
committer | salo <salo@pkgsrc.org> | 2003-09-23 13:54:25 +0000 |
commit | 570221b153f0557f72eacb88f01778589e87b9b5 (patch) | |
tree | d35597fcd6c81e6ad2ce2bdd5e3b2fb1abea0ebe /mail/dovecot/patches | |
parent | 0f38182c0a6a9470cebcba73f34a5752705747af (diff) | |
download | pkgsrc-570221b153f0557f72eacb88f01778589e87b9b5.tar.gz |
PKGREVISION++
Apply bugfix patches for the following problems:
- Searching address fields can crash sometimes.
- Auth process crashes if user doesn't have home directory set.
- Some BODY and BODYSTRUCTURE replies missed data for message/rfc822
MIME parts causing clients to break.
Diffstat (limited to 'mail/dovecot/patches')
-rw-r--r-- | mail/dovecot/patches/patch-ac | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/mail/dovecot/patches/patch-ac b/mail/dovecot/patches/patch-ac new file mode 100644 index 00000000000..04d2b196d4c --- /dev/null +++ b/mail/dovecot/patches/patch-ac @@ -0,0 +1,32 @@ +$NetBSD: patch-ac,v 1.1 2003/09/23 13:54:25 salo Exp $ + +--- src/lib-mail/message-address.c.orig 2003-03-20 16:46:34.000000000 +0100 ++++ src/lib-mail/message-address.c 2003-09-23 15:42:11.000000000 +0200 +@@ -252,14 +252,14 @@ + } else if ((addr->name == NULL || *addr->name == '\0') && + addr->route == NULL) { + i_assert(addr->mailbox != NULL); +- i_assert(addr->domain != NULL); + + str_append(str, addr->mailbox); ++ if (addr->domain != NULL) { + str_append_c(str, '@'); + str_append(str, addr->domain); ++ } + } else { + i_assert(addr->mailbox != NULL); +- i_assert(addr->domain != NULL); + + if (addr->name != NULL) { + str_append(str, addr->name); +@@ -272,8 +272,10 @@ + str_append_c(str, ':'); + } + str_append(str, addr->mailbox); ++ if (addr->domain != NULL) { + str_append_c(str, '@'); + str_append(str, addr->domain); ++ } + str_append_c(str, '>'); + } + |