summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
55242bb)
* Fixes NB#104978, crash in fill_providers
pmo-trunk-r8050
/* Go to the first tab (Country separator) */
tab = g_utf8_strrchr (line, -1, '\t');
/* Go to the first tab (Country separator) */
tab = g_utf8_strrchr (line, -1, '\t');
+ if (!tab)
+ return 0;
+
*country = g_utf8_find_next_char (tab, NULL);
/* Replace by end of string. We need to use strlen, because
*country = g_utf8_find_next_char (tab, NULL);
/* Replace by end of string. We need to use strlen, because