Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_x


Modified Files:
        ecore_x_window_prop.c 


Log Message:


dont segv if get text prop fails and stack has garbage on it

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_x/ecore_x_window_prop.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -3 -r1.71 -r1.72
--- ecore_x_window_prop.c       10 Jun 2005 04:18:24 -0000      1.71
+++ ecore_x_window_prop.c       25 Jun 2005 00:15:19 -0000      1.72
@@ -242,7 +242,7 @@
    if (XGetTextProperty(_ecore_x_disp, win, &xtp, type))
      {
        int      items;
-       char   **list;
+       char   **list = NULL;
        Status   s;
        
        if (xtp.encoding == ECORE_X_ATOM_UTF8_STRING)




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to