ecore: backport r77340.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 3 Oct 2012 06:00:56 +0000 (06:00 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 3 Oct 2012 06:00:56 +0000 (06:00 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/branches/ecore-1.7@77341 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

AUTHORS
ChangeLog
NEWS
src/lib/ecore/ecore_thread.c

diff --git a/AUTHORS b/AUTHORS
index 83bc535..1ab381b 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -53,3 +53,4 @@ Haifeng Deng <haifeng.deng@samsung.com>
 Jérémy Zurcher <jeremy@asynk.ch>
 Vikram Narayanan <vikram186@gmail.com>
 Patryk Kaczmarek <patryk.k@samsung.com>
+Daniel Willmann <d.willmann@samsung.com>
index 5fc5852..6f2df29 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
 
        * Fix ecore_imf buf in the ibus module where it may segv
        accessing a wrong context handle.
-              
+
+2012-10-02  Daniel Willmann
+
+       * Fix memory allocation size in ecore_thread_feedback()
+
diff --git a/NEWS b/NEWS
index 79e57cf..8397a8c 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,7 @@ Fixes:
     * ecore_file_escape_name() escape taba nd newline right.
     * ecore_x_image_is_argb32_get() returns correctly given endianness.
     * ecore_imf ibus module potential segv fixed.
+    * ecore_thread_feedback() memory allocation and corruption fixed.
     
 Changes since Ecore 1.2.0:
 --------------------------
index 87688ed..5c6880b 100644 (file)
@@ -1107,7 +1107,7 @@ ecore_thread_feedback(Ecore_Thread *thread,
         Ecore_Pthread_Message *msg;
         Ecore_Pthread_Notify *notify;
 
-        msg = malloc(sizeof (Ecore_Pthread_Message*));
+        msg = malloc(sizeof (Ecore_Pthread_Message));
         if (!msg) return EINA_FALSE;
         msg->data = data;
         msg->callback = EINA_FALSE;