projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d65cde
)
Elementary util: Fix possible invalid read in _elm_util_mkup_to_text.
author
tasn
<tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 21 Apr 2011 12:09:43 +0000
(12:09 +0000)
committer
tasn
<tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 21 Apr 2011 12:09:43 +0000
(12:09 +0000)
Patch by WooHyun Jung.
git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@58795
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/elm_util.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_util.c
b/src/lib/elm_util.c
index
4c67ebc
..
622aee4
100644
(file)
--- a/
src/lib/elm_util.c
+++ b/
src/lib/elm_util.c
@@
-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 == '<')
{