Commit Graph

11 Commits

Author SHA1 Message Date
Daniel Juyung Seo 750cd95d10 edje_externals: Fixed formatting before working on it. 2014-01-23 22:36:41 +09:00
Daniel Juyung Seo fd5c046dfe elm: Changed __UNUSED__ to EINA_UNUSED. 2014-01-06 23:33:57 +09:00
Daniel Juyung Seo 8c17d99712 elm: Fixed formatting. Added a space after 'if/while/for'
SVN revision: 69744
2012-03-29 11:09:45 +00:00
ChunEon Park 009d533645 elementary - fixed some logic errors patched by rajeev.r@samsung.com
Hi all,
I found few memory related issues in elementary package when performed static analysis on it.

These issues include:
Array indices getting out of bounds, freed memory address being passed to a function as parameter, memory not getting cleaned up because of earlier return statement.

Issues details:
1. In elm_widget.c inside function elm_widget_signal_callback_del(), it is possible that freed memory address esd is passed to the sd->callback_del_func(). I think it should be data, not esd.
Moreover what if the callback frees memory for data, then the other problem is that the return value is data from the function elm_widget_signal_callback_del() which in my opinion can be a problem.

2. Inside directory src/edje_externals for files elm_genlist.c, elm_notify.c, elm_list.c, elm_thumb.c and elm_map.c, array indices can go beyound bounary.
sizeof() operator for an array of character pointers will return [number of elements in the array * size of (char*)], basically 4 times the number of elements which has been taken care in assertion inside src/edje_extenarnals
while performing assertion but has been missed in the next statement in the loop condition.

3. In file src/lib/elm_config.c inside function _elm_config_profiles_list, freeing of file iterator has been missed out.

Please review the attached patch and let me know your opinion.

Thanks.
Regards,
Rajeev



SVN revision: 63550
2011-09-23 00:02:13 +00:00
Otavio Pontes c11bf5692a Add support for changing style from one elm widget in edje external.
Create a param 'style' that can be used in edje external
to change the style of one object.

Patch by: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 53754
2010-10-21 22:03:43 +00:00
Gustavo Lima Chaves 02d6dc885f Ugly typos gone.
SVN revision: 53663
2010-10-20 12:40:36 +00:00
Bruno Dilly b74069f814 Fix some Wextra complains on elm edje-externals
SVN revision: 53637
2010-10-19 18:25:57 +00:00
Jonathan Atton 76a2b5f2cb Elementary:
- we can get the content of a external object
- a signal can be send to the content of a external object

SVN revision: 50731
2010-08-01 17:29:20 +00:00
Tiago Rezende Campos Falcao 58ffdf8254 Fix some bugs in Genlist/Photocam. By Fidencio
Author:    Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47823
2010-04-07 21:30:54 +00:00
Tiago Rezende Campos Falcao baa7e26d78 Some fixes in external Photocam. By Fidencio
Author:    Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47785
2010-04-06 14:01:08 +00:00
Tiago Rezende Campos Falcao 6b3e8c6be5 External Photocam. By Fidencio
Author: Fabiano Fidêncio <fidencio at profusion.mobi>

SVN revision: 47649
2010-04-01 14:22:45 +00:00