Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/engines/common Modified Files: evas_image_load.c evas_image_main.c Log Message: just spotted a bug - i think its efreet related, but this is to make sure it is or isnt as this struct was overwritten or seemingly pointing to an efreet data struct =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_image_load.c,v retrieving revision 1.39 retrieving revision 1.40 diff -u -3 -r1.39 -r1.40 --- evas_image_load.c 3 Mar 2007 09:04:47 -0000 1.39 +++ evas_image_load.c 22 Apr 2007 07:01:44 -0000 1.40 @@ -53,7 +53,7 @@ else if (!strcasecmp(p, "svg")) loader = "svg"; else if (!strcasecmp(p, "svgz")) - loader = "svgz"; + loader = "svg"; } if (loader) { =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_image_main.c,v retrieving revision 1.47 retrieving revision 1.48 diff -u -3 -r1.47 -r1.48 --- evas_image_main.c 16 Apr 2007 14:30:22 -0000 1.47 +++ evas_image_main.c 22 Apr 2007 07:01:44 -0000 1.48 @@ -287,6 +287,13 @@ if (im->info.key) evas_stringshare_del(im->info.key); // if (im->info.comment) evas_stringshare_del(im->info.comment); if (im->info.module) evas_module_unref((Evas_Module *)im->info.module); + /* memset the image to 0x99 because i recently saw a segv where an + * seemed to be used BUT its contents were wrong - it looks like it was + * overwritten by something from efreet - as there was an execute command + * for a command there and some other signs - but to make sure, I am + * going to empty this struct out in case this happens again so i know + * that something else is overwritign this struct - or not */ + memset(im, 0x99, sizeof(im)); free(im); } ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs