Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/engines/common Modified Files: evas_image_main.c Log Message: most oops - dont strlen that buf! =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/engines/common/evas_image_main.c,v retrieving revision 1.26 retrieving revision 1.27 diff -u -3 -r1.26 -r1.27 --- evas_image_main.c 15 Jan 2006 06:21:04 -0000 1.26 +++ evas_image_main.c 15 Jan 2006 07:01:15 -0000 1.27 @@ -346,7 +346,8 @@ l2 = 0; if (im->info.key) l2 = strlen(im->info.key); // snprintf(buf, sizeof(buf), "%llx", im->timestamp); - l3 = strlen(buf); +// l3 = strlen(buf); + l3 = 0; key = alloca(l1 + 5 + l2 + 5 + l3 +1); key[0] = 0; // if (im->info.real_file) strcpy(key, im->info.real_file); ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs