origin patch: http://165.213.149.170/gerrit/#/c/117027/
Change-Id: Id06195657eeb7a0a343b5a52c30b8b5c269c8c00
Signed-off-by: sihoons.yang <sihoons.yang@samsung.com>
return NULL;
char id[10];
- snprintf(id, strlen(id), "%d", TEST_AUTOFILL_PROFILE_ID);
+ snprintf(id, sizeof(id)/sizeof(id[0]), "%d", TEST_AUTOFILL_PROFILE_ID);
ewk_autofill_profile_data_set(profile, EWK_PROFILE_ID, id);
ewk_autofill_profile_data_set(profile, EWK_PROFILE_NAME, TEST_AUTOFILL_PROFILE_NAME);
ewk_autofill_profile_data_set(profile, EWK_PROFILE_COMPANY, TEST_AUTOFILL_PROFILE_COMPANY);