From: Brian Wang <brian.wang.0721@gm...> - 2009-11-18 03:38:39
Since the trac does not get much traffic, I think I'd try here.
Thanks for cedric's looking at the problem. :-)
Ticket URL: http://trac.enlightenment.org/e/ticket/461
--- src/lib/engines/common/evas_font_main.c (revision 43601)
+++ src/lib/engines/common/evas_font_main.c (working copy)
@@ -137,7 +137,7 @@
unsigned char d, d2, d3, d4;
/* if this char is the null terminator, exit */
- if (!buf[index])
+ if ((index < 0) || !buf[index])
d = buf[index++];
This is a fix without really knowing the cause of it. With the help
of gdb, it indicates a -1 offset is being passed to
evas_common_font_utf8_get_next() and thus the invalid read.
Cool-Karaoke - The smallest recording studio, in your palm, open-sourced
iMaGiNaTiOn iS mOrE iMpOrTaNt tHaN kNoWlEdGe
Get latest updates about Open Source Projects, Conferences and News.