1
#! /bin/sh /usr/share/dpatch/dpatch-run
3
# Ubuntu: https://bugs.launchpad.net/bugs/290901
4
# Upstream VCS: http://hg.dovecot.org/dovecot-1.1/raw-rev/48840b2d4b18
5
# Description: Fixed message address assert-crashing if the entire input
6
# was invalid. Patch by Richard Platel.
9
# User Timo Sirainen <tss@iki.fi>
10
# Date 1224802573 -10800
11
# Node ID 48840b2d4b1830ccc3cdc49e8c6da4d9f5dd3c74
12
# Parent 25b0cf7c62d3f3fccd8c352824a8ce04a6c57d54
16
--- a/src/lib-mail/message-address.c Thu Oct 23 18:58:22 2008 +0300
17
+++ b/src/lib-mail/message-address.c Fri Oct 24 01:56:13 2008 +0300
18
@@ -314,8 +314,7 @@ message_address_parse_real(pool_t pool,
19
ctx.str = t_str_new(128);
20
ctx.fill_missing = fill_missing;
22
- ret = rfc822_skip_lwsp(&ctx.parser);
24
+ if (rfc822_skip_lwsp(&ctx.parser) <= 0) {