aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-mime-utils.c')
-rw-r--r--camel/camel-mime-utils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c
index 451c9c8854..a76db94767 100644
--- a/camel/camel-mime-utils.c
+++ b/camel/camel-mime-utils.c
@@ -2803,6 +2803,10 @@ header_address_decode(const char *in)
if (in == NULL)
return NULL;
+ header_decode_lwsp(&inptr);
+ if (*inptr == 0)
+ return NULL;
+
do {
last = inptr;
addr = header_decode_address(&inptr);