efl/legacy
ChunEon Park 4b6636bdd1 elementary/index - [E-devel] [PATCH] elm_index : set it->letter to NULL after eina_stringshare_del
Hello all,

In elm_index.c, _item_del_pre_hook calls _item_free, where it->letter
is not set to NULL after eina_stringshare_del.
This will cause invalid access later on. The attached patch fixes the
problem, which is reproducible in my code before the fix.
Please check if this makes sense.

I am sorry that I was unable come up with a simple test app to
demonstrate the problem.

Thanks in advance.


Brian

Signed-Off-By:Brian Wang<brian.wang.0721@gmail.com>



SVN revision: 75723
2012-08-27 08:23:20 +00:00
..
elementary elementary/index - [E-devel] [PATCH] elm_index : set it->letter to NULL after eina_stringshare_del 2012-08-27 08:23:20 +00:00