forked from enlightenment/efl
Elementary util: Fix possible invalid read in _elm_util_mkup_to_text.
Patch by WooHyun Jung. SVN revision: 58795
This commit is contained in:
parent
45507ae70f
commit
e4720e5643
|
@ -101,8 +101,9 @@ _elm_util_mkup_to_text(const char *mkup)
|
||||||
str = _str_append(str, ts, &str_len, &str_alloc);
|
str = _str_append(str, ts, &str_len, &str_alloc);
|
||||||
free(ts);
|
free(ts);
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!*p) break;
|
||||||
}
|
}
|
||||||
if (*p == '<')
|
if (*p == '<')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue