From 595d12203d49fef19d33b090c7ea9f6bae16feef Mon Sep 17 00:00:00 2001 From: Wietse Venema Date: Mon, 5 Nov 2001 00:00:00 -0500 Subject: [PATCH] snapshot-20011105 --- postfix/HISTORY | 5 +++++ postfix/src/cleanup/cleanup.c | 3 ++- postfix/src/global/mail_version.h | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/postfix/HISTORY b/postfix/HISTORY index 46c514f36..70d4a7450 100644 --- a/postfix/HISTORY +++ b/postfix/HISTORY @@ -5571,6 +5571,11 @@ Apologies for any names omitted. Portability: updated Mac OS X documentation and install scripts by Gerben Wierda. +20011105 + + Bugfix: missing terminator in new attribute-based function + call caused signal 11. File: src/cleanup/cleanup.c. + Open problems: Medium: need in-process caching for map lookups. LDAP diff --git a/postfix/src/cleanup/cleanup.c b/postfix/src/cleanup/cleanup.c index 28185986f..74c80bcc6 100644 --- a/postfix/src/cleanup/cleanup.c +++ b/postfix/src/cleanup/cleanup.c @@ -195,7 +195,8 @@ static void cleanup_service(VSTREAM *src, char *unused_service, char **argv) ATTR_TYPE_STR, MAIL_ATTR_QUEUEID, state->queue_id, ATTR_TYPE_END); if (attr_scan(src, ATTR_FLAG_STRICT, - ATTR_TYPE_NUM, MAIL_ATTR_FLAGS, &flags) != 1) { + ATTR_TYPE_NUM, MAIL_ATTR_FLAGS, &flags, + ATTR_TYPE_END) != 1) { state->errs |= CLEANUP_STAT_BAD; flags = 0; } diff --git a/postfix/src/global/mail_version.h b/postfix/src/global/mail_version.h index 0b27eab11..0d6789be1 100644 --- a/postfix/src/global/mail_version.h +++ b/postfix/src/global/mail_version.h @@ -15,7 +15,7 @@ * Version of this program. */ #define VAR_MAIL_VERSION "mail_version" -#define DEF_MAIL_VERSION "Snapshot-20011104" +#define DEF_MAIL_VERSION "Snapshot-20011105" extern char *var_mail_version; /* LICENSE