2012/2/14 Enlightenment SVN <no-re...@enlightenment.org>:
> Log:
> hey cedric.. let's not segv shall we?
>
>
>
> Author:       raster
> Date:         2012-02-14 07:03:12 -0800 (Tue, 14 Feb 2012)
> New Revision: 67938
> Trac:         http://trac.enlightenment.org/e/changeset/67938
>
> Modified:
>  trunk/edje/src/lib/edje_program.c
>
> Modified: trunk/edje/src/lib/edje_program.c
> ===================================================================
> --- trunk/edje/src/lib/edje_program.c   2012-02-14 15:02:57 UTC (rev 67937)
> +++ trunk/edje/src/lib/edje_program.c   2012-02-14 15:03:12 UTC (rev 67938)
> @@ -873,9 +873,11 @@
>  {
>    Edje_Message_Signal emsg;
>    const char *sep;
> -   Eina_Bool broadcast = ed->collection->broadcast_signal;
> +   Eina_Bool broadcast;
>
> +   if (!ed->collection) return;

A quick look shows that the code was working without a collection before.
We are not missing any case by just returning now, are we?

>    if (ed->delete_me) return;
> +   broadcast = ed->collection->broadcast_signal;
>
>    sep = strchr(sig, EDJE_PART_PATH_SEPARATOR);
>
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to