Fixed the attachment string issue
authorjc47.park <jc47.park@samsung.com>
Thu, 27 Dec 2012 02:12:11 +0000 (11:12 +0900)
committerjc47.park <jc47.park@samsung.com>
Thu, 27 Dec 2012 02:12:11 +0000 (11:12 +0900)
composer/src/email-composer-attachment.c

index 5d8e0d1..5f64409 100755 (executable)
@@ -540,12 +540,12 @@ void _composer_attachment_add_filename(EmailComposerUGD *ugd, email_attachment_d
 
        int size = 0;
        char *file_name;
-       char file_string[128] = { 0, };
+       char file_string[256] = { 0, };
 
        if (ugd->attachment_list_compressed) {
                size = _composer_get_attachments_total_size(ugd);
 
-               char temp_name[16] = { 0, };
+               char temp_name[128] = { 0, };
                snprintf(temp_name, sizeof(temp_name), _("IDS_EMAIL_BODY_PD_ATTACHMENTS"), eina_list_count(ugd->attachment_item_obj_list));
                file_name = g_strdup(temp_name);
        } else {