fix possible use of uninit buffer in edje_cc error output.
authorraster <raster>
Mon, 20 Aug 2012 07:46:51 +0000 (07:46 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 20 Aug 2012 07:46:51 +0000 (07:46 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@75449 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/edje_cc_out.c

index 5da6292..9d2e585 100644 (file)
@@ -695,6 +695,7 @@ data_thread_image(void *data, Ecore_Thread *thread __UNUSED__)
      }
    else
      {
+        snprintf(buf, sizeof(buf), "edje/images/%i", iw->img->id);
         snprintf(buf2, sizeof(buf2),
                  "Unable to load image part "
                  "\"%s\" as \"%s\" part entry to "