efl: fix an uninitialized data path in OpenGL engine.
authorCedric BAIL <cedric.bail@free.fr>
Thu, 13 Dec 2012 10:26:02 +0000 (10:26 +0000)
committerCedric BAIL <cedric.bail@free.fr>
Thu, 13 Dec 2012 10:26:02 +0000 (10:26 +0000)
SVN revision: 80808

ChangeLog
NEWS
src/modules/evas/engines/gl_x11/evas_engine.c

index d1ba56f..2d8a3ee 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2012-12-13  Cedric Bail
 
        * Fix potential segv in software engine native_set code.
+       * Fix uninitialized data in Evas OpenGL engine.
 
 2012-12-12  Daniel Willmann
 
diff --git a/NEWS b/NEWS
index 7d45502..2288d15 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -79,3 +79,4 @@ Fixes:
     * Fix possible buffer overflow in functions relying on EET_T_LAST
     * Fix possible memory corruption in xrandr EDID functions.
     * Fix potential segv in software engine native_set code.
+    * Fix uninitialized data in Evas OpenGL engine.
index dc538b5..9814d2b 100644 (file)
@@ -1868,7 +1868,7 @@ eng_image_native_set(void *data, void *image, void *native)
                       int pixmap_att[20], i;
                       int config_attrs[40], num = 0;
                       int tex_format = 0, tex_target = 0, yinvert = 0, mipmap = 0;
-                      unsigned int target;
+                      unsigned int target = 0;
                       GLXFBConfig *configs;
                       
                       i = 0;