1) Fixing possible null dereference on etk on etk_iconbox.c
   2) Another one for edje on edje_entry.c
   3)  And shouldn't the if on epsilon/src/lib/exiftags/exifutil.c on the
   function exifdie be toggled to true by default ?
   Because it causes null dereferences otherwise.
   Cheers,
   --lf
   PS: not sure if the mime types here are correct, so I've also posted #1 and
   #2 on pastebin:
   http://pastebin.com/m7366face
   http://pastebin.com/mb16e33f
   --
   " Every day, once a day, give yourself a present. Don't plan it, don't wait
   for it, just⦠let it happen." Dale Cooper, Twin Peaks

Attachment: signature.asc
Description: OpenPGP digital signature

Index: etk/src/lib/etk_iconbox.c
===================================================================
--- etk/src/lib/etk_iconbox.c	(revision 39542)
+++ etk/src/lib/etk_iconbox.c	(working copy)
@@ -235,7 +235,7 @@
  */
 void etk_iconbox_current_model_set(Etk_Iconbox *iconbox, Etk_Iconbox_Model *model)
 {
-   if (!iconbox || (model && model->iconbox != iconbox))
+   if (!iconbox && (model && model->iconbox != iconbox))
       return;
 
    iconbox->current_model = model;
Index: edje/src/lib/edje_entry.c
===================================================================
--- edje/src/lib/edje_entry.c	(revision 39542)
+++ edje/src/lib/edje_entry.c	(working copy)
@@ -307,6 +307,8 @@
    clip = evas_object_clip_get(o);
    if (en->sel_start)
      range = evas_textblock_cursor_range_geometry_get(en->sel_start, en->sel_end);
+   else
+     return;
    if (eina_list_count(range) != eina_list_count(en->sel))
      {
 	while (en->sel)
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to