backport in efl/

Vincent

On Fri, Oct 5, 2012 at 1:40 AM, Enlightenment SVN
<no-re...@enlightenment.org> wrote:
> Log:
> eet eet_connection.c: Added missing NULL check. Patch by Zbigniew Kosinski 
> <z.kosin...@samsung.com>
>
>   On Thu, Oct 4, 2012 at 9:12 PM, Zbigniew Kosinski <z.kosin...@samsung.com> 
> wrote:
>   > Hello,
>   >
>   > Please consider to add another NULL checks in eet lib:
>   >
>   > 1.      eet_data_descriptor_element_add - NULL check for data descriptor
>   > handle parameter.
>
> Author:       seoz
> Date:         2012-10-04 16:40:13 -0700 (Thu, 04 Oct 2012)
> New Revision: 77494
> Trac:         http://trac.enlightenment.org/e/changeset/77494
>
> Modified:
>   trunk/eet/src/lib/eet_connection.c
>
> Modified: trunk/eet/src/lib/eet_connection.c
> ===================================================================
> --- trunk/eet/src/lib/eet_connection.c  2012-10-04 23:30:35 UTC (rev 77493)
> +++ trunk/eet/src/lib/eet_connection.c  2012-10-04 23:40:13 UTC (rev 77494)
> @@ -185,6 +185,8 @@
>     int data_size;
>     Eina_Bool ret = EINA_FALSE;
>
> +   EINA_SAFETY_ON_NULL_RETURN_VAL(conn, EINA_FALSE);
> +
>     flat_data = eet_data_descriptor_encode_cipher(edd,
>                                                   data_in,
>                                                   cipher_key,
> @@ -204,6 +206,8 @@
>     int data_size;
>     Eina_Bool ret = EINA_FALSE;
>
> +   EINA_SAFETY_ON_NULL_RETURN_VAL(conn, EINA_FALSE);
> +
>     data = eet_data_node_encode_cipher(node, cipher_key, &data_size);
>     if (!data) return EINA_FALSE;
>     if (_eet_connection_raw_send(conn, data, data_size))
>
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to