evas: backport r80808.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 13 Dec 2012 10:28:17 +0000 (10:28 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 13 Dec 2012 10:28:17 +0000 (10:28 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/branches/evas-1.7@80809 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

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

index e4f89f1..a81b2c9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
 
        * Fix uninitialized data in Evas_Smart initialization code.
        * Fix potential segv in software engine native_set call.
+       * Fix uninitialized data in OpenGL engine native_set call.
diff --git a/NEWS b/NEWS
index 17b6a19..088a162 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,7 @@ Fixes:
    * Fix the gl line incorrect position drawing.
    * Fix uninitialized data in Evas_Smart initialization code.
    * Fix potential segv in software engine native_set call.
+   * Fix uninitialized data in OpenGL engine native_set call.
 
 Evas 1.7.3
 
index ee19400..6b892be 100644 (file)
@@ -2206,7 +2206,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;