projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1d889a
)
Evas font-engine: font_run_end_get. Fix possible segfault.
author
Tom Hacohen
<tom@stosb.com>
Mon, 30 May 2011 13:59:18 +0000
(13:59 +0000)
committer
Tom Hacohen
<tom@stosb.com>
Mon, 30 May 2011 13:59:18 +0000
(13:59 +0000)
Patch by Cedric.
SVN revision: 59817
legacy/evas/src/lib/engines/common/evas_font_query.c
patch
|
blob
|
history
diff --git
a/legacy/evas/src/lib/engines/common/evas_font_query.c
b/legacy/evas/src/lib/engines/common/evas_font_query.c
index
d6760a7
..
d604e8a
100644
(file)
--- a/
legacy/evas/src/lib/engines/common/evas_font_query.c
+++ b/
legacy/evas/src/lib/engines/common/evas_font_query.c
@@
-102,8
+102,11
@@
evas_common_font_query_run_font_end_get(RGBA_Font *fn, RGBA_Font_Int **script_fi
for ( ; itr < run_end ; itr++)
{
if (evas_common_get_char_index(fi, *itr) ||
- evas_common_font_glyph_search(fn, &fi, *itr))
- break;
+ evas_common_font_glyph_search(fn, &tmp_fi, *itr))
+ {
+ fi = tmp_fi;
+ break;
+ }
}
/* If we found a renderable character and the found font