[FIX] generate_maps_inst_msg() mem size eval 36/25536/1
authorAlexander Aksenov <a.aksenov@samsung.com>
Wed, 6 Aug 2014 16:23:12 +0000 (20:23 +0400)
committerAlexander Aksenov <a.aksenov@samsung.com>
Wed, 6 Aug 2014 16:23:12 +0000 (20:23 +0400)
Change-Id: Id4618d475eb22816e62e293615ea87f1949d4c16
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
daemon/da_inst.c

index 1eab6bb..47a597a 100644 (file)
@@ -590,7 +590,7 @@ static void generate_maps_inst_msg(struct user_space_inst_t *us_inst)
                p = app->app->exe_path;
                resolved = realpath((const char *)p, real_path_buf);
                if (resolved != NULL) {
-                       total_len += strlen(p) + 1;
+                       total_len += strlen(real_path_buf) + 1;
                        total_maps_count++;
                        LOGI("app #%u <%s>\n", total_maps_count, resolved);
                } else {