]> git.pld-linux.org Git - packages/exim.git/blame - exim-smtp_in.patch
- src/smtp_in.c: applied upstream patch to fix buffer overflow; this is
[packages/exim.git] / exim-smtp_in.patch
CommitLineData
ad6228dd 1--- exim-3.36.orig/src/smtp_in.c
2+++ exim-3.36/src/smtp_in.c
3@@ -2021,13 +2021,12 @@
4
5 if (!check_helo(smtp_data))
6 {
7- char *s;
8- smtp_printf("501 syntactically invalid %s argument(s)\r\n", hello);
9- if (*smtp_data == 0) strcpy(smtp_data, "(no argument given)");
10- s = string_printing(smtp_data);
11+ smtp_printf("501 Syntactically invalid %s argument(s)\r\n", hello);
12 log_write(0, LOG_MAIN|LOG_REJECT, "rejected %s from %s: syntactically "
13 "invalid argument(s): %s", hello,
14- (sender_fullhost == NULL)? "local process" : sender_fullhost, s);
15+ (sender_fullhost == NULL)? "local process" : sender_fullhost,
16+ (*smtp_data == 0)? "(no argument given)" :
17+ string_printing(smtp_data));
18 break;
19 }
20
This page took 0.032638 seconds and 4 git commands to generate.