git://git.exim.org
/
users
/
heiko
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65463bc
)
DSN: fix null deref when bounce is due to conn-timeout. Bug 1630
author
Wolfgang Breyha
<wbreyha@gmx.net>
Mon, 15 Jun 2015 13:52:36 +0000
(14:52 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Mon, 15 Jun 2015 15:12:05 +0000
(16:12 +0100)
src/src/deliver.c
patch
|
blob
|
history
diff --git
a/src/src/deliver.c
b/src/src/deliver.c
index 2ee71f502d2e49663acaa205f28abe260624df74..ec030fefb347d0c1ca061f91c329305f8f0b3c37 100644
(file)
--- a/
src/src/deliver.c
+++ b/
src/src/deliver.c
@@
-4876,17
+4876,8
@@
if (s)
s += 2; /* skip ": " */
fprintf(f, "Diagnostic-Code: smtp; ");
}
-/* user_message set? use it instead */
-else if ((s = addr->user_message))
- {
- DEBUG(D_deliver)
- debug_printf("DSN Diagnostic-Code: addr->user_message = %s\n", s);
- /* local errors like timeout get 426 */
- fprintf(f, "Diagnostic-Code: smtp; 426 ");
- }
/* no message available. do nothing */
-else
- return;
+else return;
while (*s)
if (*s == '\\' && s[1] == 'n')