changelog, news and backport

Vincent

On Sat, Sep 8, 2012 at 6:12 PM, Enlightenment SVN
<no-re...@enlightenment.org> wrote:
> Log:
> ecore: Ecore_Con_Eet reset size when receiving an Eet_Data.
>
>
> Author:       cedric
> Date:         2012-09-08 09:12:34 -0700 (Sat, 08 Sep 2012)
> New Revision: 76345
> Trac:         http://trac.enlightenment.org/e/changeset/76345
>
> Modified:
>   trunk/ecore/src/lib/ecore_con/ecore_con_eet.c
>
> Modified: trunk/ecore/src/lib/ecore_con/ecore_con_eet.c
> ===================================================================
> --- trunk/ecore/src/lib/ecore_con/ecore_con_eet.c       2012-09-08 14:31:18 
> UTC (rev 76344)
> +++ trunk/ecore/src/lib/ecore_con/ecore_con_eet.c       2012-09-08 16:12:34 
> UTC (rev 76345)
> @@ -268,7 +268,6 @@
>  _ecore_con_eet_data(Ecore_Con_Reply *n, void *data, unsigned int size)
>  {
>     /* FIXME: Enforce detection of attack and kill connection on that case */
> -
>     if (n->buffer)
>       {
>          if (n->buffer_current + size > n->buffer_length)
> @@ -320,9 +319,13 @@
>                              return ;
>                           }
>                         _ecore_con_eet_reply_cleanup(n);
> +
> +                       size += protocol_length + section_length;
>                      }
>                 }
>            }
> +
> +        size += 4 * sizeof (unsigned int) + 2;
>       }
>
>     eet_connection_received(n->econn, data, size);
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to