+2012-12-13 Cedric Bail
+
+ * Fix potential segv in software engine native_set code.
+
2012-12-12 Daniel Willmann
* Fix possible buffer overflow in functions relying on EET_T_LAST.
* Fix the gl line incorrect position drawing.
* 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.
Evas_Native_Surface *ns = native;
Image_Entry *im = image, *im2 = NULL;
- if (!im)
- {
- if ((ns) && (ns->data.x11.visual))
- {
- im = evas_cache_image_data(evas_common_image_cache_get(),
- im->w, im->h,
- ns->data.x11.visual, 1,
- EVAS_COLORSPACE_ARGB8888);
- return im;
- }
- else
- return NULL;
- }
-
- if ((!ns) && (!im)) return im;
+ if (!im || !ns) return im;
if (!ns) return im;