Elementary util: Fix possible invalid read in _elm_util_mkup_to_text.

Patch by WooHyun Jung.

SVN revision: 58795
This commit is contained in:
Tom Hacohen 2011-04-21 12:09:43 +00:00
parent 45507ae70f
commit e4720e5643
1 changed files with 2 additions and 1 deletions

View File

@ -101,8 +101,9 @@ _elm_util_mkup_to_text(const char *mkup)
str = _str_append(str, ts, &str_len, &str_alloc);
free(ts);
}
break;
}
if (!*p) break;
}
if (*p == '<')
{