GNOME Bugzilla – Bug 742774
[PATCH] Properly check result of g_utf8_get_char_validated()
Last modified: 2015-01-11 20:46:38 UTC
Created attachment 294298 [details] [review] Patch g_utf8_get_char_validated() may return -1 or -2 return type is gunichar(guint32) Therefore such checks like 'gunichar < 0' or 'gunichar > 0' are always 'false' or 'true'(except when gunichar == 0).