diff options
author | Alex Shtyrov <alex.shtyrov@collabora.co.uk> | 2015-07-15 18:34:11 +0200 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2015-07-15 18:34:11 +0200 |
commit | 1440e58ddb0353aab08fc5fc6fcfc883b5a3b4c9 (patch) | |
tree | 0ebbff319681a8f0818cc1c0a4b990272e0303b3 /addressbook | |
parent | 7ac978817654842ab6fea7d519ea92759cbcbbcc (diff) | |
download | evolution-data-server-1440e58ddb0353aab08fc5fc6fcfc883b5a3b4c9.tar.gz |
Bug 752370 - Hangs on vCard with 2 consecutive commas in the parameters list
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/libebook-contacts/e-vcard.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/addressbook/libebook-contacts/e-vcard.c b/addressbook/libebook-contacts/e-vcard.c index e13ee2d56..e5c611b30 100644 --- a/addressbook/libebook-contacts/e-vcard.c +++ b/addressbook/libebook-contacts/e-vcard.c @@ -505,6 +505,9 @@ read_attribute_params (EVCardAttribute *attr, param = NULL; if (!colon) lp = g_utf8_next_char (lp); + } else { + g_string_append_unichar (str, g_utf8_get_char (lp)); + lp = g_utf8_next_char (lp); } } |