diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-02-28 14:16:16 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-02-28 14:16:16 +0000 |
commit | b115dacc83ddcda0e7e3961be9911fc93572cd4c (patch) | |
tree | c5c836fa25c01a2d1d8c968d49830ae5bc22c29b | |
parent | 2a2c3129e436d7560de8dcfdd11191cfa6506a92 (diff) | |
download | fetchmail-b115dacc83ddcda0e7e3961be9911fc93572cd4c.tar.gz fetchmail-b115dacc83ddcda0e7e3961be9911fc93572cd4c.tar.bz2 fetchmail-b115dacc83ddcda0e7e3961be9911fc93572cd4c.zip |
Dan Flater's bug.
svn path=/trunk/; revision=2394
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | sink.c | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -9,6 +9,7 @@ fetchmail-5.0.0 (): * Patch by Dan Root to solve an endianness problem in IMAP-K4. * Fix lexical-analyzer bug that rejected `set nobouncemail', +* Prevent send_bouncemail from stepping on SMTP antispam response. There are 262 people on fetchmail-friends and 356 on fetchmail-announce. @@ -375,7 +375,8 @@ static int handle_smtp_report(struct query *ctl, struct msgblk *msg) int smtperr = atoi(smtp_response); char *responses[1]; - responses[0] = smtp_response; + xalloca(responses[0], char *, strlen(smtp_response)+1); + strcpy(responses[0], smtp_response); /* required by RFC1870; sets us up to be able to send bouncemail */ SMTP_rset(ctl->smtp_socket); |