2
0
mirror of https://github.com/vdukhovni/postfix synced 2025-08-30 05:38:06 +00:00

postfix-1.1.11-20020928

This commit is contained in:
Wietse Venema 2002-09-28 00:00:00 -05:00 committed by Viktor Dukhovni
parent 5f9dde17b5
commit 16566b2c3d
3 changed files with 11 additions and 3 deletions

View File

@ -7024,6 +7024,14 @@ Apologies for any names omitted.
unavailable, causing the restrictions parser to get out if
sync. Spotted by Ralf Hildebrandt. File: smtpd/smtpd_check.c.
20020928
Bugfix: missing %s in the 20020923 RBL code. This was not
exploitable because Postfix implements only a safe subset
of all printf format operators and because memory for the
result is dynamically allocated. Victor Duchovni. File:
smtpd/smtpd_check.c.
Open problems:
Low: smtpd should log queue ID with reject/warn/hold/discard

View File

@ -20,7 +20,7 @@
* Patches change the patchlevel and the release date. Snapshots change the
* release date only, unless they include the same bugfix as a patch release.
*/
#define MAIL_RELEASE_DATE "20020924"
#define MAIL_RELEASE_DATE "20020928"
#define VAR_MAIL_VERSION "mail_version"
#define DEF_MAIL_VERSION "1.1.11-" MAIL_RELEASE_DATE

View File

@ -448,7 +448,7 @@ static void PRINTFLIKE(3, 4) defer_if(SMTPD_DEFER *, int, const char *,...);
* Cached RBL lookup state.
*/
typedef struct {
char *txt; /* TXT record or null */
char *txt; /* TXT record or "" */
} SMTPD_RBL_STATE;
static void *rbl_pagein(const char *, void *);
@ -2348,7 +2348,7 @@ static int rbl_reject_reply(SMTPD_STATE *state, SMTPD_RBL_STATE *rbl,
myname, rbl_domain, template);
template = 0; /* pretend not found */
}
result = smtpd_check_reject(state, MAIL_ERROR_POLICY, STR(why));
result = smtpd_check_reject(state, MAIL_ERROR_POLICY, "%s", STR(why));
/*
* Clean up.