INFO_SECURE("path : %s", path);
- if (access(path, F_OK) == 0)
+ if (path && access(path, F_OK) == 0)
__bt_open_file(path);
else
_bt_create_info_popup(ad, BT_STR_FILE_NOT_EXIST);
path = info->file_path;
INFO_SECURE("path : %s", path);
- if (access(path, F_OK) == 0) {
+ if (path && access(path, F_OK) == 0) {
if (g_str_has_prefix(path, BT_CONTACT_SHARE_TMP_DIR) == TRUE)
/* TODO: change to proper string when UX is updated */
_bt_create_info_popup(ad, BT_STR_FILE_NOT_EXIST);